@greatwait/contracts 0.1.0-alpha.1 → 0.1.0-alpha.3
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/dist/authority.d.ts +57 -0
- package/dist/authority.js +35 -0
- package/dist/callback-receiver.d.ts +50 -0
- package/dist/callback-receiver.js +51 -0
- package/dist/first-value-journey.d.ts +156 -0
- package/dist/first-value-journey.js +213 -0
- package/dist/identity.d.ts +4 -4
- package/dist/index.d.ts +4 -5
- package/dist/index.js +4 -5
- package/dist/mcp.d.ts +148 -0
- package/dist/mcp.js +158 -0
- package/dist/oauth.js +83 -7
- package/dist/operations.d.ts +157 -3
- package/dist/operations.js +104 -2
- package/dist/scheduling.d.ts +2 -2
- package/dist/test-sink.d.ts +24 -4
- package/dist/test-sink.js +13 -2
- package/generated/v1/callback-receiver.json +1 -1
- package/generated/v1/examples/context.read.response.json +6 -0
- package/generated/v1/examples/credentials.connection.response.json +16 -0
- package/generated/v1/manifest.json +53 -0
- package/generated/v1/openapi.json +690 -1
- package/generated/v1/policy-matrix.json +14 -0
- package/generated/v1/schemas/context.read.response.json +43 -0
- package/generated/v1/schemas/credentials.connection.response.json +64 -0
- package/generated/v1/snippets/attempts.list.json +1 -0
- package/generated/v1/snippets/attempts.read.json +1 -0
- package/generated/v1/snippets/context.read.json +6 -0
- package/generated/v1/snippets/credentials.connection.json +6 -0
- package/generated/v1/snippets/credentials.create.json +1 -0
- package/generated/v1/snippets/credentials.list.json +1 -0
- package/generated/v1/snippets/credentials.revoke.json +1 -0
- package/generated/v1/snippets/credentials.rotate.json +1 -0
- package/generated/v1/snippets/endpoints.create.json +1 -0
- package/generated/v1/snippets/endpoints.disable.json +1 -0
- package/generated/v1/snippets/endpoints.list.json +1 -0
- package/generated/v1/snippets/endpoints.read.json +1 -0
- package/generated/v1/snippets/endpoints.rotateSigningKey.json +1 -0
- package/generated/v1/snippets/endpoints.update.json +1 -0
- package/generated/v1/snippets/endpoints.verify.json +1 -0
- package/generated/v1/snippets/forecast.read.json +1 -0
- package/generated/v1/snippets/forecast.windows.json +1 -0
- package/generated/v1/snippets/grants.list.json +1 -0
- package/generated/v1/snippets/grants.revoke.json +1 -0
- package/generated/v1/snippets/journey/await-occurrence.json +6 -0
- package/generated/v1/snippets/journey/check-credential.json +6 -0
- package/generated/v1/snippets/journey/check-service.json +6 -0
- package/generated/v1/snippets/journey/clean-up.json +6 -0
- package/generated/v1/snippets/journey/create-destination.json +6 -0
- package/generated/v1/snippets/journey/create-one-shot.json +6 -0
- package/generated/v1/snippets/journey/read-attempt.json +6 -0
- package/generated/v1/snippets/journey/read-schedule.json +6 -0
- package/generated/v1/snippets/journey/replay-one-shot.json +6 -0
- package/generated/v1/snippets/meta.scaffold.json +1 -0
- package/generated/v1/snippets/meta.version.json +1 -0
- package/generated/v1/snippets/occurrences.list.json +1 -0
- package/generated/v1/snippets/occurrences.read.json +1 -0
- package/generated/v1/snippets/occurrences.redeliver.json +1 -0
- package/generated/v1/snippets/projects.create.json +1 -0
- package/generated/v1/snippets/projects.list.json +1 -0
- package/generated/v1/snippets/schedules.archive.json +1 -0
- package/generated/v1/snippets/schedules.cancel.json +1 -0
- package/generated/v1/snippets/schedules.create.json +1 -0
- package/generated/v1/snippets/schedules.list.json +1 -0
- package/generated/v1/snippets/schedules.pause.json +1 -0
- package/generated/v1/snippets/schedules.read.json +1 -0
- package/generated/v1/snippets/schedules.replace.json +1 -0
- package/generated/v1/snippets/schedules.resume.json +1 -0
- package/generated/v1/snippets/sinkdeliveries.list.json +1 -0
- package/generated/v1/snippets/sinkdeliveries.read.json +1 -0
- package/generated/v1/snippets/testsinks.configure.json +1 -0
- package/generated/v1/snippets/testsinks.create.json +1 -0
- package/generated/v1/snippets/testsinks.delete.json +1 -0
- package/generated/v1/snippets/testsinks.list.json +1 -0
- package/generated/v1/snippets/testsinks.read.json +1 -0
- package/generated/v1/snippets/usage.read.json +1 -0
- package/package.json +7 -2
- package/dist/webhooks.d.ts +0 -116
- package/dist/webhooks.js +0 -161
|
@@ -8968,6 +8968,269 @@
|
|
|
8968
8968
|
]
|
|
8969
8969
|
}
|
|
8970
8970
|
},
|
|
8971
|
+
"/v1/context": {
|
|
8972
|
+
"get": {
|
|
8973
|
+
"description": "Reports the authority the presented credential carries: the project it acts in, which of that project's two environments, and the scopes the service will enforce for it. The answer comes entirely from the verified principal, so there is no parameter that could name another project and no way for the reply to describe anything but the caller itself. It requires a principal and no scope, because every value in it is a property of the credential being presented rather than of anything the credential may reach: a caller that could not read this could still act, and would simply be acting without being able to say where. A signed-in member is not accepted — a session's authority is an organization and it names its project per request, so there is no single answer to give one.",
|
|
8974
|
+
"operationId": "context.read",
|
|
8975
|
+
"parameters": [],
|
|
8976
|
+
"responses": {
|
|
8977
|
+
"200": {
|
|
8978
|
+
"content": {
|
|
8979
|
+
"application/json": {
|
|
8980
|
+
"example": {
|
|
8981
|
+
"environmentKind": "test",
|
|
8982
|
+
"principal": "api-credential",
|
|
8983
|
+
"project": "proj_01h8xyz9k2m4n6p8r0t2v4w6y8",
|
|
8984
|
+
"scopes": ["schedules:read", "schedules:write"]
|
|
8985
|
+
},
|
|
8986
|
+
"schema": {
|
|
8987
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
8988
|
+
"type": "object",
|
|
8989
|
+
"properties": {
|
|
8990
|
+
"environmentKind": {
|
|
8991
|
+
"type": "string",
|
|
8992
|
+
"enum": ["test", "live"]
|
|
8993
|
+
},
|
|
8994
|
+
"principal": {
|
|
8995
|
+
"type": "string",
|
|
8996
|
+
"enum": ["api-credential", "oauth"]
|
|
8997
|
+
},
|
|
8998
|
+
"project": {
|
|
8999
|
+
"type": "string",
|
|
9000
|
+
"pattern": "^proj_[0-9abcdefghjkmnpqrstvwxyz]{26}$"
|
|
9001
|
+
},
|
|
9002
|
+
"scopes": {
|
|
9003
|
+
"minItems": 1,
|
|
9004
|
+
"type": "array",
|
|
9005
|
+
"items": {
|
|
9006
|
+
"type": "string",
|
|
9007
|
+
"enum": [
|
|
9008
|
+
"credentials:administer",
|
|
9009
|
+
"credentials:read",
|
|
9010
|
+
"credentials:write",
|
|
9011
|
+
"endpoints:read",
|
|
9012
|
+
"endpoints:write",
|
|
9013
|
+
"forecast:read",
|
|
9014
|
+
"grants:read",
|
|
9015
|
+
"grants:write",
|
|
9016
|
+
"occurrences:read",
|
|
9017
|
+
"occurrences:redeliver",
|
|
9018
|
+
"projects:read",
|
|
9019
|
+
"projects:write",
|
|
9020
|
+
"schedules:read",
|
|
9021
|
+
"schedules:write",
|
|
9022
|
+
"usage:read"
|
|
9023
|
+
]
|
|
9024
|
+
}
|
|
9025
|
+
}
|
|
9026
|
+
},
|
|
9027
|
+
"required": [
|
|
9028
|
+
"environmentKind",
|
|
9029
|
+
"principal",
|
|
9030
|
+
"project",
|
|
9031
|
+
"scopes"
|
|
9032
|
+
]
|
|
9033
|
+
}
|
|
9034
|
+
}
|
|
9035
|
+
},
|
|
9036
|
+
"description": "Read this credential's authority"
|
|
9037
|
+
},
|
|
9038
|
+
"401": {
|
|
9039
|
+
"content": {
|
|
9040
|
+
"application/problem+json": {
|
|
9041
|
+
"schema": {
|
|
9042
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9043
|
+
"type": "object",
|
|
9044
|
+
"properties": {
|
|
9045
|
+
"code": {
|
|
9046
|
+
"type": "string",
|
|
9047
|
+
"x-problem-codes": [
|
|
9048
|
+
"authentication_required",
|
|
9049
|
+
"credential_expired",
|
|
9050
|
+
"credential_revoked"
|
|
9051
|
+
]
|
|
9052
|
+
},
|
|
9053
|
+
"detail": {
|
|
9054
|
+
"type": "string",
|
|
9055
|
+
"minLength": 1
|
|
9056
|
+
},
|
|
9057
|
+
"errors": {
|
|
9058
|
+
"type": "array",
|
|
9059
|
+
"items": {
|
|
9060
|
+
"type": "object",
|
|
9061
|
+
"properties": {
|
|
9062
|
+
"pointer": {
|
|
9063
|
+
"type": "string",
|
|
9064
|
+
"pattern": "^\\/.*"
|
|
9065
|
+
},
|
|
9066
|
+
"reason": {
|
|
9067
|
+
"type": "string",
|
|
9068
|
+
"minLength": 1
|
|
9069
|
+
}
|
|
9070
|
+
},
|
|
9071
|
+
"required": ["pointer", "reason"]
|
|
9072
|
+
}
|
|
9073
|
+
},
|
|
9074
|
+
"retryAfterSeconds": {
|
|
9075
|
+
"type": "integer",
|
|
9076
|
+
"exclusiveMinimum": 0,
|
|
9077
|
+
"maximum": 9007199254740991
|
|
9078
|
+
},
|
|
9079
|
+
"status": {
|
|
9080
|
+
"type": "integer",
|
|
9081
|
+
"minimum": 400,
|
|
9082
|
+
"maximum": 599
|
|
9083
|
+
},
|
|
9084
|
+
"title": {
|
|
9085
|
+
"type": "string",
|
|
9086
|
+
"minLength": 1
|
|
9087
|
+
},
|
|
9088
|
+
"traceId": {
|
|
9089
|
+
"type": "string",
|
|
9090
|
+
"minLength": 1
|
|
9091
|
+
},
|
|
9092
|
+
"type": {
|
|
9093
|
+
"type": "string",
|
|
9094
|
+
"const": "about:blank"
|
|
9095
|
+
}
|
|
9096
|
+
},
|
|
9097
|
+
"required": ["code", "status", "title", "type"]
|
|
9098
|
+
}
|
|
9099
|
+
}
|
|
9100
|
+
},
|
|
9101
|
+
"description": "Problem document. Possible codes at this status: authentication_required, credential_expired, credential_revoked."
|
|
9102
|
+
},
|
|
9103
|
+
"429": {
|
|
9104
|
+
"content": {
|
|
9105
|
+
"application/problem+json": {
|
|
9106
|
+
"schema": {
|
|
9107
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9108
|
+
"type": "object",
|
|
9109
|
+
"properties": {
|
|
9110
|
+
"code": {
|
|
9111
|
+
"type": "string",
|
|
9112
|
+
"x-problem-codes": ["rate_limited"]
|
|
9113
|
+
},
|
|
9114
|
+
"detail": {
|
|
9115
|
+
"type": "string",
|
|
9116
|
+
"minLength": 1
|
|
9117
|
+
},
|
|
9118
|
+
"errors": {
|
|
9119
|
+
"type": "array",
|
|
9120
|
+
"items": {
|
|
9121
|
+
"type": "object",
|
|
9122
|
+
"properties": {
|
|
9123
|
+
"pointer": {
|
|
9124
|
+
"type": "string",
|
|
9125
|
+
"pattern": "^\\/.*"
|
|
9126
|
+
},
|
|
9127
|
+
"reason": {
|
|
9128
|
+
"type": "string",
|
|
9129
|
+
"minLength": 1
|
|
9130
|
+
}
|
|
9131
|
+
},
|
|
9132
|
+
"required": ["pointer", "reason"]
|
|
9133
|
+
}
|
|
9134
|
+
},
|
|
9135
|
+
"retryAfterSeconds": {
|
|
9136
|
+
"type": "integer",
|
|
9137
|
+
"exclusiveMinimum": 0,
|
|
9138
|
+
"maximum": 9007199254740991
|
|
9139
|
+
},
|
|
9140
|
+
"status": {
|
|
9141
|
+
"type": "integer",
|
|
9142
|
+
"minimum": 400,
|
|
9143
|
+
"maximum": 599
|
|
9144
|
+
},
|
|
9145
|
+
"title": {
|
|
9146
|
+
"type": "string",
|
|
9147
|
+
"minLength": 1
|
|
9148
|
+
},
|
|
9149
|
+
"traceId": {
|
|
9150
|
+
"type": "string",
|
|
9151
|
+
"minLength": 1
|
|
9152
|
+
},
|
|
9153
|
+
"type": {
|
|
9154
|
+
"type": "string",
|
|
9155
|
+
"const": "about:blank"
|
|
9156
|
+
}
|
|
9157
|
+
},
|
|
9158
|
+
"required": ["code", "status", "title", "type"]
|
|
9159
|
+
}
|
|
9160
|
+
}
|
|
9161
|
+
},
|
|
9162
|
+
"description": "Problem document. Possible codes at this status: rate_limited."
|
|
9163
|
+
},
|
|
9164
|
+
"503": {
|
|
9165
|
+
"content": {
|
|
9166
|
+
"application/problem+json": {
|
|
9167
|
+
"schema": {
|
|
9168
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9169
|
+
"type": "object",
|
|
9170
|
+
"properties": {
|
|
9171
|
+
"code": {
|
|
9172
|
+
"type": "string",
|
|
9173
|
+
"x-problem-codes": ["service_unavailable"]
|
|
9174
|
+
},
|
|
9175
|
+
"detail": {
|
|
9176
|
+
"type": "string",
|
|
9177
|
+
"minLength": 1
|
|
9178
|
+
},
|
|
9179
|
+
"errors": {
|
|
9180
|
+
"type": "array",
|
|
9181
|
+
"items": {
|
|
9182
|
+
"type": "object",
|
|
9183
|
+
"properties": {
|
|
9184
|
+
"pointer": {
|
|
9185
|
+
"type": "string",
|
|
9186
|
+
"pattern": "^\\/.*"
|
|
9187
|
+
},
|
|
9188
|
+
"reason": {
|
|
9189
|
+
"type": "string",
|
|
9190
|
+
"minLength": 1
|
|
9191
|
+
}
|
|
9192
|
+
},
|
|
9193
|
+
"required": ["pointer", "reason"]
|
|
9194
|
+
}
|
|
9195
|
+
},
|
|
9196
|
+
"retryAfterSeconds": {
|
|
9197
|
+
"type": "integer",
|
|
9198
|
+
"exclusiveMinimum": 0,
|
|
9199
|
+
"maximum": 9007199254740991
|
|
9200
|
+
},
|
|
9201
|
+
"status": {
|
|
9202
|
+
"type": "integer",
|
|
9203
|
+
"minimum": 400,
|
|
9204
|
+
"maximum": 599
|
|
9205
|
+
},
|
|
9206
|
+
"title": {
|
|
9207
|
+
"type": "string",
|
|
9208
|
+
"minLength": 1
|
|
9209
|
+
},
|
|
9210
|
+
"traceId": {
|
|
9211
|
+
"type": "string",
|
|
9212
|
+
"minLength": 1
|
|
9213
|
+
},
|
|
9214
|
+
"type": {
|
|
9215
|
+
"type": "string",
|
|
9216
|
+
"const": "about:blank"
|
|
9217
|
+
}
|
|
9218
|
+
},
|
|
9219
|
+
"required": ["code", "status", "title", "type"]
|
|
9220
|
+
}
|
|
9221
|
+
}
|
|
9222
|
+
},
|
|
9223
|
+
"description": "Problem document. Possible codes at this status: service_unavailable."
|
|
9224
|
+
}
|
|
9225
|
+
},
|
|
9226
|
+
"summary": "Read this credential's authority",
|
|
9227
|
+
"security": [
|
|
9228
|
+
{
|
|
9229
|
+
"apiCredential": []
|
|
9230
|
+
}
|
|
9231
|
+
]
|
|
9232
|
+
}
|
|
9233
|
+
},
|
|
8971
9234
|
"/v1/credentials": {
|
|
8972
9235
|
"post": {
|
|
8973
9236
|
"description": "Issues an API credential bound to one project and environment, with scopes capped by the issuing member's current role. The full secret is in this response and in no other, is not recoverable afterwards, and there is deliberately no reveal endpoint. The value is the sixteen-character display prefix followed immediately by thirty-two more characters; the example below is a visible placeholder rather than that shape, because a realistic credential in a committed file is one the repository's own secret scanner refuses.",
|
|
@@ -10005,6 +10268,432 @@
|
|
|
10005
10268
|
]
|
|
10006
10269
|
}
|
|
10007
10270
|
},
|
|
10271
|
+
"/v1/credentials/{credentialId}/connection": {
|
|
10272
|
+
"get": {
|
|
10273
|
+
"description": "Reads what a key this project issued should be able to do over MCP: the endpoint to point a client at, the discovery document beside it, the scopes fixed into the key when it was made, and the MCP tool names those scopes authorize. It returns no secret and cannot: the transient value is shown once at creation and is never sent here. The credential is addressed by identifier and re-resolved against the signed-in member's own project and environment, so a key belonging to another project answers exactly as one that does not exist. `state` distinguishes a key that still verifies from one that was revoked and one whose rotation overlap has run out, because a client configured with either fails identically and the remedies differ.",
|
|
10274
|
+
"operationId": "credentials.connection",
|
|
10275
|
+
"parameters": [
|
|
10276
|
+
{
|
|
10277
|
+
"in": "path",
|
|
10278
|
+
"name": "credentialId",
|
|
10279
|
+
"required": true,
|
|
10280
|
+
"schema": {
|
|
10281
|
+
"type": "string"
|
|
10282
|
+
}
|
|
10283
|
+
}
|
|
10284
|
+
],
|
|
10285
|
+
"responses": {
|
|
10286
|
+
"200": {
|
|
10287
|
+
"content": {
|
|
10288
|
+
"application/json": {
|
|
10289
|
+
"example": {
|
|
10290
|
+
"discovery": "https://api.greatwait.dev/.well-known/oauth-protected-resource/mcp",
|
|
10291
|
+
"displayPrefix": "pt_test_a1b2c3d4",
|
|
10292
|
+
"endpoint": "https://api.greatwait.dev/mcp",
|
|
10293
|
+
"id": "ak_01h8xyz9k2m4n6p8r0t2v4w6y8",
|
|
10294
|
+
"scopes": [
|
|
10295
|
+
"occurrences:read",
|
|
10296
|
+
"schedules:read",
|
|
10297
|
+
"schedules:write"
|
|
10298
|
+
],
|
|
10299
|
+
"state": "usable",
|
|
10300
|
+
"tools": [
|
|
10301
|
+
"occurrences_list",
|
|
10302
|
+
"occurrences_read",
|
|
10303
|
+
"schedules_cancel",
|
|
10304
|
+
"schedules_create",
|
|
10305
|
+
"schedules_list",
|
|
10306
|
+
"schedules_read"
|
|
10307
|
+
]
|
|
10308
|
+
},
|
|
10309
|
+
"schema": {
|
|
10310
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10311
|
+
"type": "object",
|
|
10312
|
+
"properties": {
|
|
10313
|
+
"discovery": {
|
|
10314
|
+
"type": "string",
|
|
10315
|
+
"format": "uri"
|
|
10316
|
+
},
|
|
10317
|
+
"displayPrefix": {
|
|
10318
|
+
"type": "string",
|
|
10319
|
+
"pattern": "^pt_(?:live|test)_[0-9a-z]{8}$"
|
|
10320
|
+
},
|
|
10321
|
+
"endpoint": {
|
|
10322
|
+
"type": "string",
|
|
10323
|
+
"format": "uri"
|
|
10324
|
+
},
|
|
10325
|
+
"id": {
|
|
10326
|
+
"type": "string",
|
|
10327
|
+
"pattern": "^ak_[0-9abcdefghjkmnpqrstvwxyz]{26}$"
|
|
10328
|
+
},
|
|
10329
|
+
"scopes": {
|
|
10330
|
+
"type": "array",
|
|
10331
|
+
"items": {
|
|
10332
|
+
"type": "string",
|
|
10333
|
+
"enum": [
|
|
10334
|
+
"credentials:administer",
|
|
10335
|
+
"credentials:read",
|
|
10336
|
+
"credentials:write",
|
|
10337
|
+
"endpoints:read",
|
|
10338
|
+
"endpoints:write",
|
|
10339
|
+
"forecast:read",
|
|
10340
|
+
"grants:read",
|
|
10341
|
+
"grants:write",
|
|
10342
|
+
"occurrences:read",
|
|
10343
|
+
"occurrences:redeliver",
|
|
10344
|
+
"projects:read",
|
|
10345
|
+
"projects:write",
|
|
10346
|
+
"schedules:read",
|
|
10347
|
+
"schedules:write",
|
|
10348
|
+
"usage:read"
|
|
10349
|
+
]
|
|
10350
|
+
}
|
|
10351
|
+
},
|
|
10352
|
+
"state": {
|
|
10353
|
+
"type": "string",
|
|
10354
|
+
"enum": ["usable", "revoked", "expired"]
|
|
10355
|
+
},
|
|
10356
|
+
"tools": {
|
|
10357
|
+
"type": "array",
|
|
10358
|
+
"items": {
|
|
10359
|
+
"type": "string"
|
|
10360
|
+
}
|
|
10361
|
+
}
|
|
10362
|
+
},
|
|
10363
|
+
"required": [
|
|
10364
|
+
"discovery",
|
|
10365
|
+
"displayPrefix",
|
|
10366
|
+
"endpoint",
|
|
10367
|
+
"id",
|
|
10368
|
+
"scopes",
|
|
10369
|
+
"state",
|
|
10370
|
+
"tools"
|
|
10371
|
+
]
|
|
10372
|
+
}
|
|
10373
|
+
}
|
|
10374
|
+
},
|
|
10375
|
+
"description": "Read a credential's MCP connection"
|
|
10376
|
+
},
|
|
10377
|
+
"401": {
|
|
10378
|
+
"content": {
|
|
10379
|
+
"application/problem+json": {
|
|
10380
|
+
"schema": {
|
|
10381
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10382
|
+
"type": "object",
|
|
10383
|
+
"properties": {
|
|
10384
|
+
"code": {
|
|
10385
|
+
"type": "string",
|
|
10386
|
+
"x-problem-codes": [
|
|
10387
|
+
"authentication_required",
|
|
10388
|
+
"credential_expired",
|
|
10389
|
+
"credential_revoked"
|
|
10390
|
+
]
|
|
10391
|
+
},
|
|
10392
|
+
"detail": {
|
|
10393
|
+
"type": "string",
|
|
10394
|
+
"minLength": 1
|
|
10395
|
+
},
|
|
10396
|
+
"errors": {
|
|
10397
|
+
"type": "array",
|
|
10398
|
+
"items": {
|
|
10399
|
+
"type": "object",
|
|
10400
|
+
"properties": {
|
|
10401
|
+
"pointer": {
|
|
10402
|
+
"type": "string",
|
|
10403
|
+
"pattern": "^\\/.*"
|
|
10404
|
+
},
|
|
10405
|
+
"reason": {
|
|
10406
|
+
"type": "string",
|
|
10407
|
+
"minLength": 1
|
|
10408
|
+
}
|
|
10409
|
+
},
|
|
10410
|
+
"required": ["pointer", "reason"]
|
|
10411
|
+
}
|
|
10412
|
+
},
|
|
10413
|
+
"retryAfterSeconds": {
|
|
10414
|
+
"type": "integer",
|
|
10415
|
+
"exclusiveMinimum": 0,
|
|
10416
|
+
"maximum": 9007199254740991
|
|
10417
|
+
},
|
|
10418
|
+
"status": {
|
|
10419
|
+
"type": "integer",
|
|
10420
|
+
"minimum": 400,
|
|
10421
|
+
"maximum": 599
|
|
10422
|
+
},
|
|
10423
|
+
"title": {
|
|
10424
|
+
"type": "string",
|
|
10425
|
+
"minLength": 1
|
|
10426
|
+
},
|
|
10427
|
+
"traceId": {
|
|
10428
|
+
"type": "string",
|
|
10429
|
+
"minLength": 1
|
|
10430
|
+
},
|
|
10431
|
+
"type": {
|
|
10432
|
+
"type": "string",
|
|
10433
|
+
"const": "about:blank"
|
|
10434
|
+
}
|
|
10435
|
+
},
|
|
10436
|
+
"required": ["code", "status", "title", "type"]
|
|
10437
|
+
}
|
|
10438
|
+
}
|
|
10439
|
+
},
|
|
10440
|
+
"description": "Problem document. Possible codes at this status: authentication_required, credential_expired, credential_revoked."
|
|
10441
|
+
},
|
|
10442
|
+
"403": {
|
|
10443
|
+
"content": {
|
|
10444
|
+
"application/problem+json": {
|
|
10445
|
+
"schema": {
|
|
10446
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10447
|
+
"type": "object",
|
|
10448
|
+
"properties": {
|
|
10449
|
+
"code": {
|
|
10450
|
+
"type": "string",
|
|
10451
|
+
"x-problem-codes": ["scope_missing"]
|
|
10452
|
+
},
|
|
10453
|
+
"detail": {
|
|
10454
|
+
"type": "string",
|
|
10455
|
+
"minLength": 1
|
|
10456
|
+
},
|
|
10457
|
+
"errors": {
|
|
10458
|
+
"type": "array",
|
|
10459
|
+
"items": {
|
|
10460
|
+
"type": "object",
|
|
10461
|
+
"properties": {
|
|
10462
|
+
"pointer": {
|
|
10463
|
+
"type": "string",
|
|
10464
|
+
"pattern": "^\\/.*"
|
|
10465
|
+
},
|
|
10466
|
+
"reason": {
|
|
10467
|
+
"type": "string",
|
|
10468
|
+
"minLength": 1
|
|
10469
|
+
}
|
|
10470
|
+
},
|
|
10471
|
+
"required": ["pointer", "reason"]
|
|
10472
|
+
}
|
|
10473
|
+
},
|
|
10474
|
+
"retryAfterSeconds": {
|
|
10475
|
+
"type": "integer",
|
|
10476
|
+
"exclusiveMinimum": 0,
|
|
10477
|
+
"maximum": 9007199254740991
|
|
10478
|
+
},
|
|
10479
|
+
"status": {
|
|
10480
|
+
"type": "integer",
|
|
10481
|
+
"minimum": 400,
|
|
10482
|
+
"maximum": 599
|
|
10483
|
+
},
|
|
10484
|
+
"title": {
|
|
10485
|
+
"type": "string",
|
|
10486
|
+
"minLength": 1
|
|
10487
|
+
},
|
|
10488
|
+
"traceId": {
|
|
10489
|
+
"type": "string",
|
|
10490
|
+
"minLength": 1
|
|
10491
|
+
},
|
|
10492
|
+
"type": {
|
|
10493
|
+
"type": "string",
|
|
10494
|
+
"const": "about:blank"
|
|
10495
|
+
}
|
|
10496
|
+
},
|
|
10497
|
+
"required": ["code", "status", "title", "type"]
|
|
10498
|
+
}
|
|
10499
|
+
}
|
|
10500
|
+
},
|
|
10501
|
+
"description": "Problem document. Possible codes at this status: scope_missing."
|
|
10502
|
+
},
|
|
10503
|
+
"404": {
|
|
10504
|
+
"content": {
|
|
10505
|
+
"application/problem+json": {
|
|
10506
|
+
"schema": {
|
|
10507
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10508
|
+
"type": "object",
|
|
10509
|
+
"properties": {
|
|
10510
|
+
"code": {
|
|
10511
|
+
"type": "string",
|
|
10512
|
+
"x-problem-codes": ["not_found"]
|
|
10513
|
+
},
|
|
10514
|
+
"detail": {
|
|
10515
|
+
"type": "string",
|
|
10516
|
+
"minLength": 1
|
|
10517
|
+
},
|
|
10518
|
+
"errors": {
|
|
10519
|
+
"type": "array",
|
|
10520
|
+
"items": {
|
|
10521
|
+
"type": "object",
|
|
10522
|
+
"properties": {
|
|
10523
|
+
"pointer": {
|
|
10524
|
+
"type": "string",
|
|
10525
|
+
"pattern": "^\\/.*"
|
|
10526
|
+
},
|
|
10527
|
+
"reason": {
|
|
10528
|
+
"type": "string",
|
|
10529
|
+
"minLength": 1
|
|
10530
|
+
}
|
|
10531
|
+
},
|
|
10532
|
+
"required": ["pointer", "reason"]
|
|
10533
|
+
}
|
|
10534
|
+
},
|
|
10535
|
+
"retryAfterSeconds": {
|
|
10536
|
+
"type": "integer",
|
|
10537
|
+
"exclusiveMinimum": 0,
|
|
10538
|
+
"maximum": 9007199254740991
|
|
10539
|
+
},
|
|
10540
|
+
"status": {
|
|
10541
|
+
"type": "integer",
|
|
10542
|
+
"minimum": 400,
|
|
10543
|
+
"maximum": 599
|
|
10544
|
+
},
|
|
10545
|
+
"title": {
|
|
10546
|
+
"type": "string",
|
|
10547
|
+
"minLength": 1
|
|
10548
|
+
},
|
|
10549
|
+
"traceId": {
|
|
10550
|
+
"type": "string",
|
|
10551
|
+
"minLength": 1
|
|
10552
|
+
},
|
|
10553
|
+
"type": {
|
|
10554
|
+
"type": "string",
|
|
10555
|
+
"const": "about:blank"
|
|
10556
|
+
}
|
|
10557
|
+
},
|
|
10558
|
+
"required": ["code", "status", "title", "type"]
|
|
10559
|
+
}
|
|
10560
|
+
}
|
|
10561
|
+
},
|
|
10562
|
+
"description": "Problem document. Possible codes at this status: not_found."
|
|
10563
|
+
},
|
|
10564
|
+
"429": {
|
|
10565
|
+
"content": {
|
|
10566
|
+
"application/problem+json": {
|
|
10567
|
+
"schema": {
|
|
10568
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10569
|
+
"type": "object",
|
|
10570
|
+
"properties": {
|
|
10571
|
+
"code": {
|
|
10572
|
+
"type": "string",
|
|
10573
|
+
"x-problem-codes": ["rate_limited"]
|
|
10574
|
+
},
|
|
10575
|
+
"detail": {
|
|
10576
|
+
"type": "string",
|
|
10577
|
+
"minLength": 1
|
|
10578
|
+
},
|
|
10579
|
+
"errors": {
|
|
10580
|
+
"type": "array",
|
|
10581
|
+
"items": {
|
|
10582
|
+
"type": "object",
|
|
10583
|
+
"properties": {
|
|
10584
|
+
"pointer": {
|
|
10585
|
+
"type": "string",
|
|
10586
|
+
"pattern": "^\\/.*"
|
|
10587
|
+
},
|
|
10588
|
+
"reason": {
|
|
10589
|
+
"type": "string",
|
|
10590
|
+
"minLength": 1
|
|
10591
|
+
}
|
|
10592
|
+
},
|
|
10593
|
+
"required": ["pointer", "reason"]
|
|
10594
|
+
}
|
|
10595
|
+
},
|
|
10596
|
+
"retryAfterSeconds": {
|
|
10597
|
+
"type": "integer",
|
|
10598
|
+
"exclusiveMinimum": 0,
|
|
10599
|
+
"maximum": 9007199254740991
|
|
10600
|
+
},
|
|
10601
|
+
"status": {
|
|
10602
|
+
"type": "integer",
|
|
10603
|
+
"minimum": 400,
|
|
10604
|
+
"maximum": 599
|
|
10605
|
+
},
|
|
10606
|
+
"title": {
|
|
10607
|
+
"type": "string",
|
|
10608
|
+
"minLength": 1
|
|
10609
|
+
},
|
|
10610
|
+
"traceId": {
|
|
10611
|
+
"type": "string",
|
|
10612
|
+
"minLength": 1
|
|
10613
|
+
},
|
|
10614
|
+
"type": {
|
|
10615
|
+
"type": "string",
|
|
10616
|
+
"const": "about:blank"
|
|
10617
|
+
}
|
|
10618
|
+
},
|
|
10619
|
+
"required": ["code", "status", "title", "type"]
|
|
10620
|
+
}
|
|
10621
|
+
}
|
|
10622
|
+
},
|
|
10623
|
+
"description": "Problem document. Possible codes at this status: rate_limited."
|
|
10624
|
+
},
|
|
10625
|
+
"503": {
|
|
10626
|
+
"content": {
|
|
10627
|
+
"application/problem+json": {
|
|
10628
|
+
"schema": {
|
|
10629
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10630
|
+
"type": "object",
|
|
10631
|
+
"properties": {
|
|
10632
|
+
"code": {
|
|
10633
|
+
"type": "string",
|
|
10634
|
+
"x-problem-codes": ["service_unavailable"]
|
|
10635
|
+
},
|
|
10636
|
+
"detail": {
|
|
10637
|
+
"type": "string",
|
|
10638
|
+
"minLength": 1
|
|
10639
|
+
},
|
|
10640
|
+
"errors": {
|
|
10641
|
+
"type": "array",
|
|
10642
|
+
"items": {
|
|
10643
|
+
"type": "object",
|
|
10644
|
+
"properties": {
|
|
10645
|
+
"pointer": {
|
|
10646
|
+
"type": "string",
|
|
10647
|
+
"pattern": "^\\/.*"
|
|
10648
|
+
},
|
|
10649
|
+
"reason": {
|
|
10650
|
+
"type": "string",
|
|
10651
|
+
"minLength": 1
|
|
10652
|
+
}
|
|
10653
|
+
},
|
|
10654
|
+
"required": ["pointer", "reason"]
|
|
10655
|
+
}
|
|
10656
|
+
},
|
|
10657
|
+
"retryAfterSeconds": {
|
|
10658
|
+
"type": "integer",
|
|
10659
|
+
"exclusiveMinimum": 0,
|
|
10660
|
+
"maximum": 9007199254740991
|
|
10661
|
+
},
|
|
10662
|
+
"status": {
|
|
10663
|
+
"type": "integer",
|
|
10664
|
+
"minimum": 400,
|
|
10665
|
+
"maximum": 599
|
|
10666
|
+
},
|
|
10667
|
+
"title": {
|
|
10668
|
+
"type": "string",
|
|
10669
|
+
"minLength": 1
|
|
10670
|
+
},
|
|
10671
|
+
"traceId": {
|
|
10672
|
+
"type": "string",
|
|
10673
|
+
"minLength": 1
|
|
10674
|
+
},
|
|
10675
|
+
"type": {
|
|
10676
|
+
"type": "string",
|
|
10677
|
+
"const": "about:blank"
|
|
10678
|
+
}
|
|
10679
|
+
},
|
|
10680
|
+
"required": ["code", "status", "title", "type"]
|
|
10681
|
+
}
|
|
10682
|
+
}
|
|
10683
|
+
},
|
|
10684
|
+
"description": "Problem document. Possible codes at this status: service_unavailable."
|
|
10685
|
+
}
|
|
10686
|
+
},
|
|
10687
|
+
"summary": "Read a credential's MCP connection",
|
|
10688
|
+
"security": [
|
|
10689
|
+
{
|
|
10690
|
+
"memberSession": ["credentials:read"],
|
|
10691
|
+
"memberSessionEnvironment": [],
|
|
10692
|
+
"memberSessionProject": []
|
|
10693
|
+
}
|
|
10694
|
+
]
|
|
10695
|
+
}
|
|
10696
|
+
},
|
|
10008
10697
|
"/v1/projects": {
|
|
10009
10698
|
"get": {
|
|
10010
10699
|
"description": "Lists the projects in the signed-in member's organization that they may act in, with the environment kinds each one has. This is what a browser asks before it can address anything else: an API credential and an OAuth token each carry one project intrinsically, but a member belongs to an organization and chooses. Archived and deleted projects are omitted, because a member cannot act in one. The result is a display aid rather than an authorization control — naming a project on a later request re-resolves it against the member's own organization, and a project that is not theirs answers exactly as one that does not exist.",
|
|
@@ -23555,7 +24244,7 @@
|
|
|
23555
24244
|
"maxHoldMs": 45000,
|
|
23556
24245
|
"maxRetainedDeliveries": 50,
|
|
23557
24246
|
"maxSinksPerEnvironment": 10,
|
|
23558
|
-
"maxRequestBodyBytes":
|
|
24247
|
+
"maxRequestBodyBytes": 69632,
|
|
23559
24248
|
"maxRetainedBodyBytes": 4096
|
|
23560
24249
|
},
|
|
23561
24250
|
"clientErrorStatuses": [400, 401, 403, 404, 409, 410, 422],
|