List and retrieve diffs with detailed revision information

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

{
    "id": 1049654,
    "revision": {
        "id": 475382,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3aad2d80901885259e22872b987a5cc418fb7a20",
        "head_changeset": "35fef07293c147d3349b30efa91b18432f633ce7",
        "phabricator_id": 249835,
        "phabricator_phid": "PHID-DREV-lai3zlamg2fd4jdfzms7",
        "title": "WIP: Bug 1966752 - Collect telemetry about third-party pkcs11 module signatures on macOS",
        "bugzilla_id": 1966752,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475382/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475382/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249835"
    },
    "phid": "PHID-DIFF-lg4vatkenljn3oxtctnu",
    "review_task_id": "LoW2aPTkQwe_UcDDnI2cpQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3dd35b96c0de320b2c4cf9adde4a0a64e231f6af",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049654/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T00:26:17.784650Z"
}