List and retrieve diffs with detailed revision information

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

{
    "id": 1059390,
    "revision": {
        "id": 479872,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "80a930d914b33d18842e8af76103e6dc1ffc4031",
        "head_changeset": "130480903d056d54ffcba32784e67ecabecd3a67",
        "phabricator_id": 253841,
        "phabricator_phid": "PHID-DREV-dqoc3breshvmh77qp6mw",
        "title": "Bug 1886299 - set the test.wait300msAfterTabSwitch preference before the first call to BrowserTestUtils.openNewForegroundTab in browser_contextmenu_sendpage.js, r=jmaher.",
        "bugzilla_id": 1886299,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479872/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479872/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253841"
    },
    "phid": "PHID-DIFF-zud5dbepycplxxcmdmz3",
    "review_task_id": "BFXz-tlJT9C_MuuukK30HA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "130480903d056d54ffcba32784e67ecabecd3a67",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059390/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:41:52.546364Z"
}