List and retrieve diffs with detailed revision information

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

{
    "id": 1112245,
    "revision": {
        "id": 518619,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3109cc48fd95920c7d40587efd0e082ef203f304",
        "head_changeset": "3018faa14a2b0d5f7a123ce68fd1a4e282c9aaa8",
        "phabricator_id": 262190,
        "phabricator_phid": "PHID-DREV-2xkaawoiz7sr2snm3wnt",
        "title": "Bug 1979145 - Create QrScanActivity and QrScanFenixFeature to move QR Scanning functionality to an Activity based flow.",
        "bugzilla_id": 1979145,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518619/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518619/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262190"
    },
    "phid": "PHID-DIFF-ifvt3fi3v6rumlix27gg",
    "review_task_id": "Uq6jqcgmRXKaKPOY2ahJ9A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e4cc75fb81418ce5796a7e7048dac2f773dfe5fc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112245/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T21:14:02.983385Z"
}