List and retrieve diffs with detailed revision information

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

{
    "id": 1078482,
    "revision": {
        "id": 491232,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1fdf8d8bdb2b440a5d39166972c890435595f183",
        "head_changeset": "2ee3a9b24ea993a757c80c9ed4cdde75b285375d",
        "phabricator_id": 256167,
        "phabricator_phid": "PHID-DREV-q4hp4cl7sofkrmm5ja4k",
        "title": "WIP: Bug 1964037 - Add a warning when using SetDelay on a one shot timer. r?#xpcom-reviewers",
        "bugzilla_id": 1964037,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491232/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491232/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256167"
    },
    "phid": "PHID-DIFF-j3r4ebzkizou57bykz24",
    "review_task_id": "L2_c7WBMTaajJj_ma-wgTw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e533b10a3f64f47f238a2a677ddde9fbd49deded",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078482/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-06T15:07:10.211479Z"
}