List and retrieve diffs with detailed revision information

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

{
    "id": 1078929,
    "revision": {
        "id": 491593,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "12b9d1b9d4f16d2279ee824e2819c9437465c31b",
        "head_changeset": "51aa0871fc924812e1a39b1fa355cd9e5e3add90",
        "phabricator_id": 256327,
        "phabricator_phid": "PHID-DREV-kezym52dvvbr4vqshj6z",
        "title": "WIP: Bug 1957214 - Remove comment that is no longer accurate from Prompter.sys.mjs",
        "bugzilla_id": 1957214,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491593/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491593/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256327"
    },
    "phid": "PHID-DIFF-n5kgwkgxh2sgxvbwbaxm",
    "review_task_id": "FdqMy5lkTYyjGngqk_ISDw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "51aa0871fc924812e1a39b1fa355cd9e5e3add90",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078929/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T18:11:57.204153Z"
}