List and retrieve diffs with detailed revision information

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

{
    "id": 1099754,
    "revision": {
        "id": 505366,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "92c36006941ce1846a37e1613c0b7dc9e68f9466",
        "head_changeset": "1cea04c335d94a01c66c3d98151bc0969c80c16c",
        "phabricator_id": 259622,
        "phabricator_phid": "PHID-DREV-epi7ncvw3q4oi7h7pnnk",
        "title": "Bug 1980284 - Check Nimbus to potentially place the screenshots button after initialization. r?niklas!",
        "bugzilla_id": 1980284,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505366/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505366/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259622"
    },
    "phid": "PHID-DIFF-uoz4tfvx45frjxlkyv7i",
    "review_task_id": "fiVwX6AVS02bIWzBIGBuJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1cea04c335d94a01c66c3d98151bc0969c80c16c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099754/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T17:34:42.539755Z"
}