List and retrieve diffs with detailed revision information

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

{
    "id": 1095874,
    "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-ewbcbggruoajjurocr4x",
    "review_task_id": "KnqRyLNURVyHoDkkDDf7jw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "501314e6d278a262dd4dd3d17a6d4a3612c19749",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095874/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-25T13:02:38.977300Z"
}