List and retrieve diffs with detailed revision information

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

{
    "id": 1048954,
    "revision": {
        "id": 463939,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d4371465982dfa17147909c585a516b7389e0751",
        "head_changeset": "423c703b0cf30f518806f8a01141b783783e2283",
        "phabricator_id": 240281,
        "phabricator_phid": "PHID-DREV-w7w36r7rmrxw2bngz4ei",
        "title": "WIP: Bug 1944507 - pt 4. Move chunk header structures to chunk.h",
        "bugzilla_id": 1944507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/463939/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/463939/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D240281"
    },
    "phid": "PHID-DIFF-m6khaiprtnhm5b3sel3j",
    "review_task_id": "Nsou3_-4R7e1YuzixXJVoA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "08c00e0af703437f82702d314b88084ddca4029a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048954/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T05:33:01.426829Z"
}