List and retrieve diffs with detailed revision information

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

{
    "id": 1055306,
    "revision": {
        "id": 477910,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c66cd43e3f725964cf68f538e8162c4811ec6321",
        "head_changeset": "6b88aa87f8880c9ef6927f7d64a6d7d3c0ad392c",
        "phabricator_id": 253064,
        "phabricator_phid": "PHID-DREV-bkzcty6cixrbnwh2yp2i",
        "title": "Bug 1970833 - In PWA check if there is history when handling onBackPressed.",
        "bugzilla_id": 1970833,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477910/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477910/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253064"
    },
    "phid": "PHID-DIFF-qavu3zewlplxojn6i34t",
    "review_task_id": "ZhT8OrzVRbOyeM6a_82owQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6b88aa87f8880c9ef6927f7d64a6d7d3c0ad392c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055306/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T19:49:22.888012Z"
}