List and retrieve diffs with detailed revision information

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

{
    "id": 1089215,
    "revision": {
        "id": 496817,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2817cf330783b8d0464c4b34ef21c27e14a94e84",
        "head_changeset": "1027ada507549f720a427f6e52f8f3e706e3aee0",
        "phabricator_id": 257662,
        "phabricator_phid": "PHID-DREV-aigk3jy5o2ccgjyq34zo",
        "title": "Bug 1975706 - Add sync request pagination to the EWS test server. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1975706,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496817/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496817/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257662"
    },
    "phid": "PHID-DIFF-wpc6oburuvidnjjx52tl",
    "review_task_id": "Dt8-BMC3Rh66bww71rlZPQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9d87888e750b9ebbeabae7574c7cac436f9500e8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089215/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T04:45:04.351617Z"
}