List and retrieve diffs with detailed revision information

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

{
    "id": 1070882,
    "revision": {
        "id": 478326,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "669e086a277f1c78e65988837f286b32266b4501",
        "head_changeset": "074e6a23a6865137f34db2c5d3bb8652b71ff9c9",
        "phabricator_id": 253554,
        "phabricator_phid": "PHID-DREV-u6fmtqh6hstub7dsremo",
        "title": "Bug 1971563 - Triggering a download with the same name as failed download will show on downloads screen",
        "bugzilla_id": 1971563,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478326/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478326/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253554"
    },
    "phid": "PHID-DIFF-gcmcbhmrdke33r6rpt4y",
    "review_task_id": "WI2599RvR2Kmx8zS9ZnWvQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "89236448833bf6401e0f204b5496c245a0e359b6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1070882/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T19:38:41.525616Z"
}