List and retrieve diffs with detailed revision information

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

{
    "id": 1108330,
    "revision": {
        "id": 498442,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3838fe2e7d86e21e9366b046379f3c12282d198d",
        "head_changeset": "327146863be777cce2048ccc13f796cdafc1cbcf",
        "phabricator_id": 257941,
        "phabricator_phid": "PHID-DREV-uverqk2v23ck2o6ijb63",
        "title": "WIP: Bug 1978232 - Enable batch encoding in MFTEncoder",
        "bugzilla_id": 1978232,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/498442/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/498442/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257941"
    },
    "phid": "PHID-DIFF-af3f3eqdxxw2ykk4yo5r",
    "review_task_id": "eay0PcKmTOKrOmxg9L0ixQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a6eb82fe137be6175cd3f19e79500dfee30f91f0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108330/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T00:26:31.502951Z"
}