List and retrieve diffs with detailed revision information

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

{
    "id": 1029391,
    "revision": {
        "id": 474032,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f938bfec8eaa4237a812c44fac0d23861af4eae",
        "head_changeset": "bdf1e695b40f28117f4f8e3d4530201aa1b7c369",
        "phabricator_id": 247836,
        "phabricator_phid": "PHID-DREV-7yilxqje5cjfv3k55pxj",
        "title": "Bug 1894123 - wasm: Use a more general approach for branch hinting.",
        "bugzilla_id": 1894123,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474032/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474032/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247836"
    },
    "phid": "PHID-DIFF-ptxt6m2tkhvhfzaq2krz",
    "review_task_id": "W53u4Lp7Q2u_FCtxeHE-Dw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "580a180e97c67d82753ce8b82e6e5389653afd82",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1029391/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-07T21:59:30.058645Z"
}