List and retrieve diffs with detailed revision information

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

{
    "id": 1071267,
    "revision": {
        "id": 481949,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0a0fdf753fd6369dbc7c72b7d34b2a94b5438acd",
        "head_changeset": "7de0d15575a4a681b99b19666dc2ab1a14ad095c",
        "phabricator_id": 254308,
        "phabricator_phid": "PHID-DREV-sohkdlokgugu6vrvwo4y",
        "title": "WIP: Bug 1970687 - Use the new EventTarget dedicated to DevTools",
        "bugzilla_id": 1970687,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481949/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481949/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254308"
    },
    "phid": "PHID-DIFF-duoomiqzoep42v4t6456",
    "review_task_id": "BMrRsr66SXaALONY_fc8ug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "29e9e33fc10e6cc6d652d2f386b7cd3e3f5253e7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1071267/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-24T10:27:35.499712Z"
}