List and retrieve diffs with detailed revision information

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

{
    "id": 1109067,
    "revision": {
        "id": 516536,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3c4f3b6ad33488d4f2caf0250af05e85f6b589a4",
        "head_changeset": "3dbf165086dcc5f1bee97f75980f6d925b0c1a5f",
        "phabricator_id": 261628,
        "phabricator_phid": "PHID-DREV-5pab247vf6wgh7uiigbw",
        "title": "Bug 1965670 - Request smooth scrolls of the correct viewport on the main thread. r=hiro",
        "bugzilla_id": 1965670,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516536/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516536/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261628"
    },
    "phid": "PHID-DIFF-sahos4ogt6347lru3lus",
    "review_task_id": "KYSKe7_DQnqu6r86zjVcIA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3dbf165086dcc5f1bee97f75980f6d925b0c1a5f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109067/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T23:45:39.149308Z"
}