@1claw/openapi-spec 0.15.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/openapi.json +34 -0
- package/openapi.yaml +23 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ openapi-generator generate \
|
|
|
40
40
|
import spec from "@1claw/openapi-spec/openapi.json";
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
## What's in the spec (v0.
|
|
43
|
+
## What's in the spec (v0.15.x)
|
|
44
44
|
|
|
45
45
|
- **Vaults** — CRUD, CMEK enable/disable, key rotation with job tracking
|
|
46
46
|
- **Secrets** — CRUD, versioning, CMEK-encrypted flag
|
|
@@ -51,6 +51,7 @@ import spec from "@1claw/openapi-spec/openapi.json";
|
|
|
51
51
|
- **Audit** — Hash-chained event log
|
|
52
52
|
- **Chains** — Supported blockchain registry
|
|
53
53
|
- **Auth** — JWT, API keys, agent tokens, MFA, device flow, Google OAuth
|
|
54
|
+
- **Org** — List members, invite, update/remove member; `GET /v1/org/agent-keys-vault` (users only, returns __agent-keys vault id or 404)
|
|
54
55
|
|
|
55
56
|
## Included files
|
|
56
57
|
|
package/openapi.json
CHANGED
|
@@ -2380,6 +2380,31 @@
|
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
2382
2382
|
},
|
|
2383
|
+
"/v1/org/agent-keys-vault": {
|
|
2384
|
+
"get": {
|
|
2385
|
+
"tags": [
|
|
2386
|
+
"Organization"
|
|
2387
|
+
],
|
|
2388
|
+
"summary": "Get the org's __agent-keys vault id",
|
|
2389
|
+
"description": "Returns the vault id for the caller's org agent-keys vault (used for revealing agent identity keys). Users only; 404 if the vault does not exist.",
|
|
2390
|
+
"operationId": "getAgentKeysVault",
|
|
2391
|
+
"responses": {
|
|
2392
|
+
"200": {
|
|
2393
|
+
"description": "Agent-keys vault id",
|
|
2394
|
+
"content": {
|
|
2395
|
+
"application/json": {
|
|
2396
|
+
"schema": {
|
|
2397
|
+
"$ref": "#/components/schemas/AgentKeysVaultResponse"
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
},
|
|
2402
|
+
"404": {
|
|
2403
|
+
"description": "Agent-keys vault not found"
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
},
|
|
2383
2408
|
"/v1/org/invite": {
|
|
2384
2409
|
"post": {
|
|
2385
2410
|
"tags": [
|
|
@@ -5880,6 +5905,15 @@
|
|
|
5880
5905
|
}
|
|
5881
5906
|
}
|
|
5882
5907
|
},
|
|
5908
|
+
"AgentKeysVaultResponse": {
|
|
5909
|
+
"type": "object",
|
|
5910
|
+
"properties": {
|
|
5911
|
+
"vault_id": {
|
|
5912
|
+
"type": "string",
|
|
5913
|
+
"format": "uuid"
|
|
5914
|
+
}
|
|
5915
|
+
}
|
|
5916
|
+
},
|
|
5883
5917
|
"UsageSummaryResponse": {
|
|
5884
5918
|
"type": "object",
|
|
5885
5919
|
"properties": {
|
package/openapi.yaml
CHANGED
|
@@ -1518,6 +1518,22 @@ paths:
|
|
|
1518
1518
|
schema:
|
|
1519
1519
|
$ref: "#/components/schemas/OrgMemberListResponse"
|
|
1520
1520
|
|
|
1521
|
+
/v1/org/agent-keys-vault:
|
|
1522
|
+
get:
|
|
1523
|
+
tags: [Organization]
|
|
1524
|
+
summary: Get the org's __agent-keys vault id
|
|
1525
|
+
description: Returns the vault id for the caller's org agent-keys vault (used for revealing agent identity keys). Users only; 404 if the vault does not exist.
|
|
1526
|
+
operationId: getAgentKeysVault
|
|
1527
|
+
responses:
|
|
1528
|
+
"200":
|
|
1529
|
+
description: Agent-keys vault id
|
|
1530
|
+
content:
|
|
1531
|
+
application/json:
|
|
1532
|
+
schema:
|
|
1533
|
+
$ref: "#/components/schemas/AgentKeysVaultResponse"
|
|
1534
|
+
"404":
|
|
1535
|
+
description: Agent-keys vault not found
|
|
1536
|
+
|
|
1521
1537
|
/v1/org/invite:
|
|
1522
1538
|
post:
|
|
1523
1539
|
tags: [Organization]
|
|
@@ -3881,6 +3897,13 @@ components:
|
|
|
3881
3897
|
email:
|
|
3882
3898
|
type: string
|
|
3883
3899
|
|
|
3900
|
+
AgentKeysVaultResponse:
|
|
3901
|
+
type: object
|
|
3902
|
+
properties:
|
|
3903
|
+
vault_id:
|
|
3904
|
+
type: string
|
|
3905
|
+
format: uuid
|
|
3906
|
+
|
|
3884
3907
|
# --- Billing ---
|
|
3885
3908
|
|
|
3886
3909
|
UsageSummaryResponse:
|