List and retrieve diffs with detailed revision information

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

{
    "id": 1075582,
    "revision": {
        "id": 488525,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "195338ae12bf09874a844c32a2b697e7e0f31eef",
        "head_changeset": "7c0ac42d8476cfc65f908fbd98a1a2de9ddf4ede",
        "phabricator_id": 255362,
        "phabricator_phid": "PHID-DREV-newuwaro6ttcxe2helzj",
        "title": "Bug 1948761 - Part 3: Add open other app intents to QrScannerDelegate",
        "bugzilla_id": 1948761,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488525/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488525/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255362"
    },
    "phid": "PHID-DIFF-rkqw3kgc4fki74blwjbk",
    "review_task_id": "HiVqvXFITN2cwbs8HpW_xA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c88e3c31370fbb4d6652ffbad9d38e6dea85deae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075582/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T22:54:08.338617Z"
}