List and retrieve diffs with detailed revision information

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

{
    "id": 1108322,
    "revision": {
        "id": 515735,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "46b830b8da634ea57c29d3bb51442f9e98960277",
        "head_changeset": "75226afbc81588ed556cd3e9f9d9691dbd94112a",
        "phabricator_id": 261492,
        "phabricator_phid": "PHID-DREV-n77w2prflbexy3wgvbv7",
        "title": "WIP: Bug 1978232 - Correct InitPromise's return for some encoder implementations",
        "bugzilla_id": 1978232,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515735/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515735/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261492"
    },
    "phid": "PHID-DIFF-mgbg65ynkr5ayggbgfhj",
    "review_task_id": "RcOE_GrOQ2uFfOMZmbO0tA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d21beca5190245653f459ab14d171de889d6c8c0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108322/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T00:33:56.206166Z"
}