List and retrieve diffs with detailed revision information

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

{
    "id": 1035351,
    "revision": {
        "id": 475344,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "5e2cff371c8ff5b3a3be54784ec3b50ec5a0ac01",
        "head_changeset": "6f0b8dd102af0c1edb6a7cc3cb014bd749d67e57",
        "phabricator_id": 249790,
        "phabricator_phid": "PHID-DREV-6hjndbeiko7k5xvxgph5",
        "title": "Bug 1963490 - Fix gloda console errors after folder repair or compact. r=#thunderbird-reviewers",
        "bugzilla_id": 1963490,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475344/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475344/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249790"
    },
    "phid": "PHID-DIFF-46whcwu3n4r3tk2qndtu",
    "review_task_id": "ebjevNRMTZyUB-tXr3V2Eg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "6f0b8dd102af0c1edb6a7cc3cb014bd749d67e57",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035351/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T15:11:19.439892Z"
}