List and retrieve diffs with detailed revision information

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

{
    "id": 1077222,
    "revision": {
        "id": 489912,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1b5f3082ab4dc186c6d95d5244c645ded83ef8a7",
        "head_changeset": "de3da39e4eb764a404f1e80d8f68e249db943be4",
        "phabricator_id": 255914,
        "phabricator_phid": "PHID-DREV-onxquld4w4zmkr4aqyhp",
        "title": "Bug 1973633 - MIR: further improvements to jit::DumpMIR{Graph,Block,Definition}.  r=bvisness.",
        "bugzilla_id": 1973633,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489912/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489912/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255914"
    },
    "phid": "PHID-DIFF-77lun6i5fe66kvhe56lp",
    "review_task_id": "cjkAiWT9RAmGcH_gyUZS2A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "de3da39e4eb764a404f1e80d8f68e249db943be4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077222/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T06:50:54.926837Z"
}