List and retrieve diffs with detailed revision information

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

{
    "id": 1052415,
    "revision": {
        "id": 477287,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a6da45c1502658b07d0bf6bd079725d1687670d7",
        "head_changeset": "7a3fa44fda9ed1af5fc2f52d5547614e8cf51d45",
        "phabricator_id": 252377,
        "phabricator_phid": "PHID-DREV-mdf2cuiabqcjvnufb3bl",
        "title": "Bug 1970160 - part 2: wasm: Fix the return offset of the JIT entry epilogue. r=rhunt",
        "bugzilla_id": 1970160,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477287/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477287/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252377"
    },
    "phid": "PHID-DIFF-4jzehcomrr6e7krv6o7d",
    "review_task_id": "IfOHpMHMQQ6MqKB04qK3lw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8929adeefe821a194efcd9f9f1348c988d24a2f2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052415/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T03:17:20.517208Z"
}