List and retrieve diffs with detailed revision information

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

{
    "id": 1052592,
    "revision": {
        "id": 477092,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "624aa72279153f68acefdddff24c0c6f1bb90765",
        "head_changeset": "b4f5e94b0537b24b1088be68f72c27501d92a7af",
        "phabricator_id": 252157,
        "phabricator_phid": "PHID-DREV-er5f5f2ep3ms6l3cqjeb",
        "title": "Bug 1968940 [Wayland] Use GL fence to make sure GL rendering to dmabuf surface is finished before we attach it as wl_buffer r?gw",
        "bugzilla_id": 1968940,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477092/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477092/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252157"
    },
    "phid": "PHID-DIFF-kiwgsrtcy2zsglqttwbk",
    "review_task_id": "IeHUZdwsSs621o4dj_ARog",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6a462139c7bddacd13f94e2de1de27c66e37681e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052592/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T11:45:35.527742Z"
}