List and retrieve diffs with detailed revision information

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

{
    "id": 1078355,
    "revision": {
        "id": 491128,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "e19751c0c75f62ffc9a1a00646ddc9e487cfa0bf",
        "head_changeset": "904c6342a09bcb8d68bbdf26a15c547dd191ed9b",
        "phabricator_id": 256158,
        "phabricator_phid": "PHID-DREV-j2wp4nn6n3vrfnvj6nnq",
        "title": "Bug 1975809 - Port Bug 1959777 - Cargo.lock: Update self_cell to 1.2.0 and various fluent crates to compatible versions. r=#thunderbird-reviewers",
        "bugzilla_id": 1975809,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491128/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491128/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256158"
    },
    "phid": "PHID-DIFF-eocwaowgesddngbrzdwa",
    "review_task_id": "MqyuYoCZR1e_6qrgqdNiqw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "904c6342a09bcb8d68bbdf26a15c547dd191ed9b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078355/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-05T05:09:08.872858Z"
}