List and retrieve diffs with detailed revision information

GET /v1/diff/1040346/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1040346,
    "revision": {
        "id": 475132,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "748a40af5d6cafa11eaea4eea979fb3d4fa24c09",
        "head_changeset": "6686e860d09e002483b754262ab180fb533332ef",
        "phabricator_id": 249030,
        "phabricator_phid": "PHID-DREV-rbx5mpsl5pjznkhqhhoe",
        "title": "WIP: Bug 1966146 - Implement \"More\" menu group for the main menu.",
        "bugzilla_id": 1966146,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475132/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475132/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249030"
    },
    "phid": "PHID-DIFF-25u6gugtnharnob2mtzf",
    "review_task_id": "aSXiRRcITFi94CSREttTYA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "14dbdc4a6330b25ba3698d4872cdd32a36acd614",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040346/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T23:09:26.013882Z"
}