List and retrieve diffs with detailed revision information

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

{
    "id": 1103080,
    "revision": {
        "id": 508984,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a4fcd08c524d853567c8d83997160666b69b26fd",
        "head_changeset": "7d9f27bd58fc1238257aa174e34c89cf24f5e8d0",
        "phabricator_id": 260428,
        "phabricator_phid": "PHID-DREV-64txb4mn7brjbca4wxwy",
        "title": "Bug 1981921 - Bump the minimum supported version of GCC to 10.",
        "bugzilla_id": 1981921,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508984/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508984/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260428"
    },
    "phid": "PHID-DIFF-pqm7wvpghfw65yl7jcy5",
    "review_task_id": "NsZY-x9eRnmVW9tdvpDHzw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7d9f27bd58fc1238257aa174e34c89cf24f5e8d0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103080/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-08T07:26:36.517542Z"
}