List and retrieve diffs with detailed revision information

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

{
    "id": 1087349,
    "revision": {
        "id": 486716,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ecb9de093bdc813dd7e11b920a7f9138c9da1f",
        "head_changeset": "6ce3b4e4d1e058e1f716b21872f088f7659cedde",
        "phabricator_id": 255299,
        "phabricator_phid": "PHID-DREV-6kkwjk3tymn2jjmkbeoc",
        "title": "Bug 1973033 - Part 4: Add maxSizeClass parameter to bumpAlloc r?sfink",
        "bugzilla_id": 1973033,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486716/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486716/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255299"
    },
    "phid": "PHID-DIFF-vtkxgiwj6p2uzl2zoud6",
    "review_task_id": "UjS8e_q4TI28xatCfupsUQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c6090e4695ed64f5d299afe299758d06234e8f41",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087349/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T17:20:03.052760Z"
}