List and retrieve diffs with detailed revision information

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

{
    "id": 1104174,
    "revision": {
        "id": 510655,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9e9469c6aa0d81d1eb919e3c2ddaedb5a7ccfa36",
        "head_changeset": "0d9a310c8e18859efeb8cfeea5cf39e9b2444660",
        "phabricator_id": 260695,
        "phabricator_phid": "PHID-DREV-44wkwduj7lq2z2wy5tpu",
        "title": "Bug 1982380 - Change nsStyleStructList.h and nsCSSVisitedDependentPropList.h to use higher-order macros. r=emilio",
        "bugzilla_id": 1982380,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510655/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510655/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260695"
    },
    "phid": "PHID-DIFF-zamtka62bujzjhl773y2",
    "review_task_id": "NMhwpHTzQAC4PQQpjt4Lhw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0d9a310c8e18859efeb8cfeea5cf39e9b2444660",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104174/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T16:01:02.937244Z"
}