List and retrieve diffs with detailed revision information

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

{
    "id": 1095891,
    "revision": {
        "id": 497293,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7ec5a911287f51bc177058928bb102163a3b656e",
        "head_changeset": "e3b749e909c1dfa138793235df08b0b572c4ded6",
        "phabricator_id": 257745,
        "phabricator_phid": "PHID-DREV-rvn3lxp74xlacim7gyzr",
        "title": "Bug 1977861 - Stop leaking BGLs returned by GPUPipelineBase.getBindGroupLayout(). r=#webgpu-reviewers",
        "bugzilla_id": 1977861,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497293/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497293/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257745"
    },
    "phid": "PHID-DIFF-pzzrxqx45pr2ipugrt5s",
    "review_task_id": "Ik46E22zRDm_ENMlPYIgYQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6ab33a66ff283ef7ddf101665146ac5f022e19b7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095891/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-25T13:30:02.517401Z"
}