List and retrieve diffs with detailed revision information

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

{
    "id": 1070772,
    "revision": {
        "id": 478598,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e0425420b9753ca147b80bcd2eaed7da364471f7",
        "head_changeset": "4beb28c3aeb55ed8a760701d1319600718427271",
        "phabricator_id": 253670,
        "phabricator_phid": "PHID-DREV-gshjcq4ugihcgoalf5fh",
        "title": "Bug 1971848 - Keep download in storage when it fails",
        "bugzilla_id": 1971848,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478598/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478598/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253670"
    },
    "phid": "PHID-DIFF-jdlwewuih2depgivpwrs",
    "review_task_id": "WxNqffL8RC-2PRaeyE2Gqw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5e19c1f4bb2e0d0e41f95a5264ff2d91575d939f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1070772/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T16:53:40.427074Z"
}