List and retrieve diffs with detailed revision information

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

{
    "id": 1078317,
    "revision": {
        "id": 490979,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "c1944a965577bfb83a754aa1beb739f47b87c663",
        "head_changeset": "5ace879dd6a95df475f87cac39be16aedb66bae3",
        "phabricator_id": 256148,
        "phabricator_phid": "PHID-DREV-vrnlscvsrvnlfbkrjq6j",
        "title": "Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=#thunderbird-reviewers",
        "bugzilla_id": 1878375,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490979/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490979/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256148"
    },
    "phid": "PHID-DIFF-qqb4sfxw7odvzawzafpg",
    "review_task_id": "OqzTMj_2RxmvwhK4ttTvuw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "5ace879dd6a95df475f87cac39be16aedb66bae3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078317/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T22:12:43.505255Z"
}