List and retrieve diffs with detailed revision information

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

{
    "id": 1072336,
    "revision": {
        "id": 485248,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "af095fbba257bf8e683b6445b5b494e777443473",
        "head_changeset": "7ceaf5e813676e22b72bd305fb2f25b27410dae2",
        "phabricator_id": 254970,
        "phabricator_phid": "PHID-DREV-av3citm4xwhzkqslmhi3",
        "title": "Bug 1972573 - Download file should be deleted from the storage when it fails after being paused.",
        "bugzilla_id": 1972573,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485248/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485248/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254970"
    },
    "phid": "PHID-DIFF-oauk56hlbozzc4lxph6b",
    "review_task_id": "H8AyKprSQwy4fKWN8_G6YQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7ceaf5e813676e22b72bd305fb2f25b27410dae2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072336/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T15:32:55.539081Z"
}