List and retrieve diffs with detailed revision information

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

{
    "id": 1076543,
    "revision": {
        "id": 489401,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ccad2105e9f4e70daca56290dcc9c028fdd90749",
        "head_changeset": "a4b5e12c3b41a6ae8e416e571d88f59e9b9d3bb0",
        "phabricator_id": 255776,
        "phabricator_phid": "PHID-DREV-6wu5f3yrbczkxwoom6he",
        "title": "Bug 1975127 - Get rid of `nsIHTMLEditor.rebuildDocumentFromSource()` in Thunderbird. r=john.bieling",
        "bugzilla_id": 1975127,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489401/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489401/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255776"
    },
    "phid": "PHID-DIFF-s26qhzgtdifuz3jqvygx",
    "review_task_id": "OBCRB4W_Qu-My-M2rPr2IA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a4b5e12c3b41a6ae8e416e571d88f59e9b9d3bb0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076543/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T10:55:55.346024Z"
}