Regenerate the API contract for this site's route set
gh-wj serves 576 operations across 45 surfaces against main's 486 across 41: this line carries the five plugins main does not. The inventory and spec are generated from the live app, so they are regenerated here rather than merged from main, and the cherry-picked commit's copy would have described the wrong instance.
This commit is contained in:
@@ -2550,7 +2550,22 @@
|
||||
"auth": "none (reviewed: named in the public-read or mutation sweep)",
|
||||
"params": "not documented",
|
||||
"purpose": "The generated OpenAPI 3.1 spec (machine + LLM readable).",
|
||||
"example": "curl http://localhost:5001/api/docs/openapi.json"
|
||||
"example": "curl http://localhost:5001/api/docs/openapi.json",
|
||||
"queryparams": [
|
||||
{
|
||||
"name": "tag",
|
||||
"type": "string",
|
||||
"required": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/api/docs/operations.txt",
|
||||
"auth": "none (reviewed: named in the public-read or mutation sweep)",
|
||||
"params": "not documented",
|
||||
"purpose": "Every operation, one line each: method, path, tag, auth, summary.",
|
||||
"example": "curl http://localhost:5001/api/docs/operations.txt"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
@@ -4791,6 +4806,14 @@
|
||||
{
|
||||
"surface": "core-setup",
|
||||
"endpoints": [
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/api/setup/checklist",
|
||||
"auth": "jwt + role:admin",
|
||||
"params": "not documented",
|
||||
"purpose": "What is configured and what is not, with a link to each fix.",
|
||||
"example": "curl http://localhost:5001/api/setup/checklist -H \"Authorization: Bearer $TOK\""
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/api/setup/complete",
|
||||
@@ -4808,6 +4831,14 @@
|
||||
"example": "curl -X POST http://localhost:5001/api/setup/create-admin -H 'Content-Type: application/json' -d '{}'",
|
||||
"readsbody": true
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/api/setup/health",
|
||||
"auth": "jwt + role:admin",
|
||||
"params": "not documented",
|
||||
"purpose": "Post-setup reality check, including whether a restart is outstanding.",
|
||||
"example": "curl http://localhost:5001/api/setup/health -H \"Authorization: Bearer $TOK\""
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/api/setup/needs-admin",
|
||||
|
||||
Reference in New Issue
Block a user