List and retrieve diffs with detailed revision information

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

{
    "id": 1030084,
    "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-bhmtzvui3rbdbxqf33nu",
    "review_task_id": "TVqcHx4wTLSLy5LeicMEmQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "60f03691b60395d0c7ac0c34b65ce118d1869995",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1030084/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-08T21:38:28.262335Z"
}