@1claw/openapi-spec 0.12.0 → 0.14.0
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/LICENSE +21 -0
- package/README.md +2 -2
- package/openapi.json +38 -1
- package/openapi.yaml +27 -1
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 1Claw Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
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.14.0)
|
|
44
44
|
|
|
45
45
|
- **Vaults** — CRUD, CMEK enable/disable, key rotation with job tracking
|
|
46
46
|
- **Secrets** — CRUD, versioning, CMEK-encrypted flag
|
|
@@ -59,4 +59,4 @@ import spec from "@1claw/openapi-spec/openapi.json";
|
|
|
59
59
|
|
|
60
60
|
## License
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
[MIT](./LICENSE)
|
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "1Claw API",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.5.0",
|
|
6
6
|
"description": "Secure secret management for AI agents. Provides vaults, secrets,\npolicy-based access control, agent identity, Intents API,\nsharing, billing, and audit logging.\n\nAll endpoints require JWT Bearer authentication unless marked with\n`security: []`.\n",
|
|
7
7
|
"contact": {
|
|
8
8
|
"email": "ops@1claw.xyz"
|
|
@@ -256,6 +256,43 @@
|
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
|
+
"/v1/auth/jwt-public-key": {
|
|
260
|
+
"get": {
|
|
261
|
+
"tags": [
|
|
262
|
+
"Authentication"
|
|
263
|
+
],
|
|
264
|
+
"summary": "Get JWT verification public key",
|
|
265
|
+
"description": "Returns the Ed25519 public key used to sign JWTs.\nUse this to verify tokens independently (e.g. in a TEE proxy or\ngateway). No authentication required.\n",
|
|
266
|
+
"operationId": "getJwtPublicKey",
|
|
267
|
+
"security": [],
|
|
268
|
+
"responses": {
|
|
269
|
+
"200": {
|
|
270
|
+
"description": "JWT public key",
|
|
271
|
+
"content": {
|
|
272
|
+
"application/json": {
|
|
273
|
+
"schema": {
|
|
274
|
+
"type": "object",
|
|
275
|
+
"required": [
|
|
276
|
+
"alg",
|
|
277
|
+
"public_key_base64"
|
|
278
|
+
],
|
|
279
|
+
"properties": {
|
|
280
|
+
"alg": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"example": "EdDSA"
|
|
283
|
+
},
|
|
284
|
+
"public_key_base64": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"description": "Base64-encoded Ed25519 public key"
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
},
|
|
259
296
|
"/v1/auth/signup": {
|
|
260
297
|
"post": {
|
|
261
298
|
"tags": [
|
package/openapi.yaml
CHANGED
|
@@ -2,7 +2,7 @@ openapi: 3.1.0
|
|
|
2
2
|
|
|
3
3
|
info:
|
|
4
4
|
title: 1Claw API
|
|
5
|
-
version: 2.
|
|
5
|
+
version: 2.5.0
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -169,6 +169,32 @@ paths:
|
|
|
169
169
|
"401":
|
|
170
170
|
$ref: "#/components/responses/Unauthorized"
|
|
171
171
|
|
|
172
|
+
/v1/auth/jwt-public-key:
|
|
173
|
+
get:
|
|
174
|
+
tags: [Authentication]
|
|
175
|
+
summary: Get JWT verification public key
|
|
176
|
+
description: |
|
|
177
|
+
Returns the Ed25519 public key used to sign JWTs.
|
|
178
|
+
Use this to verify tokens independently (e.g. in a TEE proxy or
|
|
179
|
+
gateway). No authentication required.
|
|
180
|
+
operationId: getJwtPublicKey
|
|
181
|
+
security: []
|
|
182
|
+
responses:
|
|
183
|
+
"200":
|
|
184
|
+
description: JWT public key
|
|
185
|
+
content:
|
|
186
|
+
application/json:
|
|
187
|
+
schema:
|
|
188
|
+
type: object
|
|
189
|
+
required: [alg, public_key_base64]
|
|
190
|
+
properties:
|
|
191
|
+
alg:
|
|
192
|
+
type: string
|
|
193
|
+
example: EdDSA
|
|
194
|
+
public_key_base64:
|
|
195
|
+
type: string
|
|
196
|
+
description: Base64-encoded Ed25519 public key
|
|
197
|
+
|
|
172
198
|
/v1/auth/signup:
|
|
173
199
|
post:
|
|
174
200
|
tags: [Authentication]
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1claw/openapi-spec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "OpenAPI 3.1.0 specification for the 1Claw Vault API — generate clients in any language",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/1clawAI/1claw.git",
|