List and retrieve diffs with detailed revision information

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

{
    "id": 1051771,
    "revision": {
        "id": 476169,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f99f43c2fd606bfa2dba825377e3e424309e42e2",
        "head_changeset": "a6b7ae73b5d4ae0ab413799b7c99ff0722008329",
        "phabricator_id": 250902,
        "phabricator_phid": "PHID-DREV-caoorfekisl4urnlasw4",
        "title": "Bug 1968194 - Make sure to fire navigate event when History.go is called. r=smaug!",
        "bugzilla_id": 1968194,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476169/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476169/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250902"
    },
    "phid": "PHID-DIFF-rb6edgjakejn6wkb4bn6",
    "review_task_id": "HcZHXGl6TpytK1HzxQfofA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b70caeb689ba2113192cc47723e5b1ab84f39d17",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051771/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T12:48:34.508935Z"
}