List and retrieve diffs with detailed revision information

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

{
    "id": 1109545,
    "revision": {
        "id": 517121,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7fed0a3528ef27b3a504543436fd0c7ba2548b21",
        "head_changeset": "36345c9438b316b93805aed4b6ebae429d485234",
        "phabricator_id": 261979,
        "phabricator_phid": "PHID-DREV-nou37ihh3xnhuvxr52kz",
        "title": "Bug 1984115: Disable notification WPT tests on x86 Linux r=nalexander,nrishel",
        "bugzilla_id": 1984115,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517121/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517121/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261979"
    },
    "phid": "PHID-DIFF-2p5c3dwxsto4qthhv6kw",
    "review_task_id": "aVTa51AUShutT6LCNJvovw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "36345c9438b316b93805aed4b6ebae429d485234",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109545/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T15:49:21.060025Z"
}