Simplify setup flow and public API docs

This commit is contained in:
StasonJatham committed 2026-05-21 17:58:20 +02:00
1 parent 2e401124e8
commit 97a76aa91e
12 files changed
+119 -140

No files matched your search

+4
View File
@@ -127,6 +127,7 @@ async def delete_hostname(dashboard_secret: ManagementSlugPath, store: StoreDep,
summary="Read operator dashboard summary",
description="Requires admin HTTP Basic auth. Returns the same high-level data shown in the operator console.",
tags=["admin"],
include_in_schema=False,
responses={401: {"model": ErrorResponse}},
)
async def read_admin(
@@ -161,6 +162,7 @@ async def read_admin(
summary="List operator hostnames",
description="Requires admin HTTP Basic auth.",
tags=["admin"],
include_in_schema=False,
responses={401: {"model": ErrorResponse}},
)
async def list_admin_hostnames(
@@ -185,6 +187,7 @@ async def list_admin_hostnames(
summary="List operator update history",
description="Requires admin HTTP Basic auth. Supports offset pagination or keyset pagination with before.",
tags=["admin"],
include_in_schema=False,
responses={401: {"model": ErrorResponse}},
)
async def list_admin_events(
@@ -210,6 +213,7 @@ async def list_admin_events(
summary="List operator DNS records",
description="Requires admin HTTP Basic auth.",
tags=["admin"],
include_in_schema=False,
responses={401: {"model": ErrorResponse}},
)
async def list_admin_records(