List and retrieve diffs with detailed revision information

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

{
    "id": 1046910,
    "revision": {
        "id": 471835,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "022eec0e7af02e0a574dd5451e7fdee9c12fd636",
        "head_changeset": "1257f1262d6e2f4c136f80aff1f0ce838c49d2f9",
        "phabricator_id": 244702,
        "phabricator_phid": "PHID-DREV-tev4eimxj5y5eeozdkrp",
        "title": "Bug 1957633 - QM: Rationalize QuotaManager::UpdateOriginAccessTime arguments; r=#dom-storage",
        "bugzilla_id": 1957633,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471835/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471835/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244702"
    },
    "phid": "PHID-DIFF-khyt7rtbwrtdehf35rwp",
    "review_task_id": "UUDgYQ5iSZCymLI0RZpT_g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9d707656862987604bf42839b5e48e5a2d1e494a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1046910/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T06:28:20.732714Z"
}