List and retrieve diffs with detailed revision information

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

{
    "id": 1080267,
    "revision": {
        "id": 492753,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "191b3c14d0ae380494ccff3303c3b37c787022ec",
        "head_changeset": "5fc920da3fd8e228acd3aa9f467db212ec818459",
        "phabricator_id": 256597,
        "phabricator_phid": "PHID-DREV-xsvpqlthaohxyoxj4c4y",
        "title": "Bug 1976254 - Look up SRV records when performing Microsoft Autodiscover. r=#thunderbird-reviewers",
        "bugzilla_id": 1976254,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492753/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492753/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256597"
    },
    "phid": "PHID-DIFF-irf4n2ns5ndh7yhl4vsf",
    "review_task_id": "MIOHRkD-QaKaet4tjWIVhw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b4058c5381a41cd844ec41278b5b925dabfcb684",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080267/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T16:47:02.985086Z"
}