List and retrieve diffs with detailed revision information

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

{
    "id": 1056121,
    "revision": {
        "id": 478031,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6ff447fe04d291f2c02561e62b96e651cbbbea4b",
        "head_changeset": "003889c2c16acb7b9f903b615c9741d43aa9f52b",
        "phabricator_id": 253207,
        "phabricator_phid": "PHID-DREV-7pede5bwfs2yjm36z3xv",
        "title": "Bug 1971369 - Use constexpr for cell arrays in nsNativeThemeCocoa. r=#mac-reviewers",
        "bugzilla_id": 1971369,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478031/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478031/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253207"
    },
    "phid": "PHID-DIFF-ua7hd63kuweylnqgvnxu",
    "review_task_id": "K2lDgC49SVKuZmA4xAbYTg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "003889c2c16acb7b9f903b615c9741d43aa9f52b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056121/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T18:07:12.805426Z"
}