List and retrieve diffs with detailed revision information

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

{
    "id": 1112300,
    "revision": {
        "id": 521392,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f67cbbc5349802aec4a7bbc6bd0db992d5ea827b",
        "head_changeset": "e4f56f6267ef40e3190d158b4ebdac49b9efcd7c",
        "phabricator_id": 262674,
        "phabricator_phid": "PHID-DREV-umpa6frpmmof6neprhco",
        "title": "Bug 1985382 - Reorganize PerfSpewer to split the debug entries and IR file generation. r?iain",
        "bugzilla_id": 1985382,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521392/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521392/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262674"
    },
    "phid": "PHID-DIFF-fzzg6adicweaibuljowe",
    "review_task_id": "TkL0AbSfSKyhjiHYsiwwVw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e4f56f6267ef40e3190d158b4ebdac49b9efcd7c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112300/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T21:20:58.053374Z"
}