List and retrieve diffs with detailed revision information

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

{
    "id": 1080072,
    "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-yxlocgun75mn5qlzmrjb",
    "review_task_id": "LnGmZb3HQzi6rg7jV3a7vg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "5fc920da3fd8e228acd3aa9f467db212ec818459",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080072/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T11:46:46.993709Z"
}