List and retrieve diffs with detailed revision information

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

{
    "id": 1109304,
    "revision": {
        "id": 516885,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7fed0a3528ef27b3a504543436fd0c7ba2548b21",
        "head_changeset": "85d7b511657511920b97d6130653ed8af172e32c",
        "phabricator_id": 261903,
        "phabricator_phid": "PHID-DREV-yh42itinxpzakeyfkltl",
        "title": "Bug 1983973 [Wayland] Use synced release of wp_image_description_v1 r?emilio",
        "bugzilla_id": 1983973,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516885/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516885/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261903"
    },
    "phid": "PHID-DIFF-573rel5y3yzmk3wxrkr4",
    "review_task_id": "D_aBTLNZQsKDuh2iGUvQxQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "85d7b511657511920b97d6130653ed8af172e32c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109304/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T10:51:54.565555Z"
}