@1claw/openapi-spec 0.61.51 → 0.61.52
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 +39 -2
- package/openapi.yaml +32 -3
- 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.52",
|
|
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"
|
|
@@ -7034,6 +7034,28 @@
|
|
|
7034
7034
|
"summary": "Your own referral link and signups",
|
|
7035
7035
|
"description": "The caller's referral code, the link to share, how many signups it has\nproduced, and a recent list.\n\nUsers only — a referral link belongs to a person, so an agent principal\ngets 403.\n\nThe link's host comes from the brand the request arrived on, the same\nway the SIWE domain and the WebAuthn rpId do: someone on 1claw.co must\nnot be handed a 1claw.xyz link to post.\n\n`recent[].referred_hint` is masked (`a**@example.com`) — enough to\nrecognise someone you did invite, not enough to contact someone you did\nnot. Neither the referred address nor its user id is returned.\n",
|
|
7036
7036
|
"operationId": "getMyReferrals",
|
|
7037
|
+
"parameters": [
|
|
7038
|
+
{
|
|
7039
|
+
"in": "query",
|
|
7040
|
+
"name": "from",
|
|
7041
|
+
"required": false,
|
|
7042
|
+
"schema": {
|
|
7043
|
+
"type": "string",
|
|
7044
|
+
"format": "date-time"
|
|
7045
|
+
},
|
|
7046
|
+
"description": "Start of a half-open window `[from, to)` on when the referral was made.\nSame boundary rule as the admin leaderboard, so the two cannot disagree\nabout a referral landing on the edge. Omit for no lower bound.\n"
|
|
7047
|
+
},
|
|
7048
|
+
{
|
|
7049
|
+
"in": "query",
|
|
7050
|
+
"name": "to",
|
|
7051
|
+
"required": false,
|
|
7052
|
+
"schema": {
|
|
7053
|
+
"type": "string",
|
|
7054
|
+
"format": "date-time"
|
|
7055
|
+
},
|
|
7056
|
+
"description": "End of the window, exclusive. A contest run \"through the 31st\" passes the\n1st of the next month. Omit for no upper bound.\n"
|
|
7057
|
+
}
|
|
7058
|
+
],
|
|
7037
7059
|
"responses": {
|
|
7038
7060
|
"200": {
|
|
7039
7061
|
"description": "The caller's referral code, link and signup count",
|
|
@@ -32962,6 +32984,7 @@
|
|
|
32962
32984
|
"code",
|
|
32963
32985
|
"link",
|
|
32964
32986
|
"total",
|
|
32987
|
+
"qualified",
|
|
32965
32988
|
"recent"
|
|
32966
32989
|
],
|
|
32967
32990
|
"properties": {
|
|
@@ -32979,7 +33002,21 @@
|
|
|
32979
33002
|
"total": {
|
|
32980
33003
|
"type": "integer",
|
|
32981
33004
|
"format": "int64",
|
|
32982
|
-
"description": "Countable signups attributed to this code."
|
|
33005
|
+
"description": "Countable signups attributed to this code, one per person."
|
|
33006
|
+
},
|
|
33007
|
+
"qualified": {
|
|
33008
|
+
"type": "integer",
|
|
33009
|
+
"format": "int64",
|
|
33010
|
+
"description": "Of those, the ones on a live paid subscription — what a contest settles\non. Always <= `total`.\n"
|
|
33011
|
+
},
|
|
33012
|
+
"from": {
|
|
33013
|
+
"type": "string",
|
|
33014
|
+
"format": "date-time",
|
|
33015
|
+
"description": "Echoed back when a window was requested, so a caller can confirm which window produced these numbers."
|
|
33016
|
+
},
|
|
33017
|
+
"to": {
|
|
33018
|
+
"type": "string",
|
|
33019
|
+
"format": "date-time"
|
|
32983
33020
|
},
|
|
32984
33021
|
"recent": {
|
|
32985
33022
|
"type": "array",
|
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.52"
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -4549,6 +4549,22 @@ paths:
|
|
|
4549
4549
|
recognise someone you did invite, not enough to contact someone you did
|
|
4550
4550
|
not. Neither the referred address nor its user id is returned.
|
|
4551
4551
|
operationId: getMyReferrals
|
|
4552
|
+
parameters:
|
|
4553
|
+
- in: query
|
|
4554
|
+
name: from
|
|
4555
|
+
required: false
|
|
4556
|
+
schema: { type: string, format: date-time }
|
|
4557
|
+
description: |
|
|
4558
|
+
Start of a half-open window `[from, to)` on when the referral was made.
|
|
4559
|
+
Same boundary rule as the admin leaderboard, so the two cannot disagree
|
|
4560
|
+
about a referral landing on the edge. Omit for no lower bound.
|
|
4561
|
+
- in: query
|
|
4562
|
+
name: to
|
|
4563
|
+
required: false
|
|
4564
|
+
schema: { type: string, format: date-time }
|
|
4565
|
+
description: |
|
|
4566
|
+
End of the window, exclusive. A contest run "through the 31st" passes the
|
|
4567
|
+
1st of the next month. Omit for no upper bound.
|
|
4552
4568
|
responses:
|
|
4553
4569
|
"200":
|
|
4554
4570
|
description: The caller's referral code, link and signup count
|
|
@@ -21156,7 +21172,7 @@ components:
|
|
|
21156
21172
|
schemas:
|
|
21157
21173
|
MyReferralsResponse:
|
|
21158
21174
|
type: object
|
|
21159
|
-
required: [code, link, total, recent]
|
|
21175
|
+
required: [code, link, total, qualified, recent]
|
|
21160
21176
|
properties:
|
|
21161
21177
|
code:
|
|
21162
21178
|
type: string
|
|
@@ -21170,7 +21186,20 @@ components:
|
|
|
21170
21186
|
total:
|
|
21171
21187
|
type: integer
|
|
21172
21188
|
format: int64
|
|
21173
|
-
description: Countable signups attributed to this code.
|
|
21189
|
+
description: Countable signups attributed to this code, one per person.
|
|
21190
|
+
qualified:
|
|
21191
|
+
type: integer
|
|
21192
|
+
format: int64
|
|
21193
|
+
description: |
|
|
21194
|
+
Of those, the ones on a live paid subscription — what a contest settles
|
|
21195
|
+
on. Always <= `total`.
|
|
21196
|
+
from:
|
|
21197
|
+
type: string
|
|
21198
|
+
format: date-time
|
|
21199
|
+
description: Echoed back when a window was requested, so a caller can confirm which window produced these numbers.
|
|
21200
|
+
to:
|
|
21201
|
+
type: string
|
|
21202
|
+
format: date-time
|
|
21174
21203
|
recent:
|
|
21175
21204
|
type: array
|
|
21176
21205
|
items:
|