List and retrieve diffs with detailed revision information

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

{
    "id": 1056346,
    "revision": {
        "id": 478071,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "743f1b9d5b0d194d566de3f57ea6f18b9ad8bee2",
        "head_changeset": "1b17f4b13e36c06a709602bf058df5987987e7f7",
        "phabricator_id": 253259,
        "phabricator_phid": "PHID-DREV-6ywakuodz4o2apmvtw2a",
        "title": "Bug 1970973 - part1 : add a method to advance more than 32 bits for BitReader.",
        "bugzilla_id": 1970973,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478071/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478071/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253259"
    },
    "phid": "PHID-DIFF-3zq4dirl75vt5svuebsb",
    "review_task_id": "UibM1Ug-QnGFbrRK8Z0pOQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1b17f4b13e36c06a709602bf058df5987987e7f7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056346/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T00:33:36.962451Z"
}