@1claw/openapi-spec 0.25.0 → 0.26.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.
Files changed (3) hide show
  1. package/openapi.json +75 -0
  2. package/openapi.yaml +47 -0
  3. package/package.json +39 -39
package/openapi.json CHANGED
@@ -6382,6 +6382,81 @@
6382
6382
  }
6383
6383
  }
6384
6384
  },
6385
+ "/v1/platform/connections/{connectionId}/reissue-claim": {
6386
+ "post": {
6387
+ "tags": [
6388
+ "Platform"
6389
+ ],
6390
+ "summary": "Reissue a claim URL",
6391
+ "description": "Mints a fresh 10-minute claim token for an already-bootstrapped connection without re-provisioning resources. Use when the original claim URL has expired.",
6392
+ "security": [
6393
+ {
6394
+ "BearerAuth": []
6395
+ }
6396
+ ],
6397
+ "parameters": [
6398
+ {
6399
+ "in": "path",
6400
+ "name": "connectionId",
6401
+ "required": true,
6402
+ "schema": {
6403
+ "type": "string",
6404
+ "format": "uuid"
6405
+ }
6406
+ }
6407
+ ],
6408
+ "requestBody": {
6409
+ "required": false,
6410
+ "content": {
6411
+ "application/json": {
6412
+ "schema": {
6413
+ "type": "object",
6414
+ "properties": {
6415
+ "return_to": {
6416
+ "type": "string",
6417
+ "description": "Optional redirect URL after claim"
6418
+ }
6419
+ }
6420
+ }
6421
+ }
6422
+ }
6423
+ },
6424
+ "responses": {
6425
+ "200": {
6426
+ "description": "New claim URL issued",
6427
+ "content": {
6428
+ "application/json": {
6429
+ "schema": {
6430
+ "type": "object",
6431
+ "properties": {
6432
+ "claim_url": {
6433
+ "type": "string"
6434
+ },
6435
+ "claim_token": {
6436
+ "type": "string"
6437
+ },
6438
+ "expires_in": {
6439
+ "type": "integer",
6440
+ "description": "Seconds until expiry (600 = 10 min)"
6441
+ },
6442
+ "connection_id": {
6443
+ "type": "string",
6444
+ "format": "uuid"
6445
+ }
6446
+ }
6447
+ }
6448
+ }
6449
+ }
6450
+ },
6451
+ "400": {
6452
+ "description": "Connection not yet bootstrapped"
6453
+ },
6454
+ "404": {
6455
+ "description": "Connection not found"
6456
+ }
6457
+ }
6458
+ }
6459
+ },
6385
6460
  "/v1/platform/apps/{appId}/audit": {
6386
6461
  "get": {
6387
6462
  "tags": [
package/openapi.yaml CHANGED
@@ -4134,6 +4134,53 @@ paths:
4134
4134
  schema:
4135
4135
  $ref: "#/components/schemas/BootstrapResponse"
4136
4136
 
4137
+ /v1/platform/connections/{connectionId}/reissue-claim:
4138
+ post:
4139
+ tags: [Platform]
4140
+ summary: Reissue a claim URL
4141
+ description: Mints a fresh 10-minute claim token for an already-bootstrapped connection without re-provisioning resources. Use when the original claim URL has expired.
4142
+ security:
4143
+ - BearerAuth: []
4144
+ parameters:
4145
+ - in: path
4146
+ name: connectionId
4147
+ required: true
4148
+ schema:
4149
+ type: string
4150
+ format: uuid
4151
+ requestBody:
4152
+ required: false
4153
+ content:
4154
+ application/json:
4155
+ schema:
4156
+ type: object
4157
+ properties:
4158
+ return_to:
4159
+ type: string
4160
+ description: Optional redirect URL after claim
4161
+ responses:
4162
+ "200":
4163
+ description: New claim URL issued
4164
+ content:
4165
+ application/json:
4166
+ schema:
4167
+ type: object
4168
+ properties:
4169
+ claim_url:
4170
+ type: string
4171
+ claim_token:
4172
+ type: string
4173
+ expires_in:
4174
+ type: integer
4175
+ description: Seconds until expiry (600 = 10 min)
4176
+ connection_id:
4177
+ type: string
4178
+ format: uuid
4179
+ "400":
4180
+ description: Connection not yet bootstrapped
4181
+ "404":
4182
+ description: Connection not found
4183
+
4137
4184
  /v1/platform/apps/{appId}/audit:
4138
4185
  get:
4139
4186
  tags: [Platform]
package/package.json CHANGED
@@ -1,40 +1,40 @@
1
1
  {
2
- "name": "@1claw/openapi-spec",
3
- "version": "0.25.0",
4
- "description": "OpenAPI 3.1.0 specification for the 1Claw Vault API generate clients in any language",
5
- "license": "MIT",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/1clawAI/1claw.git",
9
- "directory": "packages/openapi-spec"
10
- },
11
- "files": [
12
- "openapi.yaml",
13
- "openapi.json",
14
- "README.md"
15
- ],
16
- "exports": {
17
- "./openapi.yaml": "./openapi.yaml",
18
- "./openapi.json": "./openapi.json"
19
- },
20
- "scripts": {
21
- "build": "node scripts/yaml-to-json.mjs",
22
- "prepublishOnly": "npm run build"
23
- },
24
- "publishConfig": {
25
- "access": "public"
26
- },
27
- "keywords": [
28
- "1claw",
29
- "openapi",
30
- "api-spec",
31
- "codegen",
32
- "swagger",
33
- "secrets",
34
- "vault",
35
- "ai-agents"
36
- ],
37
- "devDependencies": {
38
- "js-yaml": "^4.1.1"
39
- }
40
- }
2
+ "name": "@1claw/openapi-spec",
3
+ "version": "0.26.0",
4
+ "description": "OpenAPI 3.1.0 specification for the 1Claw Vault API \u2014 generate clients in any language",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/1clawAI/1claw.git",
9
+ "directory": "packages/openapi-spec"
10
+ },
11
+ "files": [
12
+ "openapi.yaml",
13
+ "openapi.json",
14
+ "README.md"
15
+ ],
16
+ "exports": {
17
+ "./openapi.yaml": "./openapi.yaml",
18
+ "./openapi.json": "./openapi.json"
19
+ },
20
+ "scripts": {
21
+ "build": "node scripts/yaml-to-json.mjs",
22
+ "prepublishOnly": "npm run build"
23
+ },
24
+ "publishConfig": {
25
+ "access": "public"
26
+ },
27
+ "keywords": [
28
+ "1claw",
29
+ "openapi",
30
+ "api-spec",
31
+ "codegen",
32
+ "swagger",
33
+ "secrets",
34
+ "vault",
35
+ "ai-agents"
36
+ ],
37
+ "devDependencies": {
38
+ "js-yaml": "^4.1.1"
39
+ }
40
+ }