List and retrieve diffs with detailed revision information

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

{
    "id": 1111803,
    "revision": {
        "id": 520999,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "23bfd179a15b236b27d15e956cfd4d5a75b58d87",
        "head_changeset": "59c068bd647a5ccdbfa2458336f04da34f41c43f",
        "phabricator_id": 262559,
        "phabricator_phid": "PHID-DREV-ebn3v4tp5hvbcnrcnu3x",
        "title": "Bug 1978987 - Test importing address books in ThunderbirdProfileImporter. r=#thunderbird-reviewers",
        "bugzilla_id": 1978987,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520999/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520999/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262559"
    },
    "phid": "PHID-DIFF-r3mf4diszdthzaqbyvkg",
    "review_task_id": "K0I8-_BQS3mIRfFezhrRQA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c9f78eca8910f5961493ce5ceb1631de2154bb44",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111803/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T11:19:42.429042Z"
}