@1claw/openapi-spec 0.34.2 → 0.34.4
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/openapi.json +63 -1
- package/openapi.yaml +38 -1
- package/package.json +1 -1
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.21.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"
|
|
@@ -7370,6 +7370,16 @@
|
|
|
7370
7370
|
}
|
|
7371
7371
|
}
|
|
7372
7372
|
}
|
|
7373
|
+
},
|
|
7374
|
+
"409": {
|
|
7375
|
+
"description": "User exists in a different organization. Contains a link_required payload with an OAuth authorize URL for cross-org consent.",
|
|
7376
|
+
"content": {
|
|
7377
|
+
"application/json": {
|
|
7378
|
+
"schema": {
|
|
7379
|
+
"$ref": "#/components/schemas/PlatformUserLinkRequiredResponse"
|
|
7380
|
+
}
|
|
7381
|
+
}
|
|
7382
|
+
}
|
|
7373
7383
|
}
|
|
7374
7384
|
}
|
|
7375
7385
|
}
|
|
@@ -14763,6 +14773,58 @@
|
|
|
14763
14773
|
},
|
|
14764
14774
|
"email": {
|
|
14765
14775
|
"type": "string"
|
|
14776
|
+
},
|
|
14777
|
+
"link_required": {
|
|
14778
|
+
"$ref": "#/components/schemas/LinkRequiredInfo"
|
|
14779
|
+
}
|
|
14780
|
+
}
|
|
14781
|
+
},
|
|
14782
|
+
"PlatformUserLinkRequiredResponse": {
|
|
14783
|
+
"type": "object",
|
|
14784
|
+
"required": [
|
|
14785
|
+
"is_new",
|
|
14786
|
+
"email",
|
|
14787
|
+
"link_required"
|
|
14788
|
+
],
|
|
14789
|
+
"properties": {
|
|
14790
|
+
"is_new": {
|
|
14791
|
+
"type": "boolean",
|
|
14792
|
+
"example": false
|
|
14793
|
+
},
|
|
14794
|
+
"email": {
|
|
14795
|
+
"type": "string"
|
|
14796
|
+
},
|
|
14797
|
+
"link_required": {
|
|
14798
|
+
"$ref": "#/components/schemas/LinkRequiredInfo"
|
|
14799
|
+
}
|
|
14800
|
+
}
|
|
14801
|
+
},
|
|
14802
|
+
"LinkRequiredInfo": {
|
|
14803
|
+
"type": "object",
|
|
14804
|
+
"required": [
|
|
14805
|
+
"status",
|
|
14806
|
+
"reason",
|
|
14807
|
+
"authorize_url",
|
|
14808
|
+
"app_slug"
|
|
14809
|
+
],
|
|
14810
|
+
"properties": {
|
|
14811
|
+
"status": {
|
|
14812
|
+
"type": "string",
|
|
14813
|
+
"enum": [
|
|
14814
|
+
"link_required"
|
|
14815
|
+
]
|
|
14816
|
+
},
|
|
14817
|
+
"reason": {
|
|
14818
|
+
"type": "string",
|
|
14819
|
+
"example": "user_exists_in_other_org"
|
|
14820
|
+
},
|
|
14821
|
+
"authorize_url": {
|
|
14822
|
+
"type": "string",
|
|
14823
|
+
"format": "uri",
|
|
14824
|
+
"description": "OAuth authorize URL the platform app should redirect the user to for consent."
|
|
14825
|
+
},
|
|
14826
|
+
"app_slug": {
|
|
14827
|
+
"type": "string"
|
|
14766
14828
|
}
|
|
14767
14829
|
}
|
|
14768
14830
|
},
|
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.21.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,
|
|
@@ -4774,6 +4774,12 @@ paths:
|
|
|
4774
4774
|
application/json:
|
|
4775
4775
|
schema:
|
|
4776
4776
|
$ref: "#/components/schemas/PlatformUserResponse"
|
|
4777
|
+
"409":
|
|
4778
|
+
description: User exists in a different organization. Contains a link_required payload with an OAuth authorize URL for cross-org consent.
|
|
4779
|
+
content:
|
|
4780
|
+
application/json:
|
|
4781
|
+
schema:
|
|
4782
|
+
$ref: "#/components/schemas/PlatformUserLinkRequiredResponse"
|
|
4777
4783
|
|
|
4778
4784
|
/v1/platform/apps/{appId}/users:
|
|
4779
4785
|
get:
|
|
@@ -9745,6 +9751,37 @@ components:
|
|
|
9745
9751
|
format: uuid
|
|
9746
9752
|
email:
|
|
9747
9753
|
type: string
|
|
9754
|
+
link_required:
|
|
9755
|
+
$ref: "#/components/schemas/LinkRequiredInfo"
|
|
9756
|
+
|
|
9757
|
+
PlatformUserLinkRequiredResponse:
|
|
9758
|
+
type: object
|
|
9759
|
+
required: [is_new, email, link_required]
|
|
9760
|
+
properties:
|
|
9761
|
+
is_new:
|
|
9762
|
+
type: boolean
|
|
9763
|
+
example: false
|
|
9764
|
+
email:
|
|
9765
|
+
type: string
|
|
9766
|
+
link_required:
|
|
9767
|
+
$ref: "#/components/schemas/LinkRequiredInfo"
|
|
9768
|
+
|
|
9769
|
+
LinkRequiredInfo:
|
|
9770
|
+
type: object
|
|
9771
|
+
required: [status, reason, authorize_url, app_slug]
|
|
9772
|
+
properties:
|
|
9773
|
+
status:
|
|
9774
|
+
type: string
|
|
9775
|
+
enum: [link_required]
|
|
9776
|
+
reason:
|
|
9777
|
+
type: string
|
|
9778
|
+
example: user_exists_in_other_org
|
|
9779
|
+
authorize_url:
|
|
9780
|
+
type: string
|
|
9781
|
+
format: uri
|
|
9782
|
+
description: OAuth authorize URL the platform app should redirect the user to for consent.
|
|
9783
|
+
app_slug:
|
|
9784
|
+
type: string
|
|
9748
9785
|
|
|
9749
9786
|
PlatformConnectedUserResponse:
|
|
9750
9787
|
type: object
|