List and retrieve diffs with detailed revision information

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

{
    "id": 1035359,
    "revision": {
        "id": 474403,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "18ff5bc77b84ceb8b4b98c73f1ba287aec9a31a5",
        "head_changeset": "583b565cc917c889e3c4f01cd43299a223b57c06",
        "phabricator_id": 243726,
        "phabricator_phid": "PHID-DREV-jlcjnbiqajwd5t37a3dn",
        "title": "WIP: Bug 1948979 - Add support for renaming EWS folders",
        "bugzilla_id": 1948979,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474403/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474403/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D243726"
    },
    "phid": "PHID-DIFF-cpb3n6xvekgw6ik4q4zw",
    "review_task_id": "EPs9rNIjTpGnEC8VB6rQXA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "8ec0b9d7ceab0db98901b24b1edff67ab6973ac2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035359/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T15:21:58.336792Z"
}