List and retrieve diffs with detailed revision information

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

{
    "id": 1086711,
    "revision": {
        "id": 492503,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8d7a829ae5af10926e5f8673066e69d3a3646fc3",
        "head_changeset": "c118a2a3f83f04507600b7898cc8484e3f58841b",
        "phabricator_id": 256530,
        "phabricator_phid": "PHID-DREV-7btgujtbkj2ayhncac7v",
        "title": "WIP: Bug 1976318 - Update IP Protection toolbar icon and add states",
        "bugzilla_id": 1976318,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492503/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492503/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256530"
    },
    "phid": "PHID-DIFF-m756gean6duzchsh7qaq",
    "review_task_id": "F-RET_R4ThWRRCWGZWc0Cg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "95cf4219ec2ce78a96ace7933aac48f4d27719af",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086711/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T21:14:31.799712Z"
}