List and retrieve diffs with detailed revision information

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

{
    "id": 1058390,
    "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-lkf5cdoxotjovltwrbwe",
    "review_task_id": "A65ZAJGkT-uWD_-loM1zKQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "81ecadbfe5e7faeae26d8e56964496962606f643",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058390/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T14:12:53.320751Z"
}