List and retrieve diffs with detailed revision information

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

{
    "id": 1058364,
    "revision": {
        "id": 478517,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "25b3009308037fd103f64e4dc15ac2026aeab334",
        "head_changeset": "a442a601b21ec4c665a26f96a378d1d160a6486f",
        "phabricator_id": 253655,
        "phabricator_phid": "PHID-DREV-l2mdsuzshppzx6shnf2p",
        "title": "Bug 1959052 - Ensure JS execution is blocked during window.print() when we're using the system UI (rather than printing via the Firefox preview panel). r=dholbert,jwatt",
        "bugzilla_id": 1959052,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478517/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478517/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253655"
    },
    "phid": "PHID-DIFF-ennusdmrynfoknidloit",
    "review_task_id": "A0x2qZhCQCC7VB5CK59ZRw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a442a601b21ec4c665a26f96a378d1d160a6486f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058364/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T13:57:16.680603Z"
}