From 2a522ac5902531c39e3ec235aafa79867e6c34af Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 25 May 2026 08:27:55 +0000 Subject: [PATCH 1/2] Initial plan From 068615b2c7f7d3fbd1f118c12638316bd1ea2be6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 25 May 2026 08:31:56 +0000 Subject: [PATCH 2/2] fix: restore admin route doc metadata Agent-Logs-Url: https://github.com/The-Interdependency/a0/sessions/6b38ee8f-7a98-4f93-bdd7-559f79c0b903 Co-authored-by: erinepshovel-code <250928284+erinepshovel-code@users.noreply.github.com> --- python/routes/admin.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python/routes/admin.py b/python/routes/admin.py index b60dfb77..04ea4d43 100644 --- a/python/routes/admin.py +++ b/python/routes/admin.py @@ -1,4 +1,11 @@ -# 77:0 0:0 1:1 +# 77:7 0:0 1:1 +# DOC module: admin +# DOC label: Admin Email Allowlist +# DOC description: Admin-only endpoints for listing, adding, and removing admin email allowlist entries. +# DOC tier: admin +# DOC endpoint: GET /api/v1/admin/emails | List configured admin email entries. +# DOC endpoint: POST /api/v1/admin/emails | Add an admin email entry. +# DOC endpoint: DELETE /api/v1/admin/emails/{email} | Remove an admin email entry. import os from typing import Optional from fastapi import APIRouter, Request @@ -93,4 +100,4 @@ async def remove_admin_email(request: Request, email: str): if result.rowcount == 0: return JSONResponse(status_code=404, content={"error": "Not found"}) return {"ok": True, "email": target} -# 77:0 0:0 1:1 +# 77:7 0:0 1:1