List and retrieve diffs with detailed revision information

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

{
    "id": 1066951,
    "revision": {
        "id": 478095,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b9db740296cb865e6672a5ad7a01efc94c926189",
        "head_changeset": "397a2567096a9e5ab50a8524127a3a03e51e5345",
        "phabricator_id": 253285,
        "phabricator_phid": "PHID-DREV-ttnxfau3f4czqekxnc57",
        "title": "Bug 1970771 - enable 8-bit output option when GPU doesn't support 16-bit image.",
        "bugzilla_id": 1970771,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478095/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478095/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253285"
    },
    "phid": "PHID-DIFF-g3qd5vyyzh7duapicejv",
    "review_task_id": "AK6KzzsBTY-tZwrAT--Rxg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "92de418c0196fa4c97da6d74c2ef21cec5f43819",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066951/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-21T06:17:59.736382Z"
}