List and retrieve diffs with detailed revision information

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

{
    "id": 1106562,
    "revision": {
        "id": 513829,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a678ec376450cf56285b4baa38afa6cdf31a847a",
        "head_changeset": "d6dc4e822f06c7b8a5d9777ec48ec9f72741e7bb",
        "phabricator_id": 261267,
        "phabricator_phid": "PHID-DREV-jswpjtgtxfoe37njpuz7",
        "title": "Bug 1971388 - replace tabgroup activate telemetry with activate_expanded and activate_collapsed depending on group state. r?sthompson,jswinarton",
        "bugzilla_id": 1971388,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513829/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513829/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261267"
    },
    "phid": "PHID-DIFF-wjdyepe34xd64eqhilnx",
    "review_task_id": "GE06mKSWQkS6n8xDK0LvQw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d6dc4e822f06c7b8a5d9777ec48ec9f72741e7bb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1106562/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-15T16:50:16.455938Z"
}