List and retrieve diffs with detailed revision information

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

{
    "id": 1057796,
    "revision": {
        "id": 478203,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "67baceb379aeddc2c4490ca806b6fe41921b5b3e",
        "head_changeset": "89b0822a61169393e959cfec8ae6b09bb992ffb0",
        "phabricator_id": 253408,
        "phabricator_phid": "PHID-DREV-yw7jfxaxvhjull4ydjft",
        "title": "WIP: Bug 1937177 - Remove layout variant styles and promote Variant B styles to default",
        "bugzilla_id": 1937177,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478203/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478203/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253408"
    },
    "phid": "PHID-DIFF-bx6ww4kgzxgzwhg7ujn3",
    "review_task_id": "dxuMxoa3S1qDb8RtOEagAw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f475501ab5a2b4714bf09dfef819b1d7c7e4bb07",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057796/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T16:19:23.586789Z"
}