List and retrieve diffs with detailed revision information

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

{
    "id": 1108340,
    "revision": {
        "id": 515767,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c51cabb2e48997969eb68ba245067238fbe46ec",
        "head_changeset": "b764e806cea59fd9fab6be12e427f77786239ca7",
        "phabricator_id": 261244,
        "phabricator_phid": "PHID-DREV-eckqks7e6kkiwhoroo73",
        "title": "Bug 1983221 - Mark async generator with completed and with-requests as invalid. r?mgaudet!",
        "bugzilla_id": 1983221,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515767/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515767/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261244"
    },
    "phid": "PHID-DIFF-hu4knsggnqaozmspmj6x",
    "review_task_id": "WY7qJuUhQ0SvHvA-bD4hAQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b764e806cea59fd9fab6be12e427f77786239ca7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108340/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T01:00:25.225497Z"
}