@faable/auth-sdk 2.7.58 → 2.7.60
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/api/generated-client.d.ts +2 -1
- package/dist/api/generated-client.js +2 -1
- package/dist/api/types.d.ts +118 -6
- package/dist/version.js +2 -2
- package/package.json +1 -1
- package/spec/openapi.json +178 -6
|
@@ -4891,7 +4891,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4891
4891
|
*
|
|
4892
4892
|
* Add Users to a Team
|
|
4893
4893
|
*
|
|
4894
|
-
* Adds one or more Users as members of the given Team. Returns the
|
|
4894
|
+
* Adds one or more Users of this tenant as members of the given Team, with the same roles. Users already in the team are skipped; `already_member` only when all of them are. A user or team that is not in this tenant is a 404. Returns the TeamMember record of the first user in `users`.
|
|
4895
4895
|
*
|
|
4896
4896
|
* @throws {FaableApiError} `already_member` (400) — The user is already a member of the team.
|
|
4897
4897
|
* @throws {FaableApiError} `validation_error` (400) — The body, query or path failed schema validation. `details.issues` lists each failing field.
|
|
@@ -4899,6 +4899,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4899
4899
|
* @throws {FaableApiError} `forbidden` (403) — The credentials are valid but do not allow this operation.
|
|
4900
4900
|
* @throws {FaableApiError} `insufficient_scope` (403) — The token lacks a scope this operation requires. `message` names it.
|
|
4901
4901
|
* @throws {FaableApiError} `user_suspended` (403) — The user is suspended and cannot sign in or be modified.
|
|
4902
|
+
* @throws {FaableApiError} `not_found` (404) — The resource does not exist in this account.
|
|
4902
4903
|
* @throws {FaableApiError} `account_not_found` (404) — No Auth Account matches the request (domain, header or token).
|
|
4903
4904
|
* @throws {FaableApiError} `too_many_requests` (429) — Rate limit exceeded. Honour the `Retry-After` header.
|
|
4904
4905
|
* @throws {FaableApiError} `internal_error` (500) — Unexpected server error. Retry later; the request id is logged.
|
|
@@ -1751,7 +1751,7 @@ export class GeneratedFaableAuthApi extends FaableApi {
|
|
|
1751
1751
|
*
|
|
1752
1752
|
* Add Users to a Team
|
|
1753
1753
|
*
|
|
1754
|
-
* Adds one or more Users as members of the given Team. Returns the
|
|
1754
|
+
* Adds one or more Users of this tenant as members of the given Team, with the same roles. Users already in the team are skipped; `already_member` only when all of them are. A user or team that is not in this tenant is a 404. Returns the TeamMember record of the first user in `users`.
|
|
1755
1755
|
*
|
|
1756
1756
|
* @throws {FaableApiError} `already_member` (400) — The user is already a member of the team.
|
|
1757
1757
|
* @throws {FaableApiError} `validation_error` (400) — The body, query or path failed schema validation. `details.issues` lists each failing field.
|
|
@@ -1759,6 +1759,7 @@ export class GeneratedFaableAuthApi extends FaableApi {
|
|
|
1759
1759
|
* @throws {FaableApiError} `forbidden` (403) — The credentials are valid but do not allow this operation.
|
|
1760
1760
|
* @throws {FaableApiError} `insufficient_scope` (403) — The token lacks a scope this operation requires. `message` names it.
|
|
1761
1761
|
* @throws {FaableApiError} `user_suspended` (403) — The user is suspended and cannot sign in or be modified.
|
|
1762
|
+
* @throws {FaableApiError} `not_found` (404) — The resource does not exist in this account.
|
|
1762
1763
|
* @throws {FaableApiError} `account_not_found` (404) — No Auth Account matches the request (domain, header or token).
|
|
1763
1764
|
* @throws {FaableApiError} `too_many_requests` (429) — Rate limit exceeded. Honour the `Retry-After` header.
|
|
1764
1765
|
* @throws {FaableApiError} `internal_error` (500) — Unexpected server error. Retry later; the request id is logged.
|
package/dist/api/types.d.ts
CHANGED
|
@@ -1259,7 +1259,7 @@ export interface paths {
|
|
|
1259
1259
|
put?: never;
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Add Users to a Team
|
|
1262
|
-
* @description Adds one or more Users as members of the given Team. Returns the
|
|
1262
|
+
* @description Adds one or more Users of this tenant as members of the given Team, with the same roles. Users already in the team are skipped; `already_member` only when all of them are. A user or team that is not in this tenant is a 404. Returns the TeamMember record of the first user in `users`.
|
|
1263
1263
|
*/
|
|
1264
1264
|
post: operations["team/addMembers"];
|
|
1265
1265
|
delete?: never;
|
|
@@ -1341,7 +1341,7 @@ export interface paths {
|
|
|
1341
1341
|
};
|
|
1342
1342
|
/**
|
|
1343
1343
|
* Verify a team-invite ticket and add the user to the team
|
|
1344
|
-
* @description Entry point for the link sent to the invitee. Consumes the ticket, creates the user if needed (with `email_verified=true` — the click proves ownership), and adds them to the team with the invited roles. Then redirects to the `redirect_uri` supplied at invite time with `?status=accepted` appended; falls back to `/flow/team-invite-done` on the auth host when no `redirect_uri` was given. Idempotent if the user is already a member.
|
|
1344
|
+
* @description Entry point for the link sent to the invitee, which carries `token` — the invite's own secret. `ticket` (the invite id) is accepted only for invites issued before invites had a secret. Consumes the ticket, creates the user if needed (with `email_verified=true` — the click proves ownership), and adds them to the team with the invited roles. Then redirects to the `redirect_uri` supplied at invite time with `?status=accepted` appended; falls back to `/flow/team-invite-done` on the auth host when no `redirect_uri` was given. Idempotent if the user is already a member.
|
|
1345
1345
|
*/
|
|
1346
1346
|
get: operations["team_invite_verify"];
|
|
1347
1347
|
put?: never;
|
|
@@ -4016,6 +4016,26 @@ export interface paths {
|
|
|
4016
4016
|
patch?: never;
|
|
4017
4017
|
trace?: never;
|
|
4018
4018
|
};
|
|
4019
|
+
"/oauth/session-from-ticket": {
|
|
4020
|
+
parameters: {
|
|
4021
|
+
query?: never;
|
|
4022
|
+
header?: never;
|
|
4023
|
+
path?: never;
|
|
4024
|
+
cookie?: never;
|
|
4025
|
+
};
|
|
4026
|
+
/**
|
|
4027
|
+
* Open the hosted session from a ticket
|
|
4028
|
+
* @description Consumes a ticket from `POST /oauth/link_ticket`, establishes the cookie session for its user and redirects to `redirect_to`, a hosted screen of this host. For Relying Parties that signed the user in with a direct grant (e.g. passwordless OTP) and so hold no cookie session, when they send the user to an account screen such as `/flow/account/security`.
|
|
4029
|
+
*/
|
|
4030
|
+
get: operations["oauth/sessionFromTicket"];
|
|
4031
|
+
put?: never;
|
|
4032
|
+
post?: never;
|
|
4033
|
+
delete?: never;
|
|
4034
|
+
options?: never;
|
|
4035
|
+
head?: never;
|
|
4036
|
+
patch?: never;
|
|
4037
|
+
trace?: never;
|
|
4038
|
+
};
|
|
4019
4039
|
"/oauth/token": {
|
|
4020
4040
|
parameters: {
|
|
4021
4041
|
query?: never;
|
|
@@ -18798,7 +18818,11 @@ export interface operations {
|
|
|
18798
18818
|
};
|
|
18799
18819
|
};
|
|
18800
18820
|
};
|
|
18801
|
-
/**
|
|
18821
|
+
/**
|
|
18822
|
+
* @description `not_found` — The resource does not exist in this account.
|
|
18823
|
+
*
|
|
18824
|
+
* `account_not_found` — No Auth Account matches the request (domain, header or token).
|
|
18825
|
+
*/
|
|
18802
18826
|
404: {
|
|
18803
18827
|
headers: {
|
|
18804
18828
|
[name: string]: unknown;
|
|
@@ -18806,7 +18830,7 @@ export interface operations {
|
|
|
18806
18830
|
content: {
|
|
18807
18831
|
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
18808
18832
|
/** @enum {string} */
|
|
18809
|
-
error_code?: "account_not_found";
|
|
18833
|
+
error_code?: "not_found" | "account_not_found";
|
|
18810
18834
|
};
|
|
18811
18835
|
};
|
|
18812
18836
|
};
|
|
@@ -19370,8 +19394,9 @@ export interface operations {
|
|
|
19370
19394
|
};
|
|
19371
19395
|
team_invite_verify: {
|
|
19372
19396
|
parameters: {
|
|
19373
|
-
query
|
|
19374
|
-
|
|
19397
|
+
query?: {
|
|
19398
|
+
token?: string;
|
|
19399
|
+
ticket?: string;
|
|
19375
19400
|
};
|
|
19376
19401
|
header?: never;
|
|
19377
19402
|
path?: never;
|
|
@@ -26975,6 +27000,93 @@ export interface operations {
|
|
|
26975
27000
|
};
|
|
26976
27001
|
};
|
|
26977
27002
|
};
|
|
27003
|
+
"oauth/sessionFromTicket": {
|
|
27004
|
+
parameters: {
|
|
27005
|
+
query: {
|
|
27006
|
+
/** @description A ticket from `POST /oauth/link_ticket`, single use. */
|
|
27007
|
+
ticket: string;
|
|
27008
|
+
/** @description Where to go once the session is open: a path of this host under `/flow/` (e.g. `/flow/account/security?client_id=…`). */
|
|
27009
|
+
redirect_to: string;
|
|
27010
|
+
};
|
|
27011
|
+
header?: never;
|
|
27012
|
+
path?: never;
|
|
27013
|
+
cookie?: never;
|
|
27014
|
+
};
|
|
27015
|
+
requestBody?: never;
|
|
27016
|
+
responses: {
|
|
27017
|
+
/** @description Default Response */
|
|
27018
|
+
200: {
|
|
27019
|
+
headers: {
|
|
27020
|
+
[name: string]: unknown;
|
|
27021
|
+
};
|
|
27022
|
+
content?: never;
|
|
27023
|
+
};
|
|
27024
|
+
/**
|
|
27025
|
+
* @description `invalid_request` — A required OAuth parameter is missing or two of them are incompatible. `message` says which.
|
|
27026
|
+
*
|
|
27027
|
+
* `validation_error` — The body, query or path failed schema validation. `details.issues` lists each failing field.
|
|
27028
|
+
*/
|
|
27029
|
+
400: {
|
|
27030
|
+
headers: {
|
|
27031
|
+
[name: string]: unknown;
|
|
27032
|
+
};
|
|
27033
|
+
content: {
|
|
27034
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
27035
|
+
/** @enum {string} */
|
|
27036
|
+
error_code?: "invalid_request" | "validation_error";
|
|
27037
|
+
};
|
|
27038
|
+
};
|
|
27039
|
+
};
|
|
27040
|
+
/** @description `user_suspended` — The user is suspended and cannot sign in or be modified. */
|
|
27041
|
+
403: {
|
|
27042
|
+
headers: {
|
|
27043
|
+
[name: string]: unknown;
|
|
27044
|
+
};
|
|
27045
|
+
content: {
|
|
27046
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
27047
|
+
/** @enum {string} */
|
|
27048
|
+
error_code?: "user_suspended";
|
|
27049
|
+
};
|
|
27050
|
+
};
|
|
27051
|
+
};
|
|
27052
|
+
/** @description `account_not_found` — No Auth Account matches the request (domain, header or token). */
|
|
27053
|
+
404: {
|
|
27054
|
+
headers: {
|
|
27055
|
+
[name: string]: unknown;
|
|
27056
|
+
};
|
|
27057
|
+
content: {
|
|
27058
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
27059
|
+
/** @enum {string} */
|
|
27060
|
+
error_code?: "account_not_found";
|
|
27061
|
+
};
|
|
27062
|
+
};
|
|
27063
|
+
};
|
|
27064
|
+
/** @description `too_many_requests` — Rate limit exceeded. Honour the `Retry-After` header. */
|
|
27065
|
+
429: {
|
|
27066
|
+
headers: {
|
|
27067
|
+
[name: string]: unknown;
|
|
27068
|
+
};
|
|
27069
|
+
content: {
|
|
27070
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
27071
|
+
/** @enum {string} */
|
|
27072
|
+
error_code?: "too_many_requests";
|
|
27073
|
+
};
|
|
27074
|
+
};
|
|
27075
|
+
};
|
|
27076
|
+
/** @description `internal_error` — Unexpected server error. Retry later; the request id is logged. */
|
|
27077
|
+
500: {
|
|
27078
|
+
headers: {
|
|
27079
|
+
[name: string]: unknown;
|
|
27080
|
+
};
|
|
27081
|
+
content: {
|
|
27082
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
27083
|
+
/** @enum {string} */
|
|
27084
|
+
error_code?: "internal_error";
|
|
27085
|
+
};
|
|
27086
|
+
};
|
|
27087
|
+
};
|
|
27088
|
+
};
|
|
27089
|
+
};
|
|
26978
27090
|
"oauth/tokenGet": {
|
|
26979
27091
|
parameters: {
|
|
26980
27092
|
query?: {
|
package/dist/version.js
CHANGED
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
// login pages could not import the SDK at all. Same pattern as auth-js.
|
|
10
10
|
//
|
|
11
11
|
// The sentinels MUST stay byte-identical to the `from` values in `.releaserc`.
|
|
12
|
-
export const version = "2.7.
|
|
12
|
+
export const version = "2.7.60";
|
|
13
13
|
// Short git SHA of the released commit. The version dates a build; this names
|
|
14
14
|
// the exact tree, so a canonical log line or an audit entry leads straight to
|
|
15
15
|
// `git show <sha>`. Deliberately NOT hex: an unreleased build (dev, a local
|
|
16
16
|
// link) cannot be mistaken for a real commit — auth only records values that
|
|
17
17
|
// look like a SHA, and this one never will.
|
|
18
|
-
export const commit = "
|
|
18
|
+
export const commit = "6d4107b";
|
|
19
19
|
// What this SDK writes in `x-faable-client`. Exported for a consumer that
|
|
20
20
|
// builds a strategy on its own (outside `FaableAuthApi`) and still wants the
|
|
21
21
|
// token request attributed — a bare `authClientCredentials` stamps only what
|
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@faablecloud/auth",
|
|
5
5
|
"description": "Auth Platform made by Faable. Manage Users and Roles",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.51.1",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "private",
|
|
9
9
|
"url": "https://faable.com/docs/platform/privacy-policy"
|
|
@@ -35810,7 +35810,7 @@
|
|
|
35810
35810
|
"tags": [
|
|
35811
35811
|
"team"
|
|
35812
35812
|
],
|
|
35813
|
-
"description": "Adds one or more Users as members of the given Team. Returns the
|
|
35813
|
+
"description": "Adds one or more Users of this tenant as members of the given Team, with the same roles. Users already in the team are skipped; `already_member` only when all of them are. A user or team that is not in this tenant is a 404. Returns the TeamMember record of the first user in `users`.",
|
|
35814
35814
|
"requestBody": {
|
|
35815
35815
|
"required": true,
|
|
35816
35816
|
"content": {
|
|
@@ -36028,7 +36028,7 @@
|
|
|
36028
36028
|
}
|
|
36029
36029
|
},
|
|
36030
36030
|
"404": {
|
|
36031
|
-
"description": "`account_not_found` — No Auth Account matches the request (domain, header or token).",
|
|
36031
|
+
"description": "`not_found` — The resource does not exist in this account.\n\n`account_not_found` — No Auth Account matches the request (domain, header or token).",
|
|
36032
36032
|
"content": {
|
|
36033
36033
|
"application/json": {
|
|
36034
36034
|
"schema": {
|
|
@@ -36042,6 +36042,7 @@
|
|
|
36042
36042
|
"error_code": {
|
|
36043
36043
|
"type": "string",
|
|
36044
36044
|
"enum": [
|
|
36045
|
+
"not_found",
|
|
36045
36046
|
"account_not_found"
|
|
36046
36047
|
]
|
|
36047
36048
|
}
|
|
@@ -37271,15 +37272,25 @@
|
|
|
37271
37272
|
"tags": [
|
|
37272
37273
|
"team"
|
|
37273
37274
|
],
|
|
37274
|
-
"description": "Entry point for the link sent to the invitee. Consumes the ticket, creates the user if needed (with `email_verified=true` — the click proves ownership), and adds them to the team with the invited roles. Then redirects to the `redirect_uri` supplied at invite time with `?status=accepted` appended; falls back to `/flow/team-invite-done` on the auth host when no `redirect_uri` was given. Idempotent if the user is already a member.",
|
|
37275
|
+
"description": "Entry point for the link sent to the invitee, which carries `token` — the invite's own secret. `ticket` (the invite id) is accepted only for invites issued before invites had a secret. Consumes the ticket, creates the user if needed (with `email_verified=true` — the click proves ownership), and adds them to the team with the invited roles. Then redirects to the `redirect_uri` supplied at invite time with `?status=accepted` appended; falls back to `/flow/team-invite-done` on the auth host when no `redirect_uri` was given. Idempotent if the user is already a member.",
|
|
37275
37276
|
"parameters": [
|
|
37276
37277
|
{
|
|
37277
37278
|
"schema": {
|
|
37278
|
-
"type": "string"
|
|
37279
|
+
"type": "string",
|
|
37280
|
+
"minLength": 1
|
|
37281
|
+
},
|
|
37282
|
+
"in": "query",
|
|
37283
|
+
"name": "token",
|
|
37284
|
+
"required": false
|
|
37285
|
+
},
|
|
37286
|
+
{
|
|
37287
|
+
"schema": {
|
|
37288
|
+
"type": "string",
|
|
37289
|
+
"minLength": 1
|
|
37279
37290
|
},
|
|
37280
37291
|
"in": "query",
|
|
37281
37292
|
"name": "ticket",
|
|
37282
|
-
"required":
|
|
37293
|
+
"required": false
|
|
37283
37294
|
}
|
|
37284
37295
|
],
|
|
37285
37296
|
"responses": {
|
|
@@ -59456,6 +59467,167 @@
|
|
|
59456
59467
|
}
|
|
59457
59468
|
}
|
|
59458
59469
|
},
|
|
59470
|
+
"/oauth/session-from-ticket": {
|
|
59471
|
+
"get": {
|
|
59472
|
+
"operationId": "oauth/sessionFromTicket",
|
|
59473
|
+
"summary": "Open the hosted session from a ticket",
|
|
59474
|
+
"tags": [
|
|
59475
|
+
"oauth"
|
|
59476
|
+
],
|
|
59477
|
+
"description": "Consumes a ticket from `POST /oauth/link_ticket`, establishes the cookie session for its user and redirects to `redirect_to`, a hosted screen of this host. For Relying Parties that signed the user in with a direct grant (e.g. passwordless OTP) and so hold no cookie session, when they send the user to an account screen such as `/flow/account/security`.",
|
|
59478
|
+
"parameters": [
|
|
59479
|
+
{
|
|
59480
|
+
"schema": {
|
|
59481
|
+
"type": "string"
|
|
59482
|
+
},
|
|
59483
|
+
"in": "query",
|
|
59484
|
+
"name": "ticket",
|
|
59485
|
+
"required": true,
|
|
59486
|
+
"description": "A ticket from `POST /oauth/link_ticket`, single use."
|
|
59487
|
+
},
|
|
59488
|
+
{
|
|
59489
|
+
"schema": {
|
|
59490
|
+
"type": "string"
|
|
59491
|
+
},
|
|
59492
|
+
"in": "query",
|
|
59493
|
+
"name": "redirect_to",
|
|
59494
|
+
"required": true,
|
|
59495
|
+
"description": "Where to go once the session is open: a path of this host under `/flow/` (e.g. `/flow/account/security?client_id=…`)."
|
|
59496
|
+
}
|
|
59497
|
+
],
|
|
59498
|
+
"responses": {
|
|
59499
|
+
"200": {
|
|
59500
|
+
"description": "Default Response"
|
|
59501
|
+
},
|
|
59502
|
+
"400": {
|
|
59503
|
+
"description": "`invalid_request` — A required OAuth parameter is missing or two of them are incompatible. `message` says which.\n\n`validation_error` — The body, query or path failed schema validation. `details.issues` lists each failing field.",
|
|
59504
|
+
"content": {
|
|
59505
|
+
"application/json": {
|
|
59506
|
+
"schema": {
|
|
59507
|
+
"allOf": [
|
|
59508
|
+
{
|
|
59509
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
59510
|
+
},
|
|
59511
|
+
{
|
|
59512
|
+
"type": "object",
|
|
59513
|
+
"properties": {
|
|
59514
|
+
"error_code": {
|
|
59515
|
+
"type": "string",
|
|
59516
|
+
"enum": [
|
|
59517
|
+
"invalid_request",
|
|
59518
|
+
"validation_error"
|
|
59519
|
+
]
|
|
59520
|
+
}
|
|
59521
|
+
}
|
|
59522
|
+
}
|
|
59523
|
+
]
|
|
59524
|
+
}
|
|
59525
|
+
}
|
|
59526
|
+
}
|
|
59527
|
+
},
|
|
59528
|
+
"403": {
|
|
59529
|
+
"description": "`user_suspended` — The user is suspended and cannot sign in or be modified.",
|
|
59530
|
+
"content": {
|
|
59531
|
+
"application/json": {
|
|
59532
|
+
"schema": {
|
|
59533
|
+
"allOf": [
|
|
59534
|
+
{
|
|
59535
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
59536
|
+
},
|
|
59537
|
+
{
|
|
59538
|
+
"type": "object",
|
|
59539
|
+
"properties": {
|
|
59540
|
+
"error_code": {
|
|
59541
|
+
"type": "string",
|
|
59542
|
+
"enum": [
|
|
59543
|
+
"user_suspended"
|
|
59544
|
+
]
|
|
59545
|
+
}
|
|
59546
|
+
}
|
|
59547
|
+
}
|
|
59548
|
+
]
|
|
59549
|
+
}
|
|
59550
|
+
}
|
|
59551
|
+
}
|
|
59552
|
+
},
|
|
59553
|
+
"404": {
|
|
59554
|
+
"description": "`account_not_found` — No Auth Account matches the request (domain, header or token).",
|
|
59555
|
+
"content": {
|
|
59556
|
+
"application/json": {
|
|
59557
|
+
"schema": {
|
|
59558
|
+
"allOf": [
|
|
59559
|
+
{
|
|
59560
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
59561
|
+
},
|
|
59562
|
+
{
|
|
59563
|
+
"type": "object",
|
|
59564
|
+
"properties": {
|
|
59565
|
+
"error_code": {
|
|
59566
|
+
"type": "string",
|
|
59567
|
+
"enum": [
|
|
59568
|
+
"account_not_found"
|
|
59569
|
+
]
|
|
59570
|
+
}
|
|
59571
|
+
}
|
|
59572
|
+
}
|
|
59573
|
+
]
|
|
59574
|
+
}
|
|
59575
|
+
}
|
|
59576
|
+
}
|
|
59577
|
+
},
|
|
59578
|
+
"429": {
|
|
59579
|
+
"description": "`too_many_requests` — Rate limit exceeded. Honour the `Retry-After` header.",
|
|
59580
|
+
"content": {
|
|
59581
|
+
"application/json": {
|
|
59582
|
+
"schema": {
|
|
59583
|
+
"allOf": [
|
|
59584
|
+
{
|
|
59585
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
59586
|
+
},
|
|
59587
|
+
{
|
|
59588
|
+
"type": "object",
|
|
59589
|
+
"properties": {
|
|
59590
|
+
"error_code": {
|
|
59591
|
+
"type": "string",
|
|
59592
|
+
"enum": [
|
|
59593
|
+
"too_many_requests"
|
|
59594
|
+
]
|
|
59595
|
+
}
|
|
59596
|
+
}
|
|
59597
|
+
}
|
|
59598
|
+
]
|
|
59599
|
+
}
|
|
59600
|
+
}
|
|
59601
|
+
}
|
|
59602
|
+
},
|
|
59603
|
+
"500": {
|
|
59604
|
+
"description": "`internal_error` — Unexpected server error. Retry later; the request id is logged.",
|
|
59605
|
+
"content": {
|
|
59606
|
+
"application/json": {
|
|
59607
|
+
"schema": {
|
|
59608
|
+
"allOf": [
|
|
59609
|
+
{
|
|
59610
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
59611
|
+
},
|
|
59612
|
+
{
|
|
59613
|
+
"type": "object",
|
|
59614
|
+
"properties": {
|
|
59615
|
+
"error_code": {
|
|
59616
|
+
"type": "string",
|
|
59617
|
+
"enum": [
|
|
59618
|
+
"internal_error"
|
|
59619
|
+
]
|
|
59620
|
+
}
|
|
59621
|
+
}
|
|
59622
|
+
}
|
|
59623
|
+
]
|
|
59624
|
+
}
|
|
59625
|
+
}
|
|
59626
|
+
}
|
|
59627
|
+
}
|
|
59628
|
+
}
|
|
59629
|
+
}
|
|
59630
|
+
},
|
|
59459
59631
|
"/oauth/token": {
|
|
59460
59632
|
"get": {
|
|
59461
59633
|
"operationId": "oauth/tokenGet",
|