List and retrieve diffs with detailed revision information

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

{
    "id": 1046906,
    "revision": {
        "id": 469563,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ad897c9ce8e33475f9879586a6815d5bb0e97b8d",
        "head_changeset": "6789fb2111027246a0ad6f10cb21a0b006377f05",
        "phabricator_id": 241938,
        "phabricator_phid": "PHID-DREV-4g4vka3wb5ig3jvwgpqe",
        "title": "Bug 1928254 - pt 6. Improve the idle purge markers r=jstutte",
        "bugzilla_id": 1928254,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/469563/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/469563/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D241938"
    },
    "phid": "PHID-DIFF-36awpvn77smogquqbmsj",
    "review_task_id": "b5MvtmjHTfC7uTS9Kr5c7g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9fffe33f07c6fcfb6da683f6ded6b11efce314df",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1046906/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T06:14:55.432231Z"
}