List and retrieve diffs with detailed revision information

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

{
    "id": 1117183,
    "revision": {
        "id": 517096,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "989430e2a6c3d2d600f568b5c79d9095bf26ed20",
        "head_changeset": "e295803b23c69f0370d461c57a7647700952db26",
        "phabricator_id": 261967,
        "phabricator_phid": "PHID-DREV-x4aefw4axsewkkbc476t",
        "title": "Bug 1984372 - Inform the user when we're waiting for an EWS server. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1984372,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517096/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517096/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261967"
    },
    "phid": "PHID-DIFF-wzukv45asyguyjds7u34",
    "review_task_id": "GfNPouf0TKWK3MGeAeR99A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "cbd70d7874f52d3bb3eaf3bb3f0a376efcf81e67",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1117183/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-04T18:08:25.975522Z"
}