List and retrieve diffs with detailed revision information

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

{
    "id": 1089789,
    "revision": {
        "id": 496348,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2ff20cd9fb05da8d52a898853c24ffac72860cd4",
        "head_changeset": "5032ca1549f7d009f5e0b46785f3ca8b36700262",
        "phabricator_id": 257513,
        "phabricator_phid": "PHID-DREV-lrb742wvwcpsjv4smjua",
        "title": "Bug 1973507: Use added the cached storage to skip anchor lookups whenever possible. r=#anchor-positioning-reviewers,#layout",
        "bugzilla_id": 1973507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496348/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496348/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257513"
    },
    "phid": "PHID-DIFF-peg3k562etal5mrs4en4",
    "review_task_id": "AywWZrmUSRewdVSU0UxPgg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "64e8ca3a31c663691e256a2fee4d235b8951af59",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089789/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T13:36:17.566998Z"
}