List and retrieve diffs with detailed revision information

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

{
    "id": 1082234,
    "revision": {
        "id": 493729,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d58028c0fdaa41ceab934c98f10c8ad0f983b945",
        "head_changeset": "60b1f1454bb88becea8d780b373d23dbf5120704",
        "phabricator_id": 256941,
        "phabricator_phid": "PHID-DREV-4v6bko7wjtsab4xetah6",
        "title": "Bug 1976800 - Fix and test viewing a certificate from the exception dialog. r=#thunderbird-reviewers",
        "bugzilla_id": 1976800,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493729/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493729/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256941"
    },
    "phid": "PHID-DIFF-6ybubkruevhkdj4ar3a5",
    "review_task_id": "Uz1M-mxhTAGXkcWPX7_S5g",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9c55e37321b55e4e0a2b8941dbece20c0ff7ad70",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1082234/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T04:32:37.269587Z"
}