List and retrieve diffs with detailed revision information

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

{
    "id": 1054122,
    "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-u62xtxufe7uku62ajvo4",
    "review_task_id": "aUqWw2xtQQ2ywCWHyq8QLw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b3a3c138cdd5375092f858531eaa10004f08ca66",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054122/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T07:53:07.965829Z"
}