List and retrieve diffs with detailed revision information

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

{
    "id": 1113118,
    "revision": {
        "id": 521364,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "10e39f36744c0a32df28d75a282ee8ed51953be9",
        "head_changeset": "3ddb693b7188ee0e6a7eb03c1edc69c896e9f09b",
        "phabricator_id": 262653,
        "phabricator_phid": "PHID-DREV-63hs4yollwdbgy63zdap",
        "title": "Bug 1985354 - add docs describing how `mach try` pushes to Lando r?sylvestre",
        "bugzilla_id": 1985354,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521364/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521364/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262653"
    },
    "phid": "PHID-DIFF-qp6w6jrvpbh364zyowng",
    "review_task_id": "YLQi4sklQQ6ik8gMz0qI0g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "06984624c10ea0cadd63f6c75354582514076c74",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1113118/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T19:42:55.409754Z"
}