List and retrieve diffs with detailed revision information

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

{
    "id": 1056348,
    "revision": {
        "id": 478061,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "743f1b9d5b0d194d566de3f57ea6f18b9ad8bee2",
        "head_changeset": "4eb208080f2b6ecfeab5bc2b934acaee92309b15",
        "phabricator_id": 253241,
        "phabricator_phid": "PHID-DREV-xnulkofqz4w54gl3qlqd",
        "title": "Bug 1966952: Remove unused JS telemetry probes: JS_PAGELOAD_EXECUTION_MS, JS_PAGELOAD_DELAZIFICATION_MS, JS_PAGELOAD_XDR_ENCODING_MS, JS_PAGELOAD_BASELINE_COMPILE_MS, JS_PAGELOAD_GC_MS, JS_PAGELOAD_PARSE_MS, JS_PAGELOAD_PROTECT_MS. r=mgaudet!",
        "bugzilla_id": 1966952,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478061/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478061/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253241"
    },
    "phid": "PHID-DIFF-adfz6k5l24te34p37fwo",
    "review_task_id": "IvSJTOcUTQe8-xohjuCgxA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "71b96f2280a9353501437685d81257ee9a82f78c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056348/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T00:36:33.063572Z"
}