List and retrieve diffs with detailed revision information

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

{
    "id": 1053459,
    "revision": {
        "id": 477559,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5d81b94eed5370610d796912b0de4740cee8934d",
        "head_changeset": "ce6510ece263a5a33d51f91143ebb99f5c6fa5f6",
        "phabricator_id": 252658,
        "phabricator_phid": "PHID-DREV-ivwkoifdjyes5ttfkzu6",
        "title": "Bug 1970622 - Update crossbeam-channel to 0.5.15 r=#supply-chain-reviewers",
        "bugzilla_id": 1970622,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477559/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477559/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252658"
    },
    "phid": "PHID-DIFF-a2m53jh24kwwufr562rb",
    "review_task_id": "d0NernmCTNa3ZW_hDxALFw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ce6510ece263a5a33d51f91143ebb99f5c6fa5f6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053459/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T12:50:34.774536Z"
}