List and retrieve diffs with detailed revision information

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

{
    "id": 1112191,
    "revision": {
        "id": 521329,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "73d4d5bff6cd1bc4c69709e6fc5d64cbb94fbf6a",
        "head_changeset": "d4eef8167f94ff2a97c10bf305aaaf2c2804de55",
        "phabricator_id": 262630,
        "phabricator_phid": "PHID-DREV-wgf7ytex3pdnik3gjty7",
        "title": "Bug 1982672 - Create feature highlight for widgets",
        "bugzilla_id": 1982672,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521329/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521329/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262630"
    },
    "phid": "PHID-DIFF-t2u4djxhc24ecgplokcr",
    "review_task_id": "Nc-zgz3gT_61Yo-gYQoM-w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d4eef8167f94ff2a97c10bf305aaaf2c2804de55",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112191/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T19:27:00.234693Z"
}