List and retrieve diffs with detailed revision information

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

{
    "id": 1076952,
    "revision": {
        "id": 489698,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8be05592162bd8777f46a45a858c0532f26a87d4",
        "head_changeset": "a0cb12211b04737059c963b5bacf941165ff8f17",
        "phabricator_id": 183533,
        "phabricator_phid": "PHID-DREV-okjthax723bv5go4s5qo",
        "title": "WIP: Bug 1843417 - Add matrix-sdk-crypto-js.",
        "bugzilla_id": 1843417,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489698/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489698/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D183533"
    },
    "phid": "PHID-DIFF-jokafxmnvaciicgzxvor",
    "review_task_id": "Adhbip5MSC2j0iKqBEyiJw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a0cb12211b04737059c963b5bacf941165ff8f17",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076952/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T18:39:46.610717Z"
}