List and retrieve diffs with detailed revision information

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

{
    "id": 1054388,
    "revision": {
        "id": 476114,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3314b8ee5e84a00af9776ab1cd91eeadb4b86512",
        "head_changeset": "075fe5791488f146e99eab2049987d2ce1c879e1",
        "phabricator_id": 250844,
        "phabricator_phid": "PHID-DREV-mkeagrwjcy4uhi7whafx",
        "title": "Bug 1956812 - Remove redundant clear search button in about:config r=#geckoview-reviewers",
        "bugzilla_id": 1956812,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476114/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476114/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250844"
    },
    "phid": "PHID-DIFF-6nxm6dd7yyr6o27ww3u7",
    "review_task_id": "XvGAG4sFT7CijP2HoO_pbQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "175bc3a430ec4eb0378dfe19eafa24e36972430c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054388/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T15:15:51.777346Z"
}