List and retrieve diffs with detailed revision information

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

{
    "id": 1117964,
    "revision": {
        "id": 520023,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b71102f99a605a5ff46391f22f8164f494209c8",
        "head_changeset": "a903f39a4b9820217ec05bc9896ce253c1a6bdb8",
        "phabricator_id": 262392,
        "phabricator_phid": "PHID-DREV-omv5e2x2y6gpmaaom6xs",
        "title": "WIP: Bug 1983320 - Enable ML-DSA integration via OIDs support and SECMOD flag",
        "bugzilla_id": 1983320,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520023/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520023/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262392"
    },
    "phid": "PHID-DIFF-be32xmaw5iwhlrv74pfx",
    "review_task_id": "bRomJRvWSe-KZMFfXUfwSQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "164ea8afc8d339c802e3c946fc77d9aeaa86ea3f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1117964/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-05T18:55:17.665364Z"
}