List and retrieve diffs with detailed revision information

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

{
    "id": 1079628,
    "revision": {
        "id": 492355,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "34286ef9fa60431a6928c68b46c61f982316ac1f",
        "head_changeset": "258c2fde03424c50dc8da8ef93c7923148a05ca3",
        "phabricator_id": 256490,
        "phabricator_phid": "PHID-DREV-rwi5bp356oiynihm5a2b",
        "title": "Bug 1973720 - Correctly sort in app notifications by percent_chance. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1973720,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492355/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492355/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256490"
    },
    "phid": "PHID-DIFF-liaipwxc2crmqvv3wuys",
    "review_task_id": "QhIv01ZgRs-3ZZBD2T2qTg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "258c2fde03424c50dc8da8ef93c7923148a05ca3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079628/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T17:32:36.635929Z"
}