List and retrieve diffs with detailed revision information

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

{
    "id": 1077558,
    "revision": {
        "id": 490270,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d553d11c7acfd3832bfd3cad314e1c963bf01ff",
        "head_changeset": "3818213590f3b832ad70808b85ae49a3bc64bbf9",
        "phabricator_id": 181445,
        "phabricator_phid": "PHID-DREV-nwdp5dmw2syaw76evp2h",
        "title": "Bug 1760078 - Wait for the cache to be cleared.",
        "bugzilla_id": 1760078,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490270/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490270/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D181445"
    },
    "phid": "PHID-DIFF-gccqwdv2o2fqdmpvpx4k",
    "review_task_id": "LprtwaB2R4m5gnBzhHOYLA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7daaa01a5e3918eac0fef00cdbc20bf5411fb12a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077558/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T16:46:50.468057Z"
}