List and retrieve diffs with detailed revision information

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

{
    "id": 1053587,
    "revision": {
        "id": 477547,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "af27f60b54383ab819d67e4d5c2b415e3fa8b078",
        "head_changeset": "fa5ee62386bbf38e73061447d62d9e4649499180",
        "phabricator_id": 252640,
        "phabricator_phid": "PHID-DREV-leyteaukcpupnoqjfclp",
        "title": "WIP: Bug 1967386 - Enable support for ews accounts in WebExtension APIs.",
        "bugzilla_id": 1967386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477547/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477547/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252640"
    },
    "phid": "PHID-DIFF-3kw6ywjesfioy5voij5s",
    "review_task_id": "Nb102M5jT0KlARx2kQZEjQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "253d2343968127cff3d7af53903316dba44eaadf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053587/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T15:36:49.371826Z"
}