List and retrieve diffs with detailed revision information

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

{
    "id": 1056823,
    "revision": {
        "id": 478154,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a9918b18d344437626c294c99f2cf6568b238e32",
        "head_changeset": "64ce89a6c738889038e260a3be5ac668fbcea609",
        "phabricator_id": 253351,
        "phabricator_phid": "PHID-DREV-l2zmrmfrlwxv5kbg2ia5",
        "title": "Bug 1971558 - Schedule rendering the offscreen frame as soon as it is built. r=#gfx-reviewers",
        "bugzilla_id": 1971558,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478154/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478154/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253351"
    },
    "phid": "PHID-DIFF-ovrhw4rmm6t5rwxinaof",
    "review_task_id": "Z73onum2SIG3-eGI7ex91A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "64ce89a6c738889038e260a3be5ac668fbcea609",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056823/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T15:38:23.430440Z"
}