List and retrieve diffs with detailed revision information

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

{
    "id": 1104146,
    "revision": {
        "id": 499491,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "526d26fa05e45dbd1fe2adec5f1b3d4581915429",
        "head_changeset": "505a029cc66f7940d0ba3208048c2cd80efd6b24",
        "phabricator_id": 258302,
        "phabricator_phid": "PHID-DREV-rvsi3w4codpdbkrffle3",
        "title": "WIP: Bug 1967540: BoundStorageKeyCacheStorage and BoundStorageKeyCache to use new CacheOpChild ctor taking in MozProme.r=Edenchuang,asuth",
        "bugzilla_id": 1967540,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/499491/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/499491/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258302"
    },
    "phid": "PHID-DIFF-qrsacqyuiraicz35hptc",
    "review_task_id": "esWCOGYhSoGPQqh4jTPCGw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "696cc3f1bbaa78396d007123783d5e30ee087e60",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104146/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T14:54:26.820703Z"
}