List and retrieve diffs with detailed revision information

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

{
    "id": 1111344,
    "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-isn5nd7x2q4owgstwdn6",
    "review_task_id": "LlvK0M2QTpmdQ5hLTQVCAQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d12ceecbaf2f69a504d4f986dd14d96568f3b7ca",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111344/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T20:42:49.950945Z"
}