List and retrieve diffs with detailed revision information

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

{
    "id": 1110337,
    "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-7mm3oatppoxsu2h7sgdq",
    "review_task_id": "TDel4M35Th68vcVGgKx9Zw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cfcc2ff34d667be4a3b0b052143a5d3dda79fcd2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110337/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-22T16:57:32.260074Z"
}