List and retrieve diffs with detailed revision information

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

{
    "id": 1086794,
    "revision": {
        "id": 492078,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "34286ef9fa60431a6928c68b46c61f982316ac1f",
        "head_changeset": "fcc6a2abc4b865aef4d16fe841dc36a8aab9e37d",
        "phabricator_id": 256440,
        "phabricator_phid": "PHID-DREV-an2tb5k6ldxcyla4mnz4",
        "title": "Bug 1968626 - Close security info popup when clicking a button inside it. r=mkmelin",
        "bugzilla_id": 1968626,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492078/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492078/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256440"
    },
    "phid": "PHID-DIFF-d7yektylrut2vtoepwcn",
    "review_task_id": "ADRiBgY7T6a6ZLRdO3MRXA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "7d7549739b6c64de838cb0cb9af2c99747ecc09c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086794/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T23:13:39.284983Z"
}