List and retrieve diffs with detailed revision information

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

{
    "id": 1108346,
    "revision": {
        "id": 507358,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ac8e5b5b460aa8d7bf572421396f3e8b62eee94f",
        "head_changeset": "84e4cd27ac2a96f09c72cd93ba4cf76ea10832b7",
        "phabricator_id": 260120,
        "phabricator_phid": "PHID-DREV-oefyl2raxlctldfhv43f",
        "title": "WIP: Bug 1981098 - Add UI for fetching and viewing server certificates in the account manager.",
        "bugzilla_id": 1981098,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507358/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507358/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260120"
    },
    "phid": "PHID-DIFF-x22fdjmgnwv4ljziu2ju",
    "review_task_id": "NxkTvsuLTni-SvPZurEc-Q",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "fdbb2df997ad13f7d0250a8cfaeea6037b16d1dc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108346/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T01:25:10.566988Z"
}