List and retrieve diffs with detailed revision information

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

{
    "id": 1082370,
    "revision": {
        "id": 494399,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4031593033c0833fd362eb8e1c04f9aac163d5a2",
        "head_changeset": "16147dce580015343da8b55e1fc3a7a55ab276d6",
        "phabricator_id": 257086,
        "phabricator_phid": "PHID-DREV-tngoucnzgux2ldnurkoa",
        "title": "Bug 1968967 - Always set the TreeView.currentIndex before the TreeSelection._selection is updated. r=#thunderbird-reviewers,darktrojan!",
        "bugzilla_id": 1968967,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494399/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494399/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257086"
    },
    "phid": "PHID-DIFF-mwanemac5lmeggj5agke",
    "review_task_id": "ZPIr42CNRVq6wD_0iU8LVQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a87e8c4aea03846ebd44fc74d4337112b424a9d3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1082370/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T14:10:07.173605Z"
}