List and retrieve diffs with detailed revision information

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

{
    "id": 1077411,
    "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-chijn2x42mgkov4eajpe",
    "review_task_id": "KKy58EGbTK2DCV0mU_FbIg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9e3c33c6834dd9401370c483a1cb3295a87aaef2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077411/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T13:41:53.747359Z"
}