List and retrieve diffs with detailed revision information

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

{
    "id": 1065988,
    "revision": {
        "id": 482251,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "fce907859dea303c77e6ac30b0afc89c62b7f3e3",
        "head_changeset": "41d98b8537210b6ace2c3bc347dd0561ced6ea72",
        "phabricator_id": 254376,
        "phabricator_phid": "PHID-DREV-xzhikbzv6zuuyvfvz4gf",
        "title": "Bug 1971121 - Open spell checker as dependent, not modal dialog. r=#thunderbird-reviewers",
        "bugzilla_id": 1971121,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482251/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482251/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254376"
    },
    "phid": "PHID-DIFF-i5s7uamad6lxs5rza7zr",
    "review_task_id": "VjjdqaTJSSWjP1hXjXuLdw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "41d98b8537210b6ace2c3bc347dd0561ced6ea72",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065988/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T13:14:25.951534Z"
}