List and retrieve diffs with detailed revision information

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

{
    "id": 1075926,
    "revision": {
        "id": 488131,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "20752a132d3ef0a638ba66e1dc16a812c13e7ead",
        "head_changeset": "71fc457f873f55df3fe00092c9b1f37cadcbec64",
        "phabricator_id": 255465,
        "phabricator_phid": "PHID-DREV-jh4sytmagw6gol7titd5",
        "title": "Bug 1974672 - Avoid pathological atom table GC behavior. r=smaug,#xpcom-reviewers",
        "bugzilla_id": 1974672,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488131/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488131/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255465"
    },
    "phid": "PHID-DIFF-732ytrdjbojt5hlrk3kv",
    "review_task_id": "UhhGU9v-ShqWWbrrT9AOBA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d22dda6781b6162a7da4a64b01cfc4e68a3eb18c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075926/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T11:28:51.637071Z"
}