List and retrieve diffs with detailed revision information

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

{
    "id": 1076685,
    "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-p5rkmrhtf7gho7yhceci",
    "review_task_id": "DypQsJrURIKb3HM8isn4YA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "872ec3b9958743f99fcbf6504c6d8b4ae4fda39f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076685/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T14:29:39.149067Z"
}