List and retrieve diffs with detailed revision information

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

{
    "id": 1080383,
    "revision": {
        "id": 492862,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "191b3c14d0ae380494ccff3303c3b37c787022ec",
        "head_changeset": "a2213418bfb2a35f91bd78272b8fe28afed2ebcb",
        "phabricator_id": 256693,
        "phabricator_phid": "PHID-DREV-sl3hbh67lgejejgnv57r",
        "title": "Bug 1976552 - Properly deserialize EWS response bodies with attributes. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1976552,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492862/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492862/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256693"
    },
    "phid": "PHID-DIFF-w6hlrmcdpyqrfgnbh2fx",
    "review_task_id": "AXMjdKy7Tv6PpD_KncG81g",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a2213418bfb2a35f91bd78272b8fe28afed2ebcb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080383/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T18:42:37.732343Z"
}