List and retrieve diffs with detailed revision information

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

{
    "id": 1052032,
    "revision": {
        "id": 477232,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "605deddad76418c81983691828bd0ba2fc0f231d",
        "head_changeset": "0ec2ad6346c67b9cc3b90f8af4f9aa323274c29a",
        "phabricator_id": 252323,
        "phabricator_phid": "PHID-DREV-dp4vaezo52krai3feens",
        "title": "Bug 1964652 - Store EWS server versions, and use them in requests. r=edicharry,#thunderbird-back-end-reviewers",
        "bugzilla_id": 1964652,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477232/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477232/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252323"
    },
    "phid": "PHID-DIFF-2axiyh5pjtnjpxd5mxhz",
    "review_task_id": "MHmpuS36RxmrS9qtA6MFfQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "e657d7a42b2ca76049dcf551f22547210bff787e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052032/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T17:07:28.678893Z"
}