List and retrieve diffs with detailed revision information

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

{
    "id": 1094153,
    "revision": {
        "id": 478243,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d512a7dc07966a573b72f64a7bf5da340892de51",
        "head_changeset": "f26af11f3f569c8bd4685126e5405762be33262f",
        "phabricator_id": 253470,
        "phabricator_phid": "PHID-DREV-h6jhtffrw5fce4hhdj66",
        "title": "WIP: Bug 1950055 - Make MappedFileWriter usable without the DELETE access right in our zucchini vendoring. r=bobowen",
        "bugzilla_id": 1950055,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478243/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478243/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253470"
    },
    "phid": "PHID-DIFF-pzli55a62nmwdxknc6uw",
    "review_task_id": "cYiTGaMFQW6AmPiAIqN6jg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "12534a8e166c61be9b2282125b550e8a1e78820e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094153/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T10:03:38.404713Z"
}