List and retrieve diffs with detailed revision information

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

{
    "id": 1058379,
    "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-ntge5d3rq67xz22kuyuy",
    "review_task_id": "K0tZJE5WTRGKiHtuhUrZXQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f80fab96aa1f4593d476441b9aed09fecd1a1434",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058379/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T14:02:18.842071Z"
}