List and retrieve diffs with detailed revision information

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

{
    "id": 1109309,
    "revision": {
        "id": 516886,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7fed0a3528ef27b3a504543436fd0c7ba2548b21",
        "head_changeset": "60b697550e4cc8a583e4e9fe403b485ee6863796",
        "phabricator_id": 261902,
        "phabricator_phid": "PHID-DREV-hmjxqeeuv5obmvtvf6ar",
        "title": "Bug 1984310 - Restrict :heading(<An+B>#) to :heading(<integer>#) r?#dom-core,emilio",
        "bugzilla_id": 1984310,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516886/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516886/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261902"
    },
    "phid": "PHID-DIFF-yfnmmj2n4qarqyhgkedf",
    "review_task_id": "MLEypT0QTBymYw9CNcv1_w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "725e39e32b5dd186e64dd5af203c5e948c197562",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109309/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T11:00:09.718665Z"
}