List and retrieve diffs with detailed revision information

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

{
    "id": 1073229,
    "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-rkmtoiq2bfv73ubkob37",
    "review_task_id": "Ty7pKp7USPKEz3H0HJv74A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5b8e1917f409a7e675bb450066d30a428ce77bf6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073229/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T10:38:21.922311Z"
}