List and retrieve diffs with detailed revision information

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

{
    "id": 1106071,
    "revision": {
        "id": 513223,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0a5fc8db79ed7e73b2f6a17855cda9a6c842bdae",
        "head_changeset": "06f0219580cba8c563738ed56b28c9f36e4e1f13",
        "phabricator_id": 257932,
        "phabricator_phid": "PHID-DREV-kqidgkzfuzzxnoihjngg",
        "title": "Bug 1978229 - Stop passing alignment around to nsTArray_base. r=nika!",
        "bugzilla_id": 1978229,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513223/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513223/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257932"
    },
    "phid": "PHID-DIFF-37e75m4jhphnlucc3rsw",
    "review_task_id": "PUfpKfKuSMCHELpNVXF4gw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "06f0219580cba8c563738ed56b28c9f36e4e1f13",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1106071/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T15:47:28.765312Z"
}