List and retrieve diffs with detailed revision information

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

{
    "id": 1086795,
    "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-52kibuzz7p6v7rpdzkmj",
    "review_task_id": "YrgefifQR3mDtho8AWZ1uw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "58b0c742451d9a5fbbc9c8804f4edfbbb8d36ec0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086795/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T23:14:28.312097Z"
}