List and retrieve diffs with detailed revision information

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

{
    "id": 1064399,
    "revision": {
        "id": 480792,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4e627844eb83e8a7d523dce33416974019a60f8c",
        "head_changeset": "b34e21c32f040cd45ad02b94f2b2d3e2dc41d9dc",
        "phabricator_id": 254052,
        "phabricator_phid": "PHID-DREV-2r3rohl7i5vwpnk6wnf2",
        "title": "Bug 1971864 - Introduction of @RequiresOptIn Annotations for AC and GV",
        "bugzilla_id": 1971864,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480792/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480792/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254052"
    },
    "phid": "PHID-DIFF-imubla2hlzf7plzjmfzq",
    "review_task_id": "UoZ8vykvR3eaTSkZSmDF1A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9c1c033a87af0f508bdab3091c315f01426d3957",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064399/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T20:02:18.764665Z"
}