List and retrieve diffs with detailed revision information

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

{
    "id": 1109454,
    "revision": {
        "id": 509649,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "62b93e0936e577dc3983b93027e7212a88bb0d38",
        "head_changeset": "3f6c521e2d1ebd91ee8e81bec3ca2c24ed9f50ec",
        "phabricator_id": 260520,
        "phabricator_phid": "PHID-DREV-vio2d2q7dhiv2iqzoxoh",
        "title": "Bug 1979115 - autofix desktop theme border-radius linting errors r=#anti-tracking-reviewers,#profiles-reviewers,#translations-reviewers,#backup-reviewers",
        "bugzilla_id": 1979115,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/509649/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/509649/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260520"
    },
    "phid": "PHID-DIFF-n6jafpminerbcalzzhif",
    "review_task_id": "PX92lHpfRPm5oN_0QIs_Lg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5ed5424a33293398acbe494157c99e4ca3665d81",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109454/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T15:12:00.178769Z"
}