List and retrieve diffs with detailed revision information

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

{
    "id": 1108427,
    "revision": {
        "id": 514467,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "26a4b3bbf1f2411870927b34a12ecbd0b0f51bda",
        "head_changeset": "1b51ddba470c3cf4033d0e4ab59877ed9ced4fdf",
        "phabricator_id": 261405,
        "phabricator_phid": "PHID-DREV-v5ejrsvrw7pfo2mxrq3r",
        "title": "Bug 1983499 - part 3: [mips64] Sign-extend 32-bit operands in atomic operations. r=jandem",
        "bugzilla_id": 1983499,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514467/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514467/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261405"
    },
    "phid": "PHID-DIFF-7afzx536oce6vvvz2vm7",
    "review_task_id": "IejUFu8fSLOEzMVqFhNETg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a433317cf69d04b14436fc9806bee03a2f719d38",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108427/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T03:50:51.007794Z"
}