List and retrieve diffs with detailed revision information

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

{
    "id": 1046762,
    "revision": {
        "id": 475925,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "66388be57ca465f1cd09bfc5110cceb5a2f80cdf",
        "head_changeset": "721b5c9ac1854307ddc3056892c3bfb71f6d60cc",
        "phabricator_id": 250525,
        "phabricator_phid": "PHID-DREV-l3ygkrwwpuoqko3vonho",
        "title": "Bug 1967841 - Add support for rounded rect clips to swgl software compositor",
        "bugzilla_id": 1967841,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475925/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475925/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250525"
    },
    "phid": "PHID-DIFF-eug4sx6kucwdgegsd4ze",
    "review_task_id": "PkvDwAWqQdKZjoYv_ocfbA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f97581557099e296297e1b12c5dca32cac8cdc44",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1046762/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-26T20:40:36.405157Z"
}