List and retrieve diffs with detailed revision information

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

{
    "id": 1081422,
    "revision": {
        "id": 489952,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6a5f04caea9013b56efabd808ff96e1634cd4ace",
        "head_changeset": "5afa579fcf8ae4d5aaeab12da4f8602bb25a95e6",
        "phabricator_id": 255923,
        "phabricator_phid": "PHID-DREV-66ate7rcetdxqguq7zjr",
        "title": "Bug 1975381 - Part 1: Allow array destructuring declarations in self-hosting code. r=#spidermonkey-reviewers!",
        "bugzilla_id": 1975381,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489952/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489952/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255923"
    },
    "phid": "PHID-DIFF-bw2hdwtwlrpiubxvtnnh",
    "review_task_id": "LtOjTA5fRM-zujeSy9jkIQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e07c38e0a209c978c2b2f71089eac3fe17c750b1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081422/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T10:38:38.099572Z"
}