List and retrieve diffs with detailed revision information

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

{
    "id": 1051212,
    "revision": {
        "id": 476950,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "aea59150edbd57ef1f3240c34eaf6d5e2b1e85de",
        "head_changeset": "a391407a94561bf8fb819dc7db489319fa9a462d",
        "phabricator_id": 251962,
        "phabricator_phid": "PHID-DREV-nv7ei5jjwk7mxvhwlsch",
        "title": "Bug 1906051 - [puppeteer] Update test expectations for browsingContext.historyUpdated",
        "bugzilla_id": 1906051,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476950/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476950/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251962"
    },
    "phid": "PHID-DIFF-poi447ffdsxs7gpbvaxp",
    "review_task_id": "TMDuP7XxQH2V9lsmHUFHKQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "687326afad300bf26af70432563e5c57c56a5fdf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051212/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T17:18:47.238223Z"
}