List and retrieve diffs with detailed revision information

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

{
    "id": 1072043,
    "revision": {
        "id": 485051,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f9cb86503200aeba4431776494c4e69ed53c31c8",
        "head_changeset": "f33b2f65a8e99a0fc50230f5af3e093a090f41d2",
        "phabricator_id": 201323,
        "phabricator_phid": "PHID-DREV-uv3yycuiuokxouivilry",
        "title": "WIP: Bug 957054 - Don't preload scripts with unknown type",
        "bugzilla_id": 957054,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485051/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485051/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D201323"
    },
    "phid": "PHID-DIFF-2btrd5mklittpaqpbb5n",
    "review_task_id": "JjmxPLtcSumKpHZ10R5pJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f33b2f65a8e99a0fc50230f5af3e093a090f41d2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072043/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T05:59:59.531204Z"
}