List and retrieve diffs with detailed revision information

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

{
    "id": 1039138,
    "revision": {
        "id": 475531,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4a523505fb86d262d33a40e92ce80198f1301f71",
        "head_changeset": "fe49ba2b6851100b5ea2816677edd7c0dcdd5894",
        "phabricator_id": 249974,
        "phabricator_phid": "PHID-DREV-qitcgmqwdspe5d3ymhih",
        "title": "Bug 1820252 - Ensure all Translations actors are shutdown aware r=#translations-reviewers",
        "bugzilla_id": 1820252,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475531/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475531/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249974"
    },
    "phid": "PHID-DIFF-klbtyhe6g4uiqva65wao",
    "review_task_id": "fdM7UyJ9SZefAGcbpLzLfg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7c682db7805de1cc3674861acb7217caf979bf14",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039138/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T22:44:49.940356Z"
}