List and retrieve diffs with detailed revision information

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

{
    "id": 1050718,
    "revision": {
        "id": 475025,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "39ecf83472f80f18340afaced9f7e67185127041",
        "head_changeset": "5c42d2fae854da550088e20869031a8577c8e9ed",
        "phabricator_id": 249214,
        "phabricator_phid": "PHID-DREV-pdzg32p7ozzlutnqr52c",
        "title": "Bug 1965839 - Extract the picture case from the main batching match statement. r=#gfx-reviewers",
        "bugzilla_id": 1965839,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475025/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475025/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249214"
    },
    "phid": "PHID-DIFF-h72f4u2dkhtfyvdokxkx",
    "review_task_id": "V8e32PKdR0qosFont4AeaA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "36615937e109f176f8bf8276c7e9bd99b78e28c0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050718/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T09:18:06.358562Z"
}