List and retrieve diffs with detailed revision information

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

{
    "id": 1052105,
    "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-rkrkqrgeomyf5gkubpdu",
    "review_task_id": "L7SC99k2RiuDlcdGKbDpNw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7a3fa44fda9ed1af5fc2f52d5547614e8cf51d45",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052105/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T18:39:38.818623Z"
}