List and retrieve diffs with detailed revision information

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

{
    "id": 1118572,
    "revision": {
        "id": 521026,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9af1b10e17ec7b93f243ff303668f937ea04a239",
        "head_changeset": "bb863819037bf1f34665c1698def9a23d8dec4f3",
        "phabricator_id": 262568,
        "phabricator_phid": "PHID-DREV-jhpatl4ebaf4pqtai76n",
        "title": "Bug 1932591 - WebRTC DTLS1.3 to enable sending a PQ key share and put the PQ share as the top priority in Nightly/Early Beta",
        "bugzilla_id": 1932591,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521026/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521026/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262568"
    },
    "phid": "PHID-DIFF-4iqe77vafxin7xtp6bre",
    "review_task_id": "EangTMCRR3Kiit2cKrhLuA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "df2fdcd4c2410b6c3c773bad2e5920efd49e8a25",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1118572/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-08T14:35:33.418762Z"
}