List and retrieve diffs with detailed revision information

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

{
    "id": 1088127,
    "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-zqgqbyevwh5j3uiwg2xt",
    "review_task_id": "WflOixZ0TFW8H8iv1L8D4g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6c25e7b19de058396c49d111ec6d9d3ed2b28784",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088127/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T15:09:33.401773Z"
}