List and retrieve diffs with detailed revision information

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

{
    "id": 1111303,
    "revision": {
        "id": 518454,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85278cff23b35a7a9333e4192df9851173f472ab",
        "head_changeset": "cfcc2ff34d667be4a3b0b052143a5d3dda79fcd2",
        "phabricator_id": 262172,
        "phabricator_phid": "PHID-DREV-mtq24ib64v7q23z6ineq",
        "title": "Bug 1903865 - Include the Firefox version in the user agent string of the crash reporter r=gsvelto",
        "bugzilla_id": 1903865,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518454/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518454/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262172"
    },
    "phid": "PHID-DIFF-lnfmecynynvsav3jvgbc",
    "review_task_id": "a9rHXRAOTXKnvH3Ct47tQg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1c21db41c20bdedcb0ca119d097059c7b6435ed8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111303/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T19:06:29.831439Z"
}