List and retrieve diffs with detailed revision information

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

{
    "id": 1104938,
    "revision": {
        "id": 511594,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "35f08993eef054b2f79282d1446ce7b5de67c3de",
        "head_changeset": "c350cdbc54a47087d12a434e8673ff3cd1f05f6e",
        "phabricator_id": 260863,
        "phabricator_phid": "PHID-DREV-5f7baabas4obaypgcbwn",
        "title": "Bug 1982645 - Update nimbus feature localNetworkAccess with network.lna.blocking and network.lna.enabled. r=#necko",
        "bugzilla_id": 1982645,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511594/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511594/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260863"
    },
    "phid": "PHID-DIFF-quv5wqip3khfg2ksl6sb",
    "review_task_id": "a6MCXwrKT8yySCTyK83IJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c350cdbc54a47087d12a434e8673ff3cd1f05f6e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104938/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T18:52:55.381691Z"
}