List and retrieve diffs with detailed revision information

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

{
    "id": 1056122,
    "revision": {
        "id": 478032,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2ff3d300b605dc6bd1bf96fc7fe3554ac361b7f3",
        "head_changeset": "e0e57309f320893e76ce8f0e9e871ca19aae50ab",
        "phabricator_id": 253208,
        "phabricator_phid": "PHID-DREV-n5xvtglymchuglpv5ncl",
        "title": "Bug 1971369 - Use stronger types in cocoa rendering code. r=#mac-reviewers",
        "bugzilla_id": 1971369,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478032/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478032/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253208"
    },
    "phid": "PHID-DIFF-nhprn3kl54w6thtcuoav",
    "review_task_id": "CDoeJgp3SqiSPVAF4Q6L5g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e0e57309f320893e76ce8f0e9e871ca19aae50ab",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056122/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T18:09:13.312296Z"
}