List and retrieve diffs with detailed revision information

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

{
    "id": 1051822,
    "revision": {
        "id": 477201,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "e1ab7a6ce19b6433611251f6435d4b413f8872d6",
        "head_changeset": "402f3a621d742f5d2d53b9faa5faf8c468f8f689",
        "phabricator_id": 252284,
        "phabricator_phid": "PHID-DREV-g3kkmwddjjuphk6ztlfd",
        "title": "Bug 1970044 - Move schema annotations into the tree. r=#thunderbird-reviewers",
        "bugzilla_id": 1970044,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477201/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477201/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252284"
    },
    "phid": "PHID-DIFF-ufgvtbrtoj2cz4prutcq",
    "review_task_id": "eCfaqIf6TG27PaVRfBabSw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "d89d912ff3b7ee0f4d5d90cc5a50986f40c12aba",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051822/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T13:41:23.494719Z"
}