List and retrieve diffs with detailed revision information

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

{
    "id": 1105978,
    "revision": {
        "id": 504747,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eb2b9607e7b8f901ada02bb6ed7113a0a6640833",
        "head_changeset": "f5aa6f18bc0385897237ed6aacf050e3d5551b15",
        "phabricator_id": 259462,
        "phabricator_phid": "PHID-DREV-2s5lhkflfnp6mgfyhhxp",
        "title": "Bug 1973509: Mark anchor positioned frames for reflow after layout. r=#anchor-positioning-reviewers",
        "bugzilla_id": 1973509,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/504747/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/504747/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259462"
    },
    "phid": "PHID-DIFF-labkeouozi36aatxuk7k",
    "review_task_id": "FwFv-NhoRmWldEIBla_1MA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d9a75f843af815d85f50cb8359712e0ba934ebe2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105978/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T13:44:30.145074Z"
}