refactor(archie,system): remove runtime config writes and finish track 1 (#2153)
This commit is contained in:
8 files changed
+45
-200
No files matched your search
@@ -5017,15 +5017,6 @@ components:
|
||||
required:
|
||||
- label
|
||||
type: object
|
||||
SystemAdminToken:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
token:
|
||||
description: Shown once; only its hash is written to the config
|
||||
type: string
|
||||
required:
|
||||
- token
|
||||
type: object
|
||||
SystemBootstrap:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -5748,25 +5739,6 @@ paths:
|
||||
summary: Reset an action type to its default level
|
||||
tags:
|
||||
- Controls
|
||||
/api/admin/token:
|
||||
post:
|
||||
operationId: rotate-admin-token
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/SystemAdminToken"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Rotate the admin token; the new one is shown once
|
||||
tags:
|
||||
- System
|
||||
/api/approvals:
|
||||
get:
|
||||
operationId: list-approvals
|
||||
|
||||
Reference in new issue
Block a user