List and retrieve diffs with detailed revision information

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

{
    "id": 1081963,
    "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-i4aj2h62no6bunpnaax5",
    "review_task_id": "APXmaPgCR-WTZ89dcc7qkg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "16147dce580015343da8b55e1fc3a7a55ab276d6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081963/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-12T00:21:06.976051Z"
}