List and retrieve diffs with detailed revision information

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

{
    "id": 1115257,
    "revision": {
        "id": 517097,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "989430e2a6c3d2d600f568b5c79d9095bf26ed20",
        "head_changeset": "5d799fc97c6f1f7a26bf70d3220c7d6e05693dc0",
        "phabricator_id": 261968,
        "phabricator_phid": "PHID-DREV-pq5jfri54mrntt73eelz",
        "title": "WIP: Bug 1984378 - Ignore ErrorItemNotFound errors when deleting an EWS folder. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1984378,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517097/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517097/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261968"
    },
    "phid": "PHID-DIFF-ij6zuerifs52xfe36427",
    "review_task_id": "LLulU0xfSI-0GmaFqLobCA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "d74222a8e5892057affabe53cadf2ffcd5926893",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1115257/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-02T11:27:49.243320Z"
}