List and retrieve diffs with detailed revision information

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

{
    "id": 1053093,
    "revision": {
        "id": 476804,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8785a90a9efa90ee97994cd54042af8c5372a4e6",
        "head_changeset": "09cd4fb9f395bd3f20807e8597eb84d4ecf1e654",
        "phabricator_id": 251754,
        "phabricator_phid": "PHID-DREV-hgcaym7shrjh6jntaygc",
        "title": "Bug 1703469: Use operand for callee in scripted setters r=jandem",
        "bugzilla_id": 1703469,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476804/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476804/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251754"
    },
    "phid": "PHID-DIFF-l3jmfpcyktmnk6fbnqdp",
    "review_task_id": "bRhgYxqaTQK656Lz_uXvUg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "26e3fe2b4957f72e1b5d0e800c232fb937fba49e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053093/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T20:56:09.598197Z"
}