List and retrieve diffs with detailed revision information

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

{
    "id": 1092696,
    "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-tu3nlabvfn72ivg4w37w",
    "review_task_id": "YUb7hNFATvi8cIY7Z7cq7g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "567d562970de5bb98e3fa8e7d25fb1a630f3e174",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1092696/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T19:01:36.628830Z"
}