List and retrieve diffs with detailed revision information

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

{
    "id": 1089293,
    "revision": {
        "id": 493914,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5105fd7a90059a98cfefcfffe9e40664895a19ae",
        "head_changeset": "731241617855fd34e8c4531ddf4687f130d39300",
        "phabricator_id": 256964,
        "phabricator_phid": "PHID-DREV-g367lzkzvkxfguzwlznc",
        "title": "Bug 1976826 - Part 3: Remove encoded sizes and replace with an allocation end bitmap r?sfink",
        "bugzilla_id": 1976826,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493914/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493914/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256964"
    },
    "phid": "PHID-DIFF-5vfp7quhzjncbe6bjvmv",
    "review_task_id": "SyifnkxRQgemC33EDN_itQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a3c1cadea12b794f99b3c36faade6bc83039352e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089293/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T08:31:56.296570Z"
}