@1claw/openapi-spec 0.61.50 → 0.61.51
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 +18 -2
- package/openapi.yaml +23 -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": "0.61.
|
|
5
|
+
"version": "0.61.51",
|
|
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. Automations (workflow_spec,\nwebhook tokens, event triggers, Assist), cloud runtimes with\ninteractive shell sessions, agent memory, and discovery.\n\n## Domains\n\n`api.1claw.co` is canonical: it is the OIDC issuer, the `aud` the API\nmints, and the first entry in `servers` — a generated client takes its\nbase URL from there, and the previous ordering pointed every SDK at the\ndomain the issuer had already left. `api.1claw.xyz` still answers and is\nstill accepted on token validation, because tokens minted before the\nmove carry it; it is never minted now.\n\nOne deliberate exception: the Shroud attestation identity token is\nrequested from GCP with `audience: https://api.1claw.xyz`, so\n`/v1/shroud/attestation` reports that as its `expected_audience`. That\nis accurate rather than stale — the audience is a verification contract\nwith anyone already checking the token, and moving it is a breaking\nchange for them, not a rename.\n\nAll endpoints require JWT Bearer authentication unless marked with\n`security: []`.\n",
|
|
7
7
|
"contact": {
|
|
8
8
|
"email": "ops@1claw.co"
|
|
@@ -18366,7 +18366,7 @@
|
|
|
18366
18366
|
"OAuth"
|
|
18367
18367
|
],
|
|
18368
18368
|
"summary": "Get authenticated user info (OIDC UserInfo)",
|
|
18369
|
-
"description": "Standard OIDC UserInfo endpoint. Returns claims about the authenticated user\nbased on the granted scopes.\n",
|
|
18369
|
+
"description": "Standard OIDC UserInfo endpoint. Returns claims about the authenticated user\nbased on the granted scopes.\n\nScopes: `profile` for `name`, `email` for `email`, `wallet` for\n`wallet_address`, and `referral` for `referral_code` and `referral_link`.\nA non-OAuth user token sees every field, since it is the user's own data.\n\n`referral` is separate from `profile` deliberately: a referral code is\nsomething the holder is asked to spread, so an app has to request it by name\nand the consent screen names it.\n",
|
|
18370
18370
|
"operationId": "getOAuthUserInfo",
|
|
18371
18371
|
"security": [
|
|
18372
18372
|
{
|
|
@@ -43986,6 +43986,22 @@
|
|
|
43986
43986
|
"string",
|
|
43987
43987
|
"null"
|
|
43988
43988
|
]
|
|
43989
|
+
},
|
|
43990
|
+
"referral_code": {
|
|
43991
|
+
"type": [
|
|
43992
|
+
"string",
|
|
43993
|
+
"null"
|
|
43994
|
+
],
|
|
43995
|
+
"description": "The user's referral code, returned only under the `referral` scope.\nMinted on first read, so a user signing in to a partner site for the\nfirst time still gets one.\n",
|
|
43996
|
+
"example": "7f3a9c2b"
|
|
43997
|
+
},
|
|
43998
|
+
"referral_link": {
|
|
43999
|
+
"type": [
|
|
44000
|
+
"string",
|
|
44001
|
+
"null"
|
|
44002
|
+
],
|
|
44003
|
+
"description": "The same code as a shareable URL, built for the brand the request\narrived on — returned so a host app never has to assemble it and pick\nthe wrong domain.\n",
|
|
44004
|
+
"example": "https://1claw.co/?ref=7f3a9c2b"
|
|
43989
44005
|
}
|
|
43990
44006
|
}
|
|
43991
44007
|
},
|
package/openapi.yaml
CHANGED
|
@@ -2,7 +2,7 @@ openapi: 3.1.0
|
|
|
2
2
|
|
|
3
3
|
info:
|
|
4
4
|
title: 1Claw API
|
|
5
|
-
version: "0.61.
|
|
5
|
+
version: "0.61.51"
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -11732,6 +11732,14 @@ paths:
|
|
|
11732
11732
|
description: |
|
|
11733
11733
|
Standard OIDC UserInfo endpoint. Returns claims about the authenticated user
|
|
11734
11734
|
based on the granted scopes.
|
|
11735
|
+
|
|
11736
|
+
Scopes: `profile` for `name`, `email` for `email`, `wallet` for
|
|
11737
|
+
`wallet_address`, and `referral` for `referral_code` and `referral_link`.
|
|
11738
|
+
A non-OAuth user token sees every field, since it is the user's own data.
|
|
11739
|
+
|
|
11740
|
+
`referral` is separate from `profile` deliberately: a referral code is
|
|
11741
|
+
something the holder is asked to spread, so an app has to request it by name
|
|
11742
|
+
and the consent screen names it.
|
|
11735
11743
|
operationId: getOAuthUserInfo
|
|
11736
11744
|
security:
|
|
11737
11745
|
- BearerAuth: []
|
|
@@ -28217,6 +28225,20 @@ components:
|
|
|
28217
28225
|
type: [string, "null"]
|
|
28218
28226
|
wallet_address:
|
|
28219
28227
|
type: [string, "null"]
|
|
28228
|
+
referral_code:
|
|
28229
|
+
type: [string, "null"]
|
|
28230
|
+
description: |
|
|
28231
|
+
The user's referral code, returned only under the `referral` scope.
|
|
28232
|
+
Minted on first read, so a user signing in to a partner site for the
|
|
28233
|
+
first time still gets one.
|
|
28234
|
+
example: 7f3a9c2b
|
|
28235
|
+
referral_link:
|
|
28236
|
+
type: [string, "null"]
|
|
28237
|
+
description: |
|
|
28238
|
+
The same code as a shareable URL, built for the brand the request
|
|
28239
|
+
arrived on — returned so a host app never has to assemble it and pick
|
|
28240
|
+
the wrong domain.
|
|
28241
|
+
example: https://1claw.co/?ref=7f3a9c2b
|
|
28220
28242
|
|
|
28221
28243
|
# --- Spend Policies ---
|
|
28222
28244
|
|