@faable/deploy-sdk 2.10.0 → 2.12.0
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/FaableDeployApi.d.ts +44 -0
- package/dist/FaableDeployApi.d.ts.map +1 -1
- package/dist/api/api-types.d.ts +3 -0
- package/dist/api/api-types.d.ts.map +1 -1
- package/dist/api/generated-client.d.ts +213 -11
- package/dist/api/generated-client.d.ts.map +1 -1
- package/dist/api/generated-client.js +63 -2
- package/dist/api/types.d.ts +425 -10
- package/dist/api/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/scripts/gen-client.mjs +15 -11
- package/spec/openapi.json +1752 -190
package/spec/openapi.json
CHANGED
|
@@ -17,24 +17,32 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"securitySchemes": {
|
|
20
|
-
"faable_machine": {
|
|
21
|
-
"type": "http",
|
|
22
|
-
"scheme": "bearer",
|
|
23
|
-
"bearerFormat": "JWT",
|
|
24
|
-
"description": "Paste the token obtained from the Token Exchange flow (GitHub OIDC)"
|
|
25
|
-
},
|
|
26
20
|
"faable_user": {
|
|
27
21
|
"type": "oauth2",
|
|
22
|
+
"description": "Interactive user login — the flow the dashboard uses. Authorization Code with PKCE (S256); the auth server accepts public clients, so no client secret is involved. To use the Authorize button here, the client you enter must have `<this-host>/docs/oauth2-redirect.html` registered as a redirect URI.",
|
|
28
23
|
"flows": {
|
|
29
24
|
"authorizationCode": {
|
|
30
|
-
"authorizationUrl": "https://faable.auth.faable.link/authorize
|
|
25
|
+
"authorizationUrl": "https://faable.auth.faable.link/authorize",
|
|
31
26
|
"tokenUrl": "https://faable.auth.faable.link/oauth/token",
|
|
32
|
-
"
|
|
27
|
+
"refreshUrl": "https://faable.auth.faable.link/oauth/token",
|
|
28
|
+
"scopes": {
|
|
29
|
+
"openid": "Sign in and read the subject claim",
|
|
30
|
+
"profile": "Basic profile of the signed-in user",
|
|
31
|
+
"email": "Email address of the signed-in user",
|
|
32
|
+
"offline_access": "Issue a refresh token"
|
|
33
|
+
}
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
},
|
|
36
37
|
"faable_cli": {
|
|
38
|
+
"type": "http",
|
|
39
|
+
"scheme": "bearer",
|
|
40
|
+
"bearerFormat": "JWT",
|
|
41
|
+
"description": "Token issued by `faable login`, which runs the OAuth 2.0 device authorization grant (RFC 8628: `POST /oauth/device/code`, then `POST /oauth/token` with `grant_type=urn:ietf:params:oauth:grant-type:device_code`). OpenAPI has no device flow object, so paste the access token directly."
|
|
42
|
+
},
|
|
43
|
+
"faable_m2m": {
|
|
37
44
|
"type": "oauth2",
|
|
45
|
+
"description": "Machine-to-machine identity (service accounts, the SDKs). The token carries no user, so endpoints scoped to a user reject it.",
|
|
38
46
|
"flows": {
|
|
39
47
|
"clientCredentials": {
|
|
40
48
|
"tokenUrl": "https://faable.auth.faable.link/oauth/token",
|
|
@@ -42,10 +50,22 @@
|
|
|
42
50
|
}
|
|
43
51
|
}
|
|
44
52
|
},
|
|
53
|
+
"faable_machine": {
|
|
54
|
+
"type": "http",
|
|
55
|
+
"scheme": "bearer",
|
|
56
|
+
"bearerFormat": "JWT",
|
|
57
|
+
"description": "Token obtained by exchanging a GitHub Actions OIDC token (RFC 8693 token exchange) — how a workflow deploys without a stored secret. The remote builder also authenticates as a machine, with an opaque `fbt_…` build token minted per deployment and scoped to its app; those are issued by the platform and cannot be requested here."
|
|
58
|
+
},
|
|
59
|
+
"apikey_basic": {
|
|
60
|
+
"type": "http",
|
|
61
|
+
"scheme": "basic",
|
|
62
|
+
"description": "API key as HTTP Basic: the key is the username, the password is empty (`Authorization: Basic base64(\"<key>:\")`). Preferred over the query parameter — it keeps the key out of URLs, logs and referrers."
|
|
63
|
+
},
|
|
45
64
|
"apikey": {
|
|
46
65
|
"type": "apiKey",
|
|
47
66
|
"in": "query",
|
|
48
|
-
"name": "apikey"
|
|
67
|
+
"name": "apikey",
|
|
68
|
+
"description": "API key as a query parameter. Accepted, but it travels in the URL, so prefer `apikey_basic`."
|
|
49
69
|
}
|
|
50
70
|
},
|
|
51
71
|
"schemas": {
|
|
@@ -60,6 +80,86 @@
|
|
|
60
80
|
"items": {
|
|
61
81
|
"type": "string",
|
|
62
82
|
"format": "email"
|
|
83
|
+
},
|
|
84
|
+
"minItems": 1,
|
|
85
|
+
"maxItems": 10
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"additionalProperties": false
|
|
89
|
+
},
|
|
90
|
+
"ProjectInviteResult": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"required": [
|
|
93
|
+
"project",
|
|
94
|
+
"results"
|
|
95
|
+
],
|
|
96
|
+
"properties": {
|
|
97
|
+
"project": {
|
|
98
|
+
"$ref": "#/components/schemas/Project"
|
|
99
|
+
},
|
|
100
|
+
"results": {
|
|
101
|
+
"type": "array",
|
|
102
|
+
"items": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"required": [
|
|
105
|
+
"email",
|
|
106
|
+
"status"
|
|
107
|
+
],
|
|
108
|
+
"properties": {
|
|
109
|
+
"email": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"status": {
|
|
113
|
+
"anyOf": [
|
|
114
|
+
{
|
|
115
|
+
"type": "string",
|
|
116
|
+
"enum": [
|
|
117
|
+
"invited"
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "string",
|
|
122
|
+
"enum": [
|
|
123
|
+
"invited_created_account"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"type": "string",
|
|
128
|
+
"enum": [
|
|
129
|
+
"already_member"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "string",
|
|
134
|
+
"enum": [
|
|
135
|
+
"failed"
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"user_id": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"additionalProperties": false
|
|
148
|
+
},
|
|
149
|
+
"ProjectModerationResult": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"required": [
|
|
152
|
+
"count",
|
|
153
|
+
"app_ids"
|
|
154
|
+
],
|
|
155
|
+
"properties": {
|
|
156
|
+
"count": {
|
|
157
|
+
"type": "integer"
|
|
158
|
+
},
|
|
159
|
+
"app_ids": {
|
|
160
|
+
"type": "array",
|
|
161
|
+
"items": {
|
|
162
|
+
"type": "string"
|
|
63
163
|
}
|
|
64
164
|
}
|
|
65
165
|
}
|
|
@@ -101,6 +201,12 @@
|
|
|
101
201
|
"type": "string"
|
|
102
202
|
}
|
|
103
203
|
},
|
|
204
|
+
"owner_suspended": {
|
|
205
|
+
"type": "boolean"
|
|
206
|
+
},
|
|
207
|
+
"owner_email": {
|
|
208
|
+
"type": "string"
|
|
209
|
+
},
|
|
104
210
|
"createdAt": {
|
|
105
211
|
"type": "string",
|
|
106
212
|
"description": "Project creation date"
|
|
@@ -223,12 +329,6 @@
|
|
|
223
329
|
},
|
|
224
330
|
"description": {
|
|
225
331
|
"type": "string"
|
|
226
|
-
},
|
|
227
|
-
"collaborators": {
|
|
228
|
-
"type": "array",
|
|
229
|
-
"items": {
|
|
230
|
-
"type": "string"
|
|
231
|
-
}
|
|
232
332
|
}
|
|
233
333
|
},
|
|
234
334
|
"additionalProperties": false
|
|
@@ -399,6 +499,44 @@
|
|
|
399
499
|
"description": "Opaque revision token; changes whenever the app secrets change",
|
|
400
500
|
"nullable": true,
|
|
401
501
|
"default": null
|
|
502
|
+
},
|
|
503
|
+
"resource_health": {
|
|
504
|
+
"anyOf": [
|
|
505
|
+
{
|
|
506
|
+
"type": "object",
|
|
507
|
+
"required": [
|
|
508
|
+
"state",
|
|
509
|
+
"deployment",
|
|
510
|
+
"at"
|
|
511
|
+
],
|
|
512
|
+
"properties": {
|
|
513
|
+
"state": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
"description": "The runtime exceeded its memory limit (OOMKilled)",
|
|
516
|
+
"enum": [
|
|
517
|
+
"memory_exceeded"
|
|
518
|
+
]
|
|
519
|
+
},
|
|
520
|
+
"deployment": {
|
|
521
|
+
"type": "string",
|
|
522
|
+
"description": "Deployment whose pod tripped the limit"
|
|
523
|
+
},
|
|
524
|
+
"at": {
|
|
525
|
+
"type": "string",
|
|
526
|
+
"description": "ISO time the limit was last observed being hit"
|
|
527
|
+
},
|
|
528
|
+
"container": {
|
|
529
|
+
"type": "string",
|
|
530
|
+
"description": "Container that was OOMKilled"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
"description": "Resource-limit breach observed at runtime"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"type": "null"
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"description": "Runtime resource-pressure flag (admin/owner-facing upgrade prompt)"
|
|
402
540
|
}
|
|
403
541
|
}
|
|
404
542
|
},
|
|
@@ -408,7 +546,8 @@
|
|
|
408
546
|
"AppRuntime": {
|
|
409
547
|
"enum": [
|
|
410
548
|
"node",
|
|
411
|
-
"php"
|
|
549
|
+
"php",
|
|
550
|
+
"python"
|
|
412
551
|
]
|
|
413
552
|
},
|
|
414
553
|
"AppMode": {
|
|
@@ -503,6 +642,42 @@
|
|
|
503
642
|
}
|
|
504
643
|
]
|
|
505
644
|
},
|
|
645
|
+
"detected": {
|
|
646
|
+
"anyOf": [
|
|
647
|
+
{
|
|
648
|
+
"type": "object",
|
|
649
|
+
"required": [
|
|
650
|
+
"buildpack",
|
|
651
|
+
"runtime"
|
|
652
|
+
],
|
|
653
|
+
"properties": {
|
|
654
|
+
"buildpack": {
|
|
655
|
+
"type": "string"
|
|
656
|
+
},
|
|
657
|
+
"framework": {
|
|
658
|
+
"type": "string"
|
|
659
|
+
},
|
|
660
|
+
"runtime": {
|
|
661
|
+
"type": "object",
|
|
662
|
+
"required": [
|
|
663
|
+
"name"
|
|
664
|
+
],
|
|
665
|
+
"properties": {
|
|
666
|
+
"name": {
|
|
667
|
+
"type": "string"
|
|
668
|
+
},
|
|
669
|
+
"version": {
|
|
670
|
+
"type": "string"
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"type": "null"
|
|
678
|
+
}
|
|
679
|
+
]
|
|
680
|
+
},
|
|
506
681
|
"mode": {
|
|
507
682
|
"$ref": "#/components/schemas/AppMode"
|
|
508
683
|
},
|
|
@@ -625,6 +800,28 @@
|
|
|
625
800
|
],
|
|
626
801
|
"description": "Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked."
|
|
627
802
|
},
|
|
803
|
+
"github_repo_hidden": {
|
|
804
|
+
"anyOf": [
|
|
805
|
+
{
|
|
806
|
+
"type": "string"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"type": "null"
|
|
810
|
+
}
|
|
811
|
+
],
|
|
812
|
+
"description": "The linked repository stopped being readable after the app was created, per the GitHub `repository` webhook. Absent/null = visible; 'deleted' | 'privatized' | 'archived' = the source was pulled after deploying (the analyzer re-scores the promoted deployment against our own build artifact)."
|
|
813
|
+
},
|
|
814
|
+
"github_disconnect_reason": {
|
|
815
|
+
"anyOf": [
|
|
816
|
+
{
|
|
817
|
+
"type": "string"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"type": "null"
|
|
821
|
+
}
|
|
822
|
+
],
|
|
823
|
+
"description": "Why the platform cleared the repository link automatically. Absent/null = never auto-disconnected (or re-linked since); 'push_flood' = the repo exceeded the hourly push limit and must be re-linked by the user."
|
|
824
|
+
},
|
|
628
825
|
"deploy_trigger": {
|
|
629
826
|
"anyOf": [
|
|
630
827
|
{
|
|
@@ -1079,6 +1276,7 @@
|
|
|
1079
1276
|
"enum": [
|
|
1080
1277
|
"node",
|
|
1081
1278
|
"python",
|
|
1279
|
+
"php",
|
|
1082
1280
|
"static"
|
|
1083
1281
|
]
|
|
1084
1282
|
},
|
|
@@ -1101,7 +1299,8 @@
|
|
|
1101
1299
|
"node-full",
|
|
1102
1300
|
"next-standalone",
|
|
1103
1301
|
"static",
|
|
1104
|
-
"python-venv"
|
|
1302
|
+
"python-venv",
|
|
1303
|
+
"php"
|
|
1105
1304
|
]
|
|
1106
1305
|
},
|
|
1107
1306
|
"start_command": {
|
|
@@ -1129,6 +1328,35 @@
|
|
|
1129
1328
|
}
|
|
1130
1329
|
}
|
|
1131
1330
|
},
|
|
1331
|
+
"DeploymentDetected": {
|
|
1332
|
+
"type": "object",
|
|
1333
|
+
"required": [
|
|
1334
|
+
"buildpack",
|
|
1335
|
+
"runtime"
|
|
1336
|
+
],
|
|
1337
|
+
"properties": {
|
|
1338
|
+
"buildpack": {
|
|
1339
|
+
"type": "string"
|
|
1340
|
+
},
|
|
1341
|
+
"framework": {
|
|
1342
|
+
"type": "string"
|
|
1343
|
+
},
|
|
1344
|
+
"runtime": {
|
|
1345
|
+
"type": "object",
|
|
1346
|
+
"required": [
|
|
1347
|
+
"name"
|
|
1348
|
+
],
|
|
1349
|
+
"properties": {
|
|
1350
|
+
"name": {
|
|
1351
|
+
"type": "string"
|
|
1352
|
+
},
|
|
1353
|
+
"version": {
|
|
1354
|
+
"type": "string"
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1132
1360
|
"Deployment": {
|
|
1133
1361
|
"type": "object",
|
|
1134
1362
|
"required": [
|
|
@@ -1192,6 +1420,9 @@
|
|
|
1192
1420
|
}
|
|
1193
1421
|
]
|
|
1194
1422
|
},
|
|
1423
|
+
"detected": {
|
|
1424
|
+
"$ref": "#/components/schemas/DeploymentDetected"
|
|
1425
|
+
},
|
|
1195
1426
|
"status": {
|
|
1196
1427
|
"$ref": "#/components/schemas/DeploymentStatus"
|
|
1197
1428
|
},
|
|
@@ -1335,6 +1566,9 @@
|
|
|
1335
1566
|
},
|
|
1336
1567
|
"type": {
|
|
1337
1568
|
"type": "string"
|
|
1569
|
+
},
|
|
1570
|
+
"detected": {
|
|
1571
|
+
"$ref": "#/components/schemas/DeploymentDetected"
|
|
1338
1572
|
}
|
|
1339
1573
|
}
|
|
1340
1574
|
},
|
|
@@ -1575,6 +1809,7 @@
|
|
|
1575
1809
|
"scope",
|
|
1576
1810
|
"source",
|
|
1577
1811
|
"action",
|
|
1812
|
+
"match",
|
|
1578
1813
|
"apply",
|
|
1579
1814
|
"rules",
|
|
1580
1815
|
"enabled",
|
|
@@ -1651,6 +1886,28 @@
|
|
|
1651
1886
|
"enum": [
|
|
1652
1887
|
"ratelimit"
|
|
1653
1888
|
]
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"type": "string",
|
|
1892
|
+
"enum": [
|
|
1893
|
+
"probe"
|
|
1894
|
+
]
|
|
1895
|
+
}
|
|
1896
|
+
]
|
|
1897
|
+
},
|
|
1898
|
+
"match": {
|
|
1899
|
+
"anyOf": [
|
|
1900
|
+
{
|
|
1901
|
+
"type": "string",
|
|
1902
|
+
"enum": [
|
|
1903
|
+
"path"
|
|
1904
|
+
]
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"type": "string",
|
|
1908
|
+
"enum": [
|
|
1909
|
+
"user_agent"
|
|
1910
|
+
]
|
|
1654
1911
|
}
|
|
1655
1912
|
]
|
|
1656
1913
|
},
|
|
@@ -1875,6 +2132,28 @@
|
|
|
1875
2132
|
"enum": [
|
|
1876
2133
|
"ratelimit"
|
|
1877
2134
|
]
|
|
2135
|
+
},
|
|
2136
|
+
{
|
|
2137
|
+
"type": "string",
|
|
2138
|
+
"enum": [
|
|
2139
|
+
"probe"
|
|
2140
|
+
]
|
|
2141
|
+
}
|
|
2142
|
+
]
|
|
2143
|
+
},
|
|
2144
|
+
"match": {
|
|
2145
|
+
"anyOf": [
|
|
2146
|
+
{
|
|
2147
|
+
"type": "string",
|
|
2148
|
+
"enum": [
|
|
2149
|
+
"path"
|
|
2150
|
+
]
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
"type": "string",
|
|
2154
|
+
"enum": [
|
|
2155
|
+
"user_agent"
|
|
2156
|
+
]
|
|
1878
2157
|
}
|
|
1879
2158
|
]
|
|
1880
2159
|
},
|
|
@@ -1958,6 +2237,28 @@
|
|
|
1958
2237
|
"enum": [
|
|
1959
2238
|
"ratelimit"
|
|
1960
2239
|
]
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"type": "string",
|
|
2243
|
+
"enum": [
|
|
2244
|
+
"probe"
|
|
2245
|
+
]
|
|
2246
|
+
}
|
|
2247
|
+
]
|
|
2248
|
+
},
|
|
2249
|
+
"match": {
|
|
2250
|
+
"anyOf": [
|
|
2251
|
+
{
|
|
2252
|
+
"type": "string",
|
|
2253
|
+
"enum": [
|
|
2254
|
+
"path"
|
|
2255
|
+
]
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"type": "string",
|
|
2259
|
+
"enum": [
|
|
2260
|
+
"user_agent"
|
|
2261
|
+
]
|
|
1961
2262
|
}
|
|
1962
2263
|
]
|
|
1963
2264
|
},
|
|
@@ -2984,19 +3285,31 @@
|
|
|
2984
3285
|
],
|
|
2985
3286
|
"security": [
|
|
2986
3287
|
{
|
|
2987
|
-
"faable_user": []
|
|
2988
|
-
|
|
2989
|
-
|
|
3288
|
+
"faable_user": []
|
|
3289
|
+
},
|
|
3290
|
+
{
|
|
3291
|
+
"faable_cli": []
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
"faable_m2m": []
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
2990
3297
|
"faable_machine": []
|
|
3298
|
+
},
|
|
3299
|
+
{
|
|
3300
|
+
"apikey_basic": []
|
|
3301
|
+
},
|
|
3302
|
+
{
|
|
3303
|
+
"apikey": []
|
|
2991
3304
|
}
|
|
2992
3305
|
],
|
|
2993
3306
|
"responses": {
|
|
2994
3307
|
"200": {
|
|
2995
|
-
"description": "
|
|
3308
|
+
"description": "Default Response",
|
|
2996
3309
|
"content": {
|
|
2997
3310
|
"application/json": {
|
|
2998
3311
|
"schema": {
|
|
2999
|
-
"$ref": "#/components/schemas/
|
|
3312
|
+
"$ref": "#/components/schemas/ProjectInviteResult"
|
|
3000
3313
|
}
|
|
3001
3314
|
}
|
|
3002
3315
|
}
|
|
@@ -3004,22 +3317,186 @@
|
|
|
3004
3317
|
}
|
|
3005
3318
|
}
|
|
3006
3319
|
},
|
|
3007
|
-
"/project": {
|
|
3008
|
-
"
|
|
3009
|
-
"operationId": "project/
|
|
3010
|
-
"summary": "
|
|
3320
|
+
"/project/{id}/collaborator/{user_id}": {
|
|
3321
|
+
"delete": {
|
|
3322
|
+
"operationId": "project/removeCollaborator",
|
|
3323
|
+
"summary": "Remove a collaborator from a project",
|
|
3011
3324
|
"tags": [
|
|
3012
3325
|
"projects"
|
|
3013
3326
|
],
|
|
3014
|
-
"description": "
|
|
3327
|
+
"description": "Remove a collaborator from a project",
|
|
3015
3328
|
"parameters": [
|
|
3016
3329
|
{
|
|
3017
3330
|
"schema": {
|
|
3018
|
-
"type": "
|
|
3019
|
-
"minimum": 1,
|
|
3020
|
-
"maximum": 200
|
|
3331
|
+
"type": "string"
|
|
3021
3332
|
},
|
|
3022
|
-
"in": "
|
|
3333
|
+
"in": "path",
|
|
3334
|
+
"name": "id",
|
|
3335
|
+
"required": true
|
|
3336
|
+
},
|
|
3337
|
+
{
|
|
3338
|
+
"schema": {
|
|
3339
|
+
"type": "string"
|
|
3340
|
+
},
|
|
3341
|
+
"in": "path",
|
|
3342
|
+
"name": "user_id",
|
|
3343
|
+
"required": true
|
|
3344
|
+
}
|
|
3345
|
+
],
|
|
3346
|
+
"security": [
|
|
3347
|
+
{
|
|
3348
|
+
"faable_user": []
|
|
3349
|
+
},
|
|
3350
|
+
{
|
|
3351
|
+
"faable_cli": []
|
|
3352
|
+
},
|
|
3353
|
+
{
|
|
3354
|
+
"faable_m2m": []
|
|
3355
|
+
},
|
|
3356
|
+
{
|
|
3357
|
+
"faable_machine": []
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
"apikey_basic": []
|
|
3361
|
+
},
|
|
3362
|
+
{
|
|
3363
|
+
"apikey": []
|
|
3364
|
+
}
|
|
3365
|
+
],
|
|
3366
|
+
"responses": {
|
|
3367
|
+
"200": {
|
|
3368
|
+
"description": "Project",
|
|
3369
|
+
"content": {
|
|
3370
|
+
"application/json": {
|
|
3371
|
+
"schema": {
|
|
3372
|
+
"$ref": "#/components/schemas/Project"
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
}
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3378
|
+
}
|
|
3379
|
+
},
|
|
3380
|
+
"/project/{id}/suspend": {
|
|
3381
|
+
"post": {
|
|
3382
|
+
"operationId": "project/suspend",
|
|
3383
|
+
"summary": "Suspend a project",
|
|
3384
|
+
"tags": [
|
|
3385
|
+
"projects"
|
|
3386
|
+
],
|
|
3387
|
+
"description": "Take down every app in a project (superadmin)",
|
|
3388
|
+
"parameters": [
|
|
3389
|
+
{
|
|
3390
|
+
"schema": {
|
|
3391
|
+
"type": "string"
|
|
3392
|
+
},
|
|
3393
|
+
"in": "path",
|
|
3394
|
+
"name": "id",
|
|
3395
|
+
"required": true
|
|
3396
|
+
}
|
|
3397
|
+
],
|
|
3398
|
+
"security": [
|
|
3399
|
+
{
|
|
3400
|
+
"faable_user": []
|
|
3401
|
+
},
|
|
3402
|
+
{
|
|
3403
|
+
"faable_cli": []
|
|
3404
|
+
},
|
|
3405
|
+
{
|
|
3406
|
+
"faable_m2m": []
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"faable_machine": []
|
|
3410
|
+
},
|
|
3411
|
+
{
|
|
3412
|
+
"apikey_basic": []
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
"apikey": []
|
|
3416
|
+
}
|
|
3417
|
+
],
|
|
3418
|
+
"responses": {
|
|
3419
|
+
"200": {
|
|
3420
|
+
"description": "Default Response",
|
|
3421
|
+
"content": {
|
|
3422
|
+
"application/json": {
|
|
3423
|
+
"schema": {
|
|
3424
|
+
"$ref": "#/components/schemas/ProjectModerationResult"
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
}
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
},
|
|
3432
|
+
"/project/{id}/restore": {
|
|
3433
|
+
"post": {
|
|
3434
|
+
"operationId": "project/restore",
|
|
3435
|
+
"summary": "Restore a project",
|
|
3436
|
+
"tags": [
|
|
3437
|
+
"projects"
|
|
3438
|
+
],
|
|
3439
|
+
"description": "Re-enable every app in a project (superadmin)",
|
|
3440
|
+
"parameters": [
|
|
3441
|
+
{
|
|
3442
|
+
"schema": {
|
|
3443
|
+
"type": "string"
|
|
3444
|
+
},
|
|
3445
|
+
"in": "path",
|
|
3446
|
+
"name": "id",
|
|
3447
|
+
"required": true
|
|
3448
|
+
}
|
|
3449
|
+
],
|
|
3450
|
+
"security": [
|
|
3451
|
+
{
|
|
3452
|
+
"faable_user": []
|
|
3453
|
+
},
|
|
3454
|
+
{
|
|
3455
|
+
"faable_cli": []
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
"faable_m2m": []
|
|
3459
|
+
},
|
|
3460
|
+
{
|
|
3461
|
+
"faable_machine": []
|
|
3462
|
+
},
|
|
3463
|
+
{
|
|
3464
|
+
"apikey_basic": []
|
|
3465
|
+
},
|
|
3466
|
+
{
|
|
3467
|
+
"apikey": []
|
|
3468
|
+
}
|
|
3469
|
+
],
|
|
3470
|
+
"responses": {
|
|
3471
|
+
"200": {
|
|
3472
|
+
"description": "Default Response",
|
|
3473
|
+
"content": {
|
|
3474
|
+
"application/json": {
|
|
3475
|
+
"schema": {
|
|
3476
|
+
"$ref": "#/components/schemas/ProjectModerationResult"
|
|
3477
|
+
}
|
|
3478
|
+
}
|
|
3479
|
+
}
|
|
3480
|
+
}
|
|
3481
|
+
}
|
|
3482
|
+
}
|
|
3483
|
+
},
|
|
3484
|
+
"/project": {
|
|
3485
|
+
"get": {
|
|
3486
|
+
"operationId": "project/list",
|
|
3487
|
+
"summary": "List Projects",
|
|
3488
|
+
"tags": [
|
|
3489
|
+
"projects"
|
|
3490
|
+
],
|
|
3491
|
+
"description": "List Projects",
|
|
3492
|
+
"parameters": [
|
|
3493
|
+
{
|
|
3494
|
+
"schema": {
|
|
3495
|
+
"type": "number",
|
|
3496
|
+
"minimum": 1,
|
|
3497
|
+
"maximum": 200
|
|
3498
|
+
},
|
|
3499
|
+
"in": "query",
|
|
3023
3500
|
"name": "pageSize",
|
|
3024
3501
|
"required": false,
|
|
3025
3502
|
"description": "Number of items per page (max 200)"
|
|
@@ -3065,10 +3542,22 @@
|
|
|
3065
3542
|
],
|
|
3066
3543
|
"security": [
|
|
3067
3544
|
{
|
|
3068
|
-
"faable_user": []
|
|
3069
|
-
|
|
3070
|
-
|
|
3545
|
+
"faable_user": []
|
|
3546
|
+
},
|
|
3547
|
+
{
|
|
3548
|
+
"faable_cli": []
|
|
3549
|
+
},
|
|
3550
|
+
{
|
|
3551
|
+
"faable_m2m": []
|
|
3552
|
+
},
|
|
3553
|
+
{
|
|
3071
3554
|
"faable_machine": []
|
|
3555
|
+
},
|
|
3556
|
+
{
|
|
3557
|
+
"apikey_basic": []
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
"apikey": []
|
|
3072
3561
|
}
|
|
3073
3562
|
],
|
|
3074
3563
|
"responses": {
|
|
@@ -3147,10 +3636,22 @@
|
|
|
3147
3636
|
},
|
|
3148
3637
|
"security": [
|
|
3149
3638
|
{
|
|
3150
|
-
"faable_user": []
|
|
3151
|
-
|
|
3152
|
-
|
|
3639
|
+
"faable_user": []
|
|
3640
|
+
},
|
|
3641
|
+
{
|
|
3642
|
+
"faable_cli": []
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"faable_m2m": []
|
|
3646
|
+
},
|
|
3647
|
+
{
|
|
3153
3648
|
"faable_machine": []
|
|
3649
|
+
},
|
|
3650
|
+
{
|
|
3651
|
+
"apikey_basic": []
|
|
3652
|
+
},
|
|
3653
|
+
{
|
|
3654
|
+
"apikey": []
|
|
3154
3655
|
}
|
|
3155
3656
|
],
|
|
3156
3657
|
"responses": {
|
|
@@ -3195,6 +3696,12 @@
|
|
|
3195
3696
|
"type": "string"
|
|
3196
3697
|
}
|
|
3197
3698
|
},
|
|
3699
|
+
"owner_suspended": {
|
|
3700
|
+
"type": "boolean"
|
|
3701
|
+
},
|
|
3702
|
+
"owner_email": {
|
|
3703
|
+
"type": "string"
|
|
3704
|
+
},
|
|
3198
3705
|
"createdAt": {
|
|
3199
3706
|
"type": "string",
|
|
3200
3707
|
"description": "Project creation date"
|
|
@@ -3233,10 +3740,22 @@
|
|
|
3233
3740
|
],
|
|
3234
3741
|
"security": [
|
|
3235
3742
|
{
|
|
3236
|
-
"faable_user": []
|
|
3237
|
-
|
|
3238
|
-
|
|
3743
|
+
"faable_user": []
|
|
3744
|
+
},
|
|
3745
|
+
{
|
|
3746
|
+
"faable_cli": []
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
"faable_m2m": []
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3239
3752
|
"faable_machine": []
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"apikey_basic": []
|
|
3756
|
+
},
|
|
3757
|
+
{
|
|
3758
|
+
"apikey": []
|
|
3240
3759
|
}
|
|
3241
3760
|
],
|
|
3242
3761
|
"responses": {
|
|
@@ -3281,6 +3800,12 @@
|
|
|
3281
3800
|
"type": "string"
|
|
3282
3801
|
}
|
|
3283
3802
|
},
|
|
3803
|
+
"owner_suspended": {
|
|
3804
|
+
"type": "boolean"
|
|
3805
|
+
},
|
|
3806
|
+
"owner_email": {
|
|
3807
|
+
"type": "string"
|
|
3808
|
+
},
|
|
3284
3809
|
"createdAt": {
|
|
3285
3810
|
"type": "string",
|
|
3286
3811
|
"description": "Project creation date"
|
|
@@ -3320,12 +3845,6 @@
|
|
|
3320
3845
|
},
|
|
3321
3846
|
"description": {
|
|
3322
3847
|
"type": "string"
|
|
3323
|
-
},
|
|
3324
|
-
"collaborators": {
|
|
3325
|
-
"type": "array",
|
|
3326
|
-
"items": {
|
|
3327
|
-
"type": "string"
|
|
3328
|
-
}
|
|
3329
3848
|
}
|
|
3330
3849
|
},
|
|
3331
3850
|
"additionalProperties": false
|
|
@@ -3345,10 +3864,22 @@
|
|
|
3345
3864
|
],
|
|
3346
3865
|
"security": [
|
|
3347
3866
|
{
|
|
3348
|
-
"faable_user": []
|
|
3349
|
-
|
|
3350
|
-
|
|
3867
|
+
"faable_user": []
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
"faable_cli": []
|
|
3871
|
+
},
|
|
3872
|
+
{
|
|
3873
|
+
"faable_m2m": []
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3351
3876
|
"faable_machine": []
|
|
3877
|
+
},
|
|
3878
|
+
{
|
|
3879
|
+
"apikey_basic": []
|
|
3880
|
+
},
|
|
3881
|
+
{
|
|
3882
|
+
"apikey": []
|
|
3352
3883
|
}
|
|
3353
3884
|
],
|
|
3354
3885
|
"responses": {
|
|
@@ -3393,6 +3924,12 @@
|
|
|
3393
3924
|
"type": "string"
|
|
3394
3925
|
}
|
|
3395
3926
|
},
|
|
3927
|
+
"owner_suspended": {
|
|
3928
|
+
"type": "boolean"
|
|
3929
|
+
},
|
|
3930
|
+
"owner_email": {
|
|
3931
|
+
"type": "string"
|
|
3932
|
+
},
|
|
3396
3933
|
"createdAt": {
|
|
3397
3934
|
"type": "string",
|
|
3398
3935
|
"description": "Project creation date"
|
|
@@ -3429,10 +3966,22 @@
|
|
|
3429
3966
|
],
|
|
3430
3967
|
"security": [
|
|
3431
3968
|
{
|
|
3432
|
-
"faable_user": []
|
|
3433
|
-
|
|
3434
|
-
|
|
3969
|
+
"faable_user": []
|
|
3970
|
+
},
|
|
3971
|
+
{
|
|
3972
|
+
"faable_cli": []
|
|
3973
|
+
},
|
|
3974
|
+
{
|
|
3975
|
+
"faable_m2m": []
|
|
3976
|
+
},
|
|
3977
|
+
{
|
|
3435
3978
|
"faable_machine": []
|
|
3979
|
+
},
|
|
3980
|
+
{
|
|
3981
|
+
"apikey_basic": []
|
|
3982
|
+
},
|
|
3983
|
+
{
|
|
3984
|
+
"apikey": []
|
|
3436
3985
|
}
|
|
3437
3986
|
],
|
|
3438
3987
|
"responses": {
|
|
@@ -3477,6 +4026,12 @@
|
|
|
3477
4026
|
"type": "string"
|
|
3478
4027
|
}
|
|
3479
4028
|
},
|
|
4029
|
+
"owner_suspended": {
|
|
4030
|
+
"type": "boolean"
|
|
4031
|
+
},
|
|
4032
|
+
"owner_email": {
|
|
4033
|
+
"type": "string"
|
|
4034
|
+
},
|
|
3480
4035
|
"createdAt": {
|
|
3481
4036
|
"type": "string",
|
|
3482
4037
|
"description": "Project creation date"
|
|
@@ -3563,10 +4118,22 @@
|
|
|
3563
4118
|
],
|
|
3564
4119
|
"security": [
|
|
3565
4120
|
{
|
|
3566
|
-
"faable_user": []
|
|
3567
|
-
|
|
3568
|
-
|
|
4121
|
+
"faable_user": []
|
|
4122
|
+
},
|
|
4123
|
+
{
|
|
4124
|
+
"faable_cli": []
|
|
4125
|
+
},
|
|
4126
|
+
{
|
|
4127
|
+
"faable_m2m": []
|
|
4128
|
+
},
|
|
4129
|
+
{
|
|
3569
4130
|
"faable_machine": []
|
|
4131
|
+
},
|
|
4132
|
+
{
|
|
4133
|
+
"apikey_basic": []
|
|
4134
|
+
},
|
|
4135
|
+
{
|
|
4136
|
+
"apikey": []
|
|
3570
4137
|
}
|
|
3571
4138
|
],
|
|
3572
4139
|
"responses": {
|
|
@@ -3639,10 +4206,22 @@
|
|
|
3639
4206
|
},
|
|
3640
4207
|
"security": [
|
|
3641
4208
|
{
|
|
3642
|
-
"faable_user": []
|
|
3643
|
-
|
|
3644
|
-
|
|
4209
|
+
"faable_user": []
|
|
4210
|
+
},
|
|
4211
|
+
{
|
|
4212
|
+
"faable_cli": []
|
|
4213
|
+
},
|
|
4214
|
+
{
|
|
4215
|
+
"faable_m2m": []
|
|
4216
|
+
},
|
|
4217
|
+
{
|
|
3645
4218
|
"faable_machine": []
|
|
4219
|
+
},
|
|
4220
|
+
{
|
|
4221
|
+
"apikey_basic": []
|
|
4222
|
+
},
|
|
4223
|
+
{
|
|
4224
|
+
"apikey": []
|
|
3646
4225
|
}
|
|
3647
4226
|
],
|
|
3648
4227
|
"responses": {
|
|
@@ -3716,6 +4295,42 @@
|
|
|
3716
4295
|
}
|
|
3717
4296
|
]
|
|
3718
4297
|
},
|
|
4298
|
+
"detected": {
|
|
4299
|
+
"anyOf": [
|
|
4300
|
+
{
|
|
4301
|
+
"type": "object",
|
|
4302
|
+
"required": [
|
|
4303
|
+
"buildpack",
|
|
4304
|
+
"runtime"
|
|
4305
|
+
],
|
|
4306
|
+
"properties": {
|
|
4307
|
+
"buildpack": {
|
|
4308
|
+
"type": "string"
|
|
4309
|
+
},
|
|
4310
|
+
"framework": {
|
|
4311
|
+
"type": "string"
|
|
4312
|
+
},
|
|
4313
|
+
"runtime": {
|
|
4314
|
+
"type": "object",
|
|
4315
|
+
"required": [
|
|
4316
|
+
"name"
|
|
4317
|
+
],
|
|
4318
|
+
"properties": {
|
|
4319
|
+
"name": {
|
|
4320
|
+
"type": "string"
|
|
4321
|
+
},
|
|
4322
|
+
"version": {
|
|
4323
|
+
"type": "string"
|
|
4324
|
+
}
|
|
4325
|
+
}
|
|
4326
|
+
}
|
|
4327
|
+
}
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
"type": "null"
|
|
4331
|
+
}
|
|
4332
|
+
]
|
|
4333
|
+
},
|
|
3719
4334
|
"mode": {
|
|
3720
4335
|
"$ref": "#/components/schemas/AppMode"
|
|
3721
4336
|
},
|
|
@@ -3838,7 +4453,7 @@
|
|
|
3838
4453
|
],
|
|
3839
4454
|
"description": "Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked."
|
|
3840
4455
|
},
|
|
3841
|
-
"
|
|
4456
|
+
"github_repo_hidden": {
|
|
3842
4457
|
"anyOf": [
|
|
3843
4458
|
{
|
|
3844
4459
|
"type": "string"
|
|
@@ -3847,9 +4462,9 @@
|
|
|
3847
4462
|
"type": "null"
|
|
3848
4463
|
}
|
|
3849
4464
|
],
|
|
3850
|
-
"description": "
|
|
4465
|
+
"description": "The linked repository stopped being readable after the app was created, per the GitHub `repository` webhook. Absent/null = visible; 'deleted' | 'privatized' | 'archived' = the source was pulled after deploying (the analyzer re-scores the promoted deployment against our own build artifact)."
|
|
3851
4466
|
},
|
|
3852
|
-
"
|
|
4467
|
+
"github_disconnect_reason": {
|
|
3853
4468
|
"anyOf": [
|
|
3854
4469
|
{
|
|
3855
4470
|
"type": "string"
|
|
@@ -3858,13 +4473,35 @@
|
|
|
3858
4473
|
"type": "null"
|
|
3859
4474
|
}
|
|
3860
4475
|
],
|
|
3861
|
-
"description": "
|
|
3862
|
-
},
|
|
3863
|
-
"
|
|
3864
|
-
"
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
4476
|
+
"description": "Why the platform cleared the repository link automatically. Absent/null = never auto-disconnected (or re-linked since); 'push_flood' = the repo exceeded the hourly push limit and must be re-linked by the user."
|
|
4477
|
+
},
|
|
4478
|
+
"deploy_trigger": {
|
|
4479
|
+
"anyOf": [
|
|
4480
|
+
{
|
|
4481
|
+
"type": "string"
|
|
4482
|
+
},
|
|
4483
|
+
{
|
|
4484
|
+
"type": "null"
|
|
4485
|
+
}
|
|
4486
|
+
],
|
|
4487
|
+
"description": "Push-to-deploy trigger. Absent/null = 'workflow' (committed GitHub Action); 'webhook' = the push webhook creates deployments server-side (deploy v4)."
|
|
4488
|
+
},
|
|
4489
|
+
"deploy_gate": {
|
|
4490
|
+
"anyOf": [
|
|
4491
|
+
{
|
|
4492
|
+
"type": "string"
|
|
4493
|
+
},
|
|
4494
|
+
{
|
|
4495
|
+
"type": "null"
|
|
4496
|
+
}
|
|
4497
|
+
],
|
|
4498
|
+
"description": "Wait-for-CI gate for webhook triggers. Absent/null = deploy on push; 'ci' = deploy only after the commit's check suites complete green."
|
|
4499
|
+
},
|
|
4500
|
+
"metadata": {
|
|
4501
|
+
"type": "object",
|
|
4502
|
+
"properties": {},
|
|
4503
|
+
"additionalProperties": true,
|
|
4504
|
+
"default": {}
|
|
3868
4505
|
},
|
|
3869
4506
|
"createdAt": {
|
|
3870
4507
|
"type": "string",
|
|
@@ -3922,10 +4559,22 @@
|
|
|
3922
4559
|
],
|
|
3923
4560
|
"security": [
|
|
3924
4561
|
{
|
|
3925
|
-
"faable_user": []
|
|
3926
|
-
|
|
3927
|
-
|
|
4562
|
+
"faable_user": []
|
|
4563
|
+
},
|
|
4564
|
+
{
|
|
4565
|
+
"faable_cli": []
|
|
4566
|
+
},
|
|
4567
|
+
{
|
|
4568
|
+
"faable_m2m": []
|
|
4569
|
+
},
|
|
4570
|
+
{
|
|
3928
4571
|
"faable_machine": []
|
|
4572
|
+
},
|
|
4573
|
+
{
|
|
4574
|
+
"apikey_basic": []
|
|
4575
|
+
},
|
|
4576
|
+
{
|
|
4577
|
+
"apikey": []
|
|
3929
4578
|
}
|
|
3930
4579
|
],
|
|
3931
4580
|
"responses": {
|
|
@@ -3999,6 +4648,42 @@
|
|
|
3999
4648
|
}
|
|
4000
4649
|
]
|
|
4001
4650
|
},
|
|
4651
|
+
"detected": {
|
|
4652
|
+
"anyOf": [
|
|
4653
|
+
{
|
|
4654
|
+
"type": "object",
|
|
4655
|
+
"required": [
|
|
4656
|
+
"buildpack",
|
|
4657
|
+
"runtime"
|
|
4658
|
+
],
|
|
4659
|
+
"properties": {
|
|
4660
|
+
"buildpack": {
|
|
4661
|
+
"type": "string"
|
|
4662
|
+
},
|
|
4663
|
+
"framework": {
|
|
4664
|
+
"type": "string"
|
|
4665
|
+
},
|
|
4666
|
+
"runtime": {
|
|
4667
|
+
"type": "object",
|
|
4668
|
+
"required": [
|
|
4669
|
+
"name"
|
|
4670
|
+
],
|
|
4671
|
+
"properties": {
|
|
4672
|
+
"name": {
|
|
4673
|
+
"type": "string"
|
|
4674
|
+
},
|
|
4675
|
+
"version": {
|
|
4676
|
+
"type": "string"
|
|
4677
|
+
}
|
|
4678
|
+
}
|
|
4679
|
+
}
|
|
4680
|
+
}
|
|
4681
|
+
},
|
|
4682
|
+
{
|
|
4683
|
+
"type": "null"
|
|
4684
|
+
}
|
|
4685
|
+
]
|
|
4686
|
+
},
|
|
4002
4687
|
"mode": {
|
|
4003
4688
|
"$ref": "#/components/schemas/AppMode"
|
|
4004
4689
|
},
|
|
@@ -4121,6 +4806,28 @@
|
|
|
4121
4806
|
],
|
|
4122
4807
|
"description": "Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked."
|
|
4123
4808
|
},
|
|
4809
|
+
"github_repo_hidden": {
|
|
4810
|
+
"anyOf": [
|
|
4811
|
+
{
|
|
4812
|
+
"type": "string"
|
|
4813
|
+
},
|
|
4814
|
+
{
|
|
4815
|
+
"type": "null"
|
|
4816
|
+
}
|
|
4817
|
+
],
|
|
4818
|
+
"description": "The linked repository stopped being readable after the app was created, per the GitHub `repository` webhook. Absent/null = visible; 'deleted' | 'privatized' | 'archived' = the source was pulled after deploying (the analyzer re-scores the promoted deployment against our own build artifact)."
|
|
4819
|
+
},
|
|
4820
|
+
"github_disconnect_reason": {
|
|
4821
|
+
"anyOf": [
|
|
4822
|
+
{
|
|
4823
|
+
"type": "string"
|
|
4824
|
+
},
|
|
4825
|
+
{
|
|
4826
|
+
"type": "null"
|
|
4827
|
+
}
|
|
4828
|
+
],
|
|
4829
|
+
"description": "Why the platform cleared the repository link automatically. Absent/null = never auto-disconnected (or re-linked since); 'push_flood' = the repo exceeded the hourly push limit and must be re-linked by the user."
|
|
4830
|
+
},
|
|
4124
4831
|
"deploy_trigger": {
|
|
4125
4832
|
"anyOf": [
|
|
4126
4833
|
{
|
|
@@ -4224,10 +4931,22 @@
|
|
|
4224
4931
|
],
|
|
4225
4932
|
"security": [
|
|
4226
4933
|
{
|
|
4227
|
-
"faable_user": []
|
|
4228
|
-
|
|
4229
|
-
|
|
4934
|
+
"faable_user": []
|
|
4935
|
+
},
|
|
4936
|
+
{
|
|
4937
|
+
"faable_cli": []
|
|
4938
|
+
},
|
|
4939
|
+
{
|
|
4940
|
+
"faable_m2m": []
|
|
4941
|
+
},
|
|
4942
|
+
{
|
|
4230
4943
|
"faable_machine": []
|
|
4944
|
+
},
|
|
4945
|
+
{
|
|
4946
|
+
"apikey_basic": []
|
|
4947
|
+
},
|
|
4948
|
+
{
|
|
4949
|
+
"apikey": []
|
|
4231
4950
|
}
|
|
4232
4951
|
],
|
|
4233
4952
|
"responses": {
|
|
@@ -4301,6 +5020,42 @@
|
|
|
4301
5020
|
}
|
|
4302
5021
|
]
|
|
4303
5022
|
},
|
|
5023
|
+
"detected": {
|
|
5024
|
+
"anyOf": [
|
|
5025
|
+
{
|
|
5026
|
+
"type": "object",
|
|
5027
|
+
"required": [
|
|
5028
|
+
"buildpack",
|
|
5029
|
+
"runtime"
|
|
5030
|
+
],
|
|
5031
|
+
"properties": {
|
|
5032
|
+
"buildpack": {
|
|
5033
|
+
"type": "string"
|
|
5034
|
+
},
|
|
5035
|
+
"framework": {
|
|
5036
|
+
"type": "string"
|
|
5037
|
+
},
|
|
5038
|
+
"runtime": {
|
|
5039
|
+
"type": "object",
|
|
5040
|
+
"required": [
|
|
5041
|
+
"name"
|
|
5042
|
+
],
|
|
5043
|
+
"properties": {
|
|
5044
|
+
"name": {
|
|
5045
|
+
"type": "string"
|
|
5046
|
+
},
|
|
5047
|
+
"version": {
|
|
5048
|
+
"type": "string"
|
|
5049
|
+
}
|
|
5050
|
+
}
|
|
5051
|
+
}
|
|
5052
|
+
}
|
|
5053
|
+
},
|
|
5054
|
+
{
|
|
5055
|
+
"type": "null"
|
|
5056
|
+
}
|
|
5057
|
+
]
|
|
5058
|
+
},
|
|
4304
5059
|
"mode": {
|
|
4305
5060
|
"$ref": "#/components/schemas/AppMode"
|
|
4306
5061
|
},
|
|
@@ -4423,6 +5178,28 @@
|
|
|
4423
5178
|
],
|
|
4424
5179
|
"description": "Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked."
|
|
4425
5180
|
},
|
|
5181
|
+
"github_repo_hidden": {
|
|
5182
|
+
"anyOf": [
|
|
5183
|
+
{
|
|
5184
|
+
"type": "string"
|
|
5185
|
+
},
|
|
5186
|
+
{
|
|
5187
|
+
"type": "null"
|
|
5188
|
+
}
|
|
5189
|
+
],
|
|
5190
|
+
"description": "The linked repository stopped being readable after the app was created, per the GitHub `repository` webhook. Absent/null = visible; 'deleted' | 'privatized' | 'archived' = the source was pulled after deploying (the analyzer re-scores the promoted deployment against our own build artifact)."
|
|
5191
|
+
},
|
|
5192
|
+
"github_disconnect_reason": {
|
|
5193
|
+
"anyOf": [
|
|
5194
|
+
{
|
|
5195
|
+
"type": "string"
|
|
5196
|
+
},
|
|
5197
|
+
{
|
|
5198
|
+
"type": "null"
|
|
5199
|
+
}
|
|
5200
|
+
],
|
|
5201
|
+
"description": "Why the platform cleared the repository link automatically. Absent/null = never auto-disconnected (or re-linked since); 'push_flood' = the repo exceeded the hourly push limit and must be re-linked by the user."
|
|
5202
|
+
},
|
|
4426
5203
|
"deploy_trigger": {
|
|
4427
5204
|
"anyOf": [
|
|
4428
5205
|
{
|
|
@@ -4487,10 +5264,22 @@
|
|
|
4487
5264
|
],
|
|
4488
5265
|
"security": [
|
|
4489
5266
|
{
|
|
4490
|
-
"faable_user": []
|
|
4491
|
-
|
|
4492
|
-
|
|
5267
|
+
"faable_user": []
|
|
5268
|
+
},
|
|
5269
|
+
{
|
|
5270
|
+
"faable_cli": []
|
|
5271
|
+
},
|
|
5272
|
+
{
|
|
5273
|
+
"faable_m2m": []
|
|
5274
|
+
},
|
|
5275
|
+
{
|
|
4493
5276
|
"faable_machine": []
|
|
5277
|
+
},
|
|
5278
|
+
{
|
|
5279
|
+
"apikey_basic": []
|
|
5280
|
+
},
|
|
5281
|
+
{
|
|
5282
|
+
"apikey": []
|
|
4494
5283
|
}
|
|
4495
5284
|
],
|
|
4496
5285
|
"responses": {
|
|
@@ -4564,6 +5353,42 @@
|
|
|
4564
5353
|
}
|
|
4565
5354
|
]
|
|
4566
5355
|
},
|
|
5356
|
+
"detected": {
|
|
5357
|
+
"anyOf": [
|
|
5358
|
+
{
|
|
5359
|
+
"type": "object",
|
|
5360
|
+
"required": [
|
|
5361
|
+
"buildpack",
|
|
5362
|
+
"runtime"
|
|
5363
|
+
],
|
|
5364
|
+
"properties": {
|
|
5365
|
+
"buildpack": {
|
|
5366
|
+
"type": "string"
|
|
5367
|
+
},
|
|
5368
|
+
"framework": {
|
|
5369
|
+
"type": "string"
|
|
5370
|
+
},
|
|
5371
|
+
"runtime": {
|
|
5372
|
+
"type": "object",
|
|
5373
|
+
"required": [
|
|
5374
|
+
"name"
|
|
5375
|
+
],
|
|
5376
|
+
"properties": {
|
|
5377
|
+
"name": {
|
|
5378
|
+
"type": "string"
|
|
5379
|
+
},
|
|
5380
|
+
"version": {
|
|
5381
|
+
"type": "string"
|
|
5382
|
+
}
|
|
5383
|
+
}
|
|
5384
|
+
}
|
|
5385
|
+
}
|
|
5386
|
+
},
|
|
5387
|
+
{
|
|
5388
|
+
"type": "null"
|
|
5389
|
+
}
|
|
5390
|
+
]
|
|
5391
|
+
},
|
|
4567
5392
|
"mode": {
|
|
4568
5393
|
"$ref": "#/components/schemas/AppMode"
|
|
4569
5394
|
},
|
|
@@ -4686,6 +5511,28 @@
|
|
|
4686
5511
|
],
|
|
4687
5512
|
"description": "Platform GitHub access health, maintained by installation lifecycle webhooks. Absent/null = ok; 'deleted' | 'suspended' | 'repo_removed' = access broken until re-linked."
|
|
4688
5513
|
},
|
|
5514
|
+
"github_repo_hidden": {
|
|
5515
|
+
"anyOf": [
|
|
5516
|
+
{
|
|
5517
|
+
"type": "string"
|
|
5518
|
+
},
|
|
5519
|
+
{
|
|
5520
|
+
"type": "null"
|
|
5521
|
+
}
|
|
5522
|
+
],
|
|
5523
|
+
"description": "The linked repository stopped being readable after the app was created, per the GitHub `repository` webhook. Absent/null = visible; 'deleted' | 'privatized' | 'archived' = the source was pulled after deploying (the analyzer re-scores the promoted deployment against our own build artifact)."
|
|
5524
|
+
},
|
|
5525
|
+
"github_disconnect_reason": {
|
|
5526
|
+
"anyOf": [
|
|
5527
|
+
{
|
|
5528
|
+
"type": "string"
|
|
5529
|
+
},
|
|
5530
|
+
{
|
|
5531
|
+
"type": "null"
|
|
5532
|
+
}
|
|
5533
|
+
],
|
|
5534
|
+
"description": "Why the platform cleared the repository link automatically. Absent/null = never auto-disconnected (or re-linked since); 'push_flood' = the repo exceeded the hourly push limit and must be re-linked by the user."
|
|
5535
|
+
},
|
|
4689
5536
|
"deploy_trigger": {
|
|
4690
5537
|
"anyOf": [
|
|
4691
5538
|
{
|
|
@@ -4752,10 +5599,22 @@
|
|
|
4752
5599
|
],
|
|
4753
5600
|
"security": [
|
|
4754
5601
|
{
|
|
4755
|
-
"faable_user": []
|
|
4756
|
-
|
|
4757
|
-
|
|
5602
|
+
"faable_user": []
|
|
5603
|
+
},
|
|
5604
|
+
{
|
|
5605
|
+
"faable_cli": []
|
|
5606
|
+
},
|
|
5607
|
+
{
|
|
5608
|
+
"faable_m2m": []
|
|
5609
|
+
},
|
|
5610
|
+
{
|
|
4758
5611
|
"faable_machine": []
|
|
5612
|
+
},
|
|
5613
|
+
{
|
|
5614
|
+
"apikey_basic": []
|
|
5615
|
+
},
|
|
5616
|
+
{
|
|
5617
|
+
"apikey": []
|
|
4759
5618
|
}
|
|
4760
5619
|
],
|
|
4761
5620
|
"responses": {
|
|
@@ -4794,10 +5653,22 @@
|
|
|
4794
5653
|
],
|
|
4795
5654
|
"security": [
|
|
4796
5655
|
{
|
|
4797
|
-
"faable_user": []
|
|
4798
|
-
|
|
4799
|
-
|
|
5656
|
+
"faable_user": []
|
|
5657
|
+
},
|
|
5658
|
+
{
|
|
5659
|
+
"faable_cli": []
|
|
5660
|
+
},
|
|
5661
|
+
{
|
|
5662
|
+
"faable_m2m": []
|
|
5663
|
+
},
|
|
5664
|
+
{
|
|
4800
5665
|
"faable_machine": []
|
|
5666
|
+
},
|
|
5667
|
+
{
|
|
5668
|
+
"apikey_basic": []
|
|
5669
|
+
},
|
|
5670
|
+
{
|
|
5671
|
+
"apikey": []
|
|
4801
5672
|
}
|
|
4802
5673
|
],
|
|
4803
5674
|
"responses": {
|
|
@@ -4834,10 +5705,22 @@
|
|
|
4834
5705
|
],
|
|
4835
5706
|
"security": [
|
|
4836
5707
|
{
|
|
4837
|
-
"faable_user": []
|
|
4838
|
-
|
|
4839
|
-
|
|
5708
|
+
"faable_user": []
|
|
5709
|
+
},
|
|
5710
|
+
{
|
|
5711
|
+
"faable_cli": []
|
|
5712
|
+
},
|
|
5713
|
+
{
|
|
5714
|
+
"faable_m2m": []
|
|
5715
|
+
},
|
|
5716
|
+
{
|
|
4840
5717
|
"faable_machine": []
|
|
5718
|
+
},
|
|
5719
|
+
{
|
|
5720
|
+
"apikey_basic": []
|
|
5721
|
+
},
|
|
5722
|
+
{
|
|
5723
|
+
"apikey": []
|
|
4841
5724
|
}
|
|
4842
5725
|
],
|
|
4843
5726
|
"responses": {
|
|
@@ -4919,10 +5802,22 @@
|
|
|
4919
5802
|
],
|
|
4920
5803
|
"security": [
|
|
4921
5804
|
{
|
|
4922
|
-
"faable_user": []
|
|
4923
|
-
|
|
4924
|
-
|
|
5805
|
+
"faable_user": []
|
|
5806
|
+
},
|
|
5807
|
+
{
|
|
5808
|
+
"faable_cli": []
|
|
5809
|
+
},
|
|
5810
|
+
{
|
|
5811
|
+
"faable_m2m": []
|
|
5812
|
+
},
|
|
5813
|
+
{
|
|
4925
5814
|
"faable_machine": []
|
|
5815
|
+
},
|
|
5816
|
+
{
|
|
5817
|
+
"apikey_basic": []
|
|
5818
|
+
},
|
|
5819
|
+
{
|
|
5820
|
+
"apikey": []
|
|
4926
5821
|
}
|
|
4927
5822
|
],
|
|
4928
5823
|
"responses": {
|
|
@@ -5028,10 +5923,22 @@
|
|
|
5028
5923
|
],
|
|
5029
5924
|
"security": [
|
|
5030
5925
|
{
|
|
5031
|
-
"faable_user": []
|
|
5032
|
-
|
|
5033
|
-
|
|
5926
|
+
"faable_user": []
|
|
5927
|
+
},
|
|
5928
|
+
{
|
|
5929
|
+
"faable_cli": []
|
|
5930
|
+
},
|
|
5931
|
+
{
|
|
5932
|
+
"faable_m2m": []
|
|
5933
|
+
},
|
|
5934
|
+
{
|
|
5034
5935
|
"faable_machine": []
|
|
5936
|
+
},
|
|
5937
|
+
{
|
|
5938
|
+
"apikey_basic": []
|
|
5939
|
+
},
|
|
5940
|
+
{
|
|
5941
|
+
"apikey": []
|
|
5035
5942
|
}
|
|
5036
5943
|
],
|
|
5037
5944
|
"responses": {
|
|
@@ -5328,10 +6235,22 @@
|
|
|
5328
6235
|
],
|
|
5329
6236
|
"security": [
|
|
5330
6237
|
{
|
|
5331
|
-
"faable_user": []
|
|
5332
|
-
|
|
5333
|
-
|
|
6238
|
+
"faable_user": []
|
|
6239
|
+
},
|
|
6240
|
+
{
|
|
6241
|
+
"faable_cli": []
|
|
6242
|
+
},
|
|
6243
|
+
{
|
|
6244
|
+
"faable_m2m": []
|
|
6245
|
+
},
|
|
6246
|
+
{
|
|
5334
6247
|
"faable_machine": []
|
|
6248
|
+
},
|
|
6249
|
+
{
|
|
6250
|
+
"apikey_basic": []
|
|
6251
|
+
},
|
|
6252
|
+
{
|
|
6253
|
+
"apikey": []
|
|
5335
6254
|
}
|
|
5336
6255
|
],
|
|
5337
6256
|
"responses": {
|
|
@@ -5369,10 +6288,22 @@
|
|
|
5369
6288
|
],
|
|
5370
6289
|
"security": [
|
|
5371
6290
|
{
|
|
5372
|
-
"faable_user": []
|
|
5373
|
-
|
|
5374
|
-
|
|
6291
|
+
"faable_user": []
|
|
6292
|
+
},
|
|
6293
|
+
{
|
|
6294
|
+
"faable_cli": []
|
|
6295
|
+
},
|
|
6296
|
+
{
|
|
6297
|
+
"faable_m2m": []
|
|
6298
|
+
},
|
|
6299
|
+
{
|
|
5375
6300
|
"faable_machine": []
|
|
6301
|
+
},
|
|
6302
|
+
{
|
|
6303
|
+
"apikey_basic": []
|
|
6304
|
+
},
|
|
6305
|
+
{
|
|
6306
|
+
"apikey": []
|
|
5376
6307
|
}
|
|
5377
6308
|
],
|
|
5378
6309
|
"responses": {
|
|
@@ -5431,10 +6362,22 @@
|
|
|
5431
6362
|
],
|
|
5432
6363
|
"security": [
|
|
5433
6364
|
{
|
|
5434
|
-
"faable_user": []
|
|
5435
|
-
|
|
5436
|
-
|
|
6365
|
+
"faable_user": []
|
|
6366
|
+
},
|
|
6367
|
+
{
|
|
6368
|
+
"faable_cli": []
|
|
6369
|
+
},
|
|
6370
|
+
{
|
|
6371
|
+
"faable_m2m": []
|
|
6372
|
+
},
|
|
6373
|
+
{
|
|
5437
6374
|
"faable_machine": []
|
|
6375
|
+
},
|
|
6376
|
+
{
|
|
6377
|
+
"apikey_basic": []
|
|
6378
|
+
},
|
|
6379
|
+
{
|
|
6380
|
+
"apikey": []
|
|
5438
6381
|
}
|
|
5439
6382
|
],
|
|
5440
6383
|
"responses": {
|
|
@@ -5484,10 +6427,22 @@
|
|
|
5484
6427
|
],
|
|
5485
6428
|
"security": [
|
|
5486
6429
|
{
|
|
5487
|
-
"faable_user": []
|
|
5488
|
-
|
|
5489
|
-
|
|
6430
|
+
"faable_user": []
|
|
6431
|
+
},
|
|
6432
|
+
{
|
|
6433
|
+
"faable_cli": []
|
|
6434
|
+
},
|
|
6435
|
+
{
|
|
6436
|
+
"faable_m2m": []
|
|
6437
|
+
},
|
|
6438
|
+
{
|
|
5490
6439
|
"faable_machine": []
|
|
6440
|
+
},
|
|
6441
|
+
{
|
|
6442
|
+
"apikey_basic": []
|
|
6443
|
+
},
|
|
6444
|
+
{
|
|
6445
|
+
"apikey": []
|
|
5491
6446
|
}
|
|
5492
6447
|
],
|
|
5493
6448
|
"responses": {
|
|
@@ -5536,10 +6491,22 @@
|
|
|
5536
6491
|
],
|
|
5537
6492
|
"security": [
|
|
5538
6493
|
{
|
|
5539
|
-
"faable_user": []
|
|
5540
|
-
|
|
5541
|
-
|
|
6494
|
+
"faable_user": []
|
|
6495
|
+
},
|
|
6496
|
+
{
|
|
6497
|
+
"faable_cli": []
|
|
6498
|
+
},
|
|
6499
|
+
{
|
|
6500
|
+
"faable_m2m": []
|
|
6501
|
+
},
|
|
6502
|
+
{
|
|
5542
6503
|
"faable_machine": []
|
|
6504
|
+
},
|
|
6505
|
+
{
|
|
6506
|
+
"apikey_basic": []
|
|
6507
|
+
},
|
|
6508
|
+
{
|
|
6509
|
+
"apikey": []
|
|
5543
6510
|
}
|
|
5544
6511
|
],
|
|
5545
6512
|
"responses": {
|
|
@@ -5611,14 +6578,26 @@
|
|
|
5611
6578
|
],
|
|
5612
6579
|
"security": [
|
|
5613
6580
|
{
|
|
5614
|
-
"faable_user": []
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
"
|
|
5618
|
-
}
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
6581
|
+
"faable_user": []
|
|
6582
|
+
},
|
|
6583
|
+
{
|
|
6584
|
+
"faable_cli": []
|
|
6585
|
+
},
|
|
6586
|
+
{
|
|
6587
|
+
"faable_m2m": []
|
|
6588
|
+
},
|
|
6589
|
+
{
|
|
6590
|
+
"faable_machine": []
|
|
6591
|
+
},
|
|
6592
|
+
{
|
|
6593
|
+
"apikey_basic": []
|
|
6594
|
+
},
|
|
6595
|
+
{
|
|
6596
|
+
"apikey": []
|
|
6597
|
+
}
|
|
6598
|
+
],
|
|
6599
|
+
"responses": {
|
|
6600
|
+
"200": {
|
|
5622
6601
|
"description": "Default Response",
|
|
5623
6602
|
"content": {
|
|
5624
6603
|
"application/json": {
|
|
@@ -5725,10 +6704,22 @@
|
|
|
5725
6704
|
],
|
|
5726
6705
|
"security": [
|
|
5727
6706
|
{
|
|
5728
|
-
"faable_user": []
|
|
5729
|
-
|
|
5730
|
-
|
|
6707
|
+
"faable_user": []
|
|
6708
|
+
},
|
|
6709
|
+
{
|
|
6710
|
+
"faable_cli": []
|
|
6711
|
+
},
|
|
6712
|
+
{
|
|
6713
|
+
"faable_m2m": []
|
|
6714
|
+
},
|
|
6715
|
+
{
|
|
5731
6716
|
"faable_machine": []
|
|
6717
|
+
},
|
|
6718
|
+
{
|
|
6719
|
+
"apikey_basic": []
|
|
6720
|
+
},
|
|
6721
|
+
{
|
|
6722
|
+
"apikey": []
|
|
5732
6723
|
}
|
|
5733
6724
|
],
|
|
5734
6725
|
"responses": {
|
|
@@ -5766,10 +6757,22 @@
|
|
|
5766
6757
|
],
|
|
5767
6758
|
"security": [
|
|
5768
6759
|
{
|
|
5769
|
-
"faable_user": []
|
|
5770
|
-
|
|
5771
|
-
|
|
6760
|
+
"faable_user": []
|
|
6761
|
+
},
|
|
6762
|
+
{
|
|
6763
|
+
"faable_cli": []
|
|
6764
|
+
},
|
|
6765
|
+
{
|
|
6766
|
+
"faable_m2m": []
|
|
6767
|
+
},
|
|
6768
|
+
{
|
|
5772
6769
|
"faable_machine": []
|
|
6770
|
+
},
|
|
6771
|
+
{
|
|
6772
|
+
"apikey_basic": []
|
|
6773
|
+
},
|
|
6774
|
+
{
|
|
6775
|
+
"apikey": []
|
|
5773
6776
|
}
|
|
5774
6777
|
],
|
|
5775
6778
|
"responses": {
|
|
@@ -5855,10 +6858,22 @@
|
|
|
5855
6858
|
],
|
|
5856
6859
|
"security": [
|
|
5857
6860
|
{
|
|
5858
|
-
"faable_user": []
|
|
5859
|
-
|
|
5860
|
-
|
|
6861
|
+
"faable_user": []
|
|
6862
|
+
},
|
|
6863
|
+
{
|
|
6864
|
+
"faable_cli": []
|
|
6865
|
+
},
|
|
6866
|
+
{
|
|
6867
|
+
"faable_m2m": []
|
|
6868
|
+
},
|
|
6869
|
+
{
|
|
5861
6870
|
"faable_machine": []
|
|
6871
|
+
},
|
|
6872
|
+
{
|
|
6873
|
+
"apikey_basic": []
|
|
6874
|
+
},
|
|
6875
|
+
{
|
|
6876
|
+
"apikey": []
|
|
5862
6877
|
}
|
|
5863
6878
|
],
|
|
5864
6879
|
"responses": {
|
|
@@ -5949,10 +6964,22 @@
|
|
|
5949
6964
|
},
|
|
5950
6965
|
"security": [
|
|
5951
6966
|
{
|
|
5952
|
-
"faable_user": []
|
|
5953
|
-
|
|
5954
|
-
|
|
6967
|
+
"faable_user": []
|
|
6968
|
+
},
|
|
6969
|
+
{
|
|
6970
|
+
"faable_cli": []
|
|
6971
|
+
},
|
|
6972
|
+
{
|
|
6973
|
+
"faable_m2m": []
|
|
6974
|
+
},
|
|
6975
|
+
{
|
|
5955
6976
|
"faable_machine": []
|
|
6977
|
+
},
|
|
6978
|
+
{
|
|
6979
|
+
"apikey_basic": []
|
|
6980
|
+
},
|
|
6981
|
+
{
|
|
6982
|
+
"apikey": []
|
|
5956
6983
|
}
|
|
5957
6984
|
],
|
|
5958
6985
|
"responses": {
|
|
@@ -6023,6 +7050,9 @@
|
|
|
6023
7050
|
}
|
|
6024
7051
|
]
|
|
6025
7052
|
},
|
|
7053
|
+
"detected": {
|
|
7054
|
+
"$ref": "#/components/schemas/DeploymentDetected"
|
|
7055
|
+
},
|
|
6026
7056
|
"status": {
|
|
6027
7057
|
"$ref": "#/components/schemas/DeploymentStatus"
|
|
6028
7058
|
},
|
|
@@ -6070,10 +7100,22 @@
|
|
|
6070
7100
|
],
|
|
6071
7101
|
"security": [
|
|
6072
7102
|
{
|
|
6073
|
-
"faable_user": []
|
|
6074
|
-
|
|
6075
|
-
|
|
7103
|
+
"faable_user": []
|
|
7104
|
+
},
|
|
7105
|
+
{
|
|
7106
|
+
"faable_cli": []
|
|
7107
|
+
},
|
|
7108
|
+
{
|
|
7109
|
+
"faable_m2m": []
|
|
7110
|
+
},
|
|
7111
|
+
{
|
|
6076
7112
|
"faable_machine": []
|
|
7113
|
+
},
|
|
7114
|
+
{
|
|
7115
|
+
"apikey_basic": []
|
|
7116
|
+
},
|
|
7117
|
+
{
|
|
7118
|
+
"apikey": []
|
|
6077
7119
|
}
|
|
6078
7120
|
],
|
|
6079
7121
|
"responses": {
|
|
@@ -6144,6 +7186,9 @@
|
|
|
6144
7186
|
}
|
|
6145
7187
|
]
|
|
6146
7188
|
},
|
|
7189
|
+
"detected": {
|
|
7190
|
+
"$ref": "#/components/schemas/DeploymentDetected"
|
|
7191
|
+
},
|
|
6147
7192
|
"status": {
|
|
6148
7193
|
"$ref": "#/components/schemas/DeploymentStatus"
|
|
6149
7194
|
},
|
|
@@ -6192,6 +7237,9 @@
|
|
|
6192
7237
|
},
|
|
6193
7238
|
"type": {
|
|
6194
7239
|
"type": "string"
|
|
7240
|
+
},
|
|
7241
|
+
"detected": {
|
|
7242
|
+
"$ref": "#/components/schemas/DeploymentDetected"
|
|
6195
7243
|
}
|
|
6196
7244
|
}
|
|
6197
7245
|
}
|
|
@@ -6210,10 +7258,22 @@
|
|
|
6210
7258
|
],
|
|
6211
7259
|
"security": [
|
|
6212
7260
|
{
|
|
6213
|
-
"faable_user": []
|
|
6214
|
-
|
|
6215
|
-
|
|
7261
|
+
"faable_user": []
|
|
7262
|
+
},
|
|
7263
|
+
{
|
|
7264
|
+
"faable_cli": []
|
|
7265
|
+
},
|
|
7266
|
+
{
|
|
7267
|
+
"faable_m2m": []
|
|
7268
|
+
},
|
|
7269
|
+
{
|
|
6216
7270
|
"faable_machine": []
|
|
7271
|
+
},
|
|
7272
|
+
{
|
|
7273
|
+
"apikey_basic": []
|
|
7274
|
+
},
|
|
7275
|
+
{
|
|
7276
|
+
"apikey": []
|
|
6217
7277
|
}
|
|
6218
7278
|
],
|
|
6219
7279
|
"responses": {
|
|
@@ -6284,6 +7344,9 @@
|
|
|
6284
7344
|
}
|
|
6285
7345
|
]
|
|
6286
7346
|
},
|
|
7347
|
+
"detected": {
|
|
7348
|
+
"$ref": "#/components/schemas/DeploymentDetected"
|
|
7349
|
+
},
|
|
6287
7350
|
"status": {
|
|
6288
7351
|
"$ref": "#/components/schemas/DeploymentStatus"
|
|
6289
7352
|
},
|
|
@@ -6329,10 +7392,22 @@
|
|
|
6329
7392
|
],
|
|
6330
7393
|
"security": [
|
|
6331
7394
|
{
|
|
6332
|
-
"faable_user": []
|
|
6333
|
-
|
|
6334
|
-
|
|
7395
|
+
"faable_user": []
|
|
7396
|
+
},
|
|
7397
|
+
{
|
|
7398
|
+
"faable_cli": []
|
|
7399
|
+
},
|
|
7400
|
+
{
|
|
7401
|
+
"faable_m2m": []
|
|
7402
|
+
},
|
|
7403
|
+
{
|
|
6335
7404
|
"faable_machine": []
|
|
7405
|
+
},
|
|
7406
|
+
{
|
|
7407
|
+
"apikey_basic": []
|
|
7408
|
+
},
|
|
7409
|
+
{
|
|
7410
|
+
"apikey": []
|
|
6336
7411
|
}
|
|
6337
7412
|
],
|
|
6338
7413
|
"responses": {
|
|
@@ -6403,6 +7478,9 @@
|
|
|
6403
7478
|
}
|
|
6404
7479
|
]
|
|
6405
7480
|
},
|
|
7481
|
+
"detected": {
|
|
7482
|
+
"$ref": "#/components/schemas/DeploymentDetected"
|
|
7483
|
+
},
|
|
6406
7484
|
"status": {
|
|
6407
7485
|
"$ref": "#/components/schemas/DeploymentStatus"
|
|
6408
7486
|
},
|
|
@@ -6450,10 +7528,22 @@
|
|
|
6450
7528
|
],
|
|
6451
7529
|
"security": [
|
|
6452
7530
|
{
|
|
6453
|
-
"faable_user": []
|
|
6454
|
-
|
|
6455
|
-
|
|
7531
|
+
"faable_user": []
|
|
7532
|
+
},
|
|
7533
|
+
{
|
|
7534
|
+
"faable_cli": []
|
|
7535
|
+
},
|
|
7536
|
+
{
|
|
7537
|
+
"faable_m2m": []
|
|
7538
|
+
},
|
|
7539
|
+
{
|
|
6456
7540
|
"faable_machine": []
|
|
7541
|
+
},
|
|
7542
|
+
{
|
|
7543
|
+
"apikey_basic": []
|
|
7544
|
+
},
|
|
7545
|
+
{
|
|
7546
|
+
"apikey": []
|
|
6457
7547
|
}
|
|
6458
7548
|
],
|
|
6459
7549
|
"responses": {
|
|
@@ -6564,10 +7654,22 @@
|
|
|
6564
7654
|
],
|
|
6565
7655
|
"security": [
|
|
6566
7656
|
{
|
|
6567
|
-
"faable_user": []
|
|
6568
|
-
|
|
6569
|
-
|
|
7657
|
+
"faable_user": []
|
|
7658
|
+
},
|
|
7659
|
+
{
|
|
7660
|
+
"faable_cli": []
|
|
7661
|
+
},
|
|
7662
|
+
{
|
|
7663
|
+
"faable_m2m": []
|
|
7664
|
+
},
|
|
7665
|
+
{
|
|
6570
7666
|
"faable_machine": []
|
|
7667
|
+
},
|
|
7668
|
+
{
|
|
7669
|
+
"apikey_basic": []
|
|
7670
|
+
},
|
|
7671
|
+
{
|
|
7672
|
+
"apikey": []
|
|
6571
7673
|
}
|
|
6572
7674
|
],
|
|
6573
7675
|
"responses": {
|
|
@@ -6641,10 +7743,22 @@
|
|
|
6641
7743
|
},
|
|
6642
7744
|
"security": [
|
|
6643
7745
|
{
|
|
6644
|
-
"faable_user": []
|
|
6645
|
-
|
|
6646
|
-
|
|
7746
|
+
"faable_user": []
|
|
7747
|
+
},
|
|
7748
|
+
{
|
|
7749
|
+
"faable_cli": []
|
|
7750
|
+
},
|
|
7751
|
+
{
|
|
7752
|
+
"faable_m2m": []
|
|
7753
|
+
},
|
|
7754
|
+
{
|
|
6647
7755
|
"faable_machine": []
|
|
7756
|
+
},
|
|
7757
|
+
{
|
|
7758
|
+
"apikey_basic": []
|
|
7759
|
+
},
|
|
7760
|
+
{
|
|
7761
|
+
"apikey": []
|
|
6648
7762
|
}
|
|
6649
7763
|
],
|
|
6650
7764
|
"responses": {
|
|
@@ -6747,10 +7861,22 @@
|
|
|
6747
7861
|
],
|
|
6748
7862
|
"security": [
|
|
6749
7863
|
{
|
|
6750
|
-
"faable_user": []
|
|
6751
|
-
|
|
6752
|
-
|
|
7864
|
+
"faable_user": []
|
|
7865
|
+
},
|
|
7866
|
+
{
|
|
7867
|
+
"faable_cli": []
|
|
7868
|
+
},
|
|
7869
|
+
{
|
|
7870
|
+
"faable_m2m": []
|
|
7871
|
+
},
|
|
7872
|
+
{
|
|
6753
7873
|
"faable_machine": []
|
|
7874
|
+
},
|
|
7875
|
+
{
|
|
7876
|
+
"apikey_basic": []
|
|
7877
|
+
},
|
|
7878
|
+
{
|
|
7879
|
+
"apikey": []
|
|
6754
7880
|
}
|
|
6755
7881
|
],
|
|
6756
7882
|
"responses": {
|
|
@@ -6872,10 +7998,22 @@
|
|
|
6872
7998
|
],
|
|
6873
7999
|
"security": [
|
|
6874
8000
|
{
|
|
6875
|
-
"faable_user": []
|
|
6876
|
-
|
|
6877
|
-
|
|
8001
|
+
"faable_user": []
|
|
8002
|
+
},
|
|
8003
|
+
{
|
|
8004
|
+
"faable_cli": []
|
|
8005
|
+
},
|
|
8006
|
+
{
|
|
8007
|
+
"faable_m2m": []
|
|
8008
|
+
},
|
|
8009
|
+
{
|
|
6878
8010
|
"faable_machine": []
|
|
8011
|
+
},
|
|
8012
|
+
{
|
|
8013
|
+
"apikey_basic": []
|
|
8014
|
+
},
|
|
8015
|
+
{
|
|
8016
|
+
"apikey": []
|
|
6879
8017
|
}
|
|
6880
8018
|
],
|
|
6881
8019
|
"responses": {
|
|
@@ -6976,10 +8114,22 @@
|
|
|
6976
8114
|
],
|
|
6977
8115
|
"security": [
|
|
6978
8116
|
{
|
|
6979
|
-
"faable_user": []
|
|
6980
|
-
|
|
6981
|
-
|
|
8117
|
+
"faable_user": []
|
|
8118
|
+
},
|
|
8119
|
+
{
|
|
8120
|
+
"faable_cli": []
|
|
8121
|
+
},
|
|
8122
|
+
{
|
|
8123
|
+
"faable_m2m": []
|
|
8124
|
+
},
|
|
8125
|
+
{
|
|
6982
8126
|
"faable_machine": []
|
|
8127
|
+
},
|
|
8128
|
+
{
|
|
8129
|
+
"apikey_basic": []
|
|
8130
|
+
},
|
|
8131
|
+
{
|
|
8132
|
+
"apikey": []
|
|
6983
8133
|
}
|
|
6984
8134
|
],
|
|
6985
8135
|
"responses": {
|
|
@@ -7082,10 +8232,22 @@
|
|
|
7082
8232
|
],
|
|
7083
8233
|
"security": [
|
|
7084
8234
|
{
|
|
7085
|
-
"faable_user": []
|
|
7086
|
-
|
|
7087
|
-
|
|
8235
|
+
"faable_user": []
|
|
8236
|
+
},
|
|
8237
|
+
{
|
|
8238
|
+
"faable_cli": []
|
|
8239
|
+
},
|
|
8240
|
+
{
|
|
8241
|
+
"faable_m2m": []
|
|
8242
|
+
},
|
|
8243
|
+
{
|
|
7088
8244
|
"faable_machine": []
|
|
8245
|
+
},
|
|
8246
|
+
{
|
|
8247
|
+
"apikey_basic": []
|
|
8248
|
+
},
|
|
8249
|
+
{
|
|
8250
|
+
"apikey": []
|
|
7089
8251
|
}
|
|
7090
8252
|
],
|
|
7091
8253
|
"responses": {
|
|
@@ -7122,10 +8284,22 @@
|
|
|
7122
8284
|
},
|
|
7123
8285
|
"security": [
|
|
7124
8286
|
{
|
|
7125
|
-
"faable_user": []
|
|
7126
|
-
|
|
7127
|
-
|
|
8287
|
+
"faable_user": []
|
|
8288
|
+
},
|
|
8289
|
+
{
|
|
8290
|
+
"faable_cli": []
|
|
8291
|
+
},
|
|
8292
|
+
{
|
|
8293
|
+
"faable_m2m": []
|
|
8294
|
+
},
|
|
8295
|
+
{
|
|
7128
8296
|
"faable_machine": []
|
|
8297
|
+
},
|
|
8298
|
+
{
|
|
8299
|
+
"apikey_basic": []
|
|
8300
|
+
},
|
|
8301
|
+
{
|
|
8302
|
+
"apikey": []
|
|
7129
8303
|
}
|
|
7130
8304
|
],
|
|
7131
8305
|
"responses": {
|
|
@@ -7189,10 +8363,22 @@
|
|
|
7189
8363
|
],
|
|
7190
8364
|
"security": [
|
|
7191
8365
|
{
|
|
7192
|
-
"faable_user": []
|
|
7193
|
-
|
|
7194
|
-
|
|
8366
|
+
"faable_user": []
|
|
8367
|
+
},
|
|
8368
|
+
{
|
|
8369
|
+
"faable_cli": []
|
|
8370
|
+
},
|
|
8371
|
+
{
|
|
8372
|
+
"faable_m2m": []
|
|
8373
|
+
},
|
|
8374
|
+
{
|
|
7195
8375
|
"faable_machine": []
|
|
8376
|
+
},
|
|
8377
|
+
{
|
|
8378
|
+
"apikey_basic": []
|
|
8379
|
+
},
|
|
8380
|
+
{
|
|
8381
|
+
"apikey": []
|
|
7196
8382
|
}
|
|
7197
8383
|
],
|
|
7198
8384
|
"responses": {
|
|
@@ -7229,10 +8415,22 @@
|
|
|
7229
8415
|
],
|
|
7230
8416
|
"security": [
|
|
7231
8417
|
{
|
|
7232
|
-
"faable_user": []
|
|
7233
|
-
|
|
7234
|
-
|
|
8418
|
+
"faable_user": []
|
|
8419
|
+
},
|
|
8420
|
+
{
|
|
8421
|
+
"faable_cli": []
|
|
8422
|
+
},
|
|
8423
|
+
{
|
|
8424
|
+
"faable_m2m": []
|
|
8425
|
+
},
|
|
8426
|
+
{
|
|
7235
8427
|
"faable_machine": []
|
|
8428
|
+
},
|
|
8429
|
+
{
|
|
8430
|
+
"apikey_basic": []
|
|
8431
|
+
},
|
|
8432
|
+
{
|
|
8433
|
+
"apikey": []
|
|
7236
8434
|
}
|
|
7237
8435
|
],
|
|
7238
8436
|
"responses": {
|
|
@@ -7262,10 +8460,22 @@
|
|
|
7262
8460
|
},
|
|
7263
8461
|
"security": [
|
|
7264
8462
|
{
|
|
7265
|
-
"faable_user": []
|
|
7266
|
-
|
|
7267
|
-
|
|
8463
|
+
"faable_user": []
|
|
8464
|
+
},
|
|
8465
|
+
{
|
|
8466
|
+
"faable_cli": []
|
|
8467
|
+
},
|
|
8468
|
+
{
|
|
8469
|
+
"faable_m2m": []
|
|
8470
|
+
},
|
|
8471
|
+
{
|
|
7268
8472
|
"faable_machine": []
|
|
8473
|
+
},
|
|
8474
|
+
{
|
|
8475
|
+
"apikey_basic": []
|
|
8476
|
+
},
|
|
8477
|
+
{
|
|
8478
|
+
"apikey": []
|
|
7269
8479
|
}
|
|
7270
8480
|
],
|
|
7271
8481
|
"responses": {
|
|
@@ -7322,6 +8532,190 @@
|
|
|
7322
8532
|
}
|
|
7323
8533
|
}
|
|
7324
8534
|
},
|
|
8535
|
+
"/analyzer/scan": {
|
|
8536
|
+
"get": {
|
|
8537
|
+
"operationId": "analyzer/listScans",
|
|
8538
|
+
"summary": "List analyzer scans",
|
|
8539
|
+
"tags": [
|
|
8540
|
+
"analyzer"
|
|
8541
|
+
],
|
|
8542
|
+
"description": "List analyzer scan results, newest first (superadmin). The abuse-detection corpus + takedown audit trail.",
|
|
8543
|
+
"parameters": [
|
|
8544
|
+
{
|
|
8545
|
+
"schema": {
|
|
8546
|
+
"anyOf": [
|
|
8547
|
+
{
|
|
8548
|
+
"type": "string",
|
|
8549
|
+
"enum": [
|
|
8550
|
+
"clean"
|
|
8551
|
+
]
|
|
8552
|
+
},
|
|
8553
|
+
{
|
|
8554
|
+
"type": "string",
|
|
8555
|
+
"enum": [
|
|
8556
|
+
"review"
|
|
8557
|
+
]
|
|
8558
|
+
},
|
|
8559
|
+
{
|
|
8560
|
+
"type": "string",
|
|
8561
|
+
"enum": [
|
|
8562
|
+
"quarantine"
|
|
8563
|
+
]
|
|
8564
|
+
},
|
|
8565
|
+
{
|
|
8566
|
+
"type": "string",
|
|
8567
|
+
"enum": [
|
|
8568
|
+
"skipped"
|
|
8569
|
+
]
|
|
8570
|
+
}
|
|
8571
|
+
]
|
|
8572
|
+
},
|
|
8573
|
+
"in": "query",
|
|
8574
|
+
"name": "verdict",
|
|
8575
|
+
"required": false
|
|
8576
|
+
},
|
|
8577
|
+
{
|
|
8578
|
+
"schema": {
|
|
8579
|
+
"type": "string"
|
|
8580
|
+
},
|
|
8581
|
+
"in": "query",
|
|
8582
|
+
"name": "app_id",
|
|
8583
|
+
"required": false
|
|
8584
|
+
},
|
|
8585
|
+
{
|
|
8586
|
+
"schema": {
|
|
8587
|
+
"type": "string"
|
|
8588
|
+
},
|
|
8589
|
+
"in": "query",
|
|
8590
|
+
"name": "user_id",
|
|
8591
|
+
"required": false
|
|
8592
|
+
},
|
|
8593
|
+
{
|
|
8594
|
+
"schema": {
|
|
8595
|
+
"type": "integer",
|
|
8596
|
+
"minimum": 1,
|
|
8597
|
+
"maximum": 200
|
|
8598
|
+
},
|
|
8599
|
+
"in": "query",
|
|
8600
|
+
"name": "limit",
|
|
8601
|
+
"required": false
|
|
8602
|
+
}
|
|
8603
|
+
],
|
|
8604
|
+
"security": [
|
|
8605
|
+
{
|
|
8606
|
+
"faable_user": []
|
|
8607
|
+
},
|
|
8608
|
+
{
|
|
8609
|
+
"faable_cli": []
|
|
8610
|
+
},
|
|
8611
|
+
{
|
|
8612
|
+
"faable_m2m": []
|
|
8613
|
+
},
|
|
8614
|
+
{
|
|
8615
|
+
"faable_machine": []
|
|
8616
|
+
},
|
|
8617
|
+
{
|
|
8618
|
+
"apikey_basic": []
|
|
8619
|
+
},
|
|
8620
|
+
{
|
|
8621
|
+
"apikey": []
|
|
8622
|
+
}
|
|
8623
|
+
],
|
|
8624
|
+
"responses": {
|
|
8625
|
+
"200": {
|
|
8626
|
+
"description": "Default Response"
|
|
8627
|
+
}
|
|
8628
|
+
}
|
|
8629
|
+
}
|
|
8630
|
+
},
|
|
8631
|
+
"/analyzer/stats": {
|
|
8632
|
+
"get": {
|
|
8633
|
+
"operationId": "analyzer/stats",
|
|
8634
|
+
"summary": "Analyzer stats",
|
|
8635
|
+
"tags": [
|
|
8636
|
+
"analyzer"
|
|
8637
|
+
],
|
|
8638
|
+
"description": "Analyzer detection stats: counts per verdict + top signatures (superadmin).",
|
|
8639
|
+
"security": [
|
|
8640
|
+
{
|
|
8641
|
+
"faable_user": []
|
|
8642
|
+
},
|
|
8643
|
+
{
|
|
8644
|
+
"faable_cli": []
|
|
8645
|
+
},
|
|
8646
|
+
{
|
|
8647
|
+
"faable_m2m": []
|
|
8648
|
+
},
|
|
8649
|
+
{
|
|
8650
|
+
"faable_machine": []
|
|
8651
|
+
},
|
|
8652
|
+
{
|
|
8653
|
+
"apikey_basic": []
|
|
8654
|
+
},
|
|
8655
|
+
{
|
|
8656
|
+
"apikey": []
|
|
8657
|
+
}
|
|
8658
|
+
],
|
|
8659
|
+
"responses": {
|
|
8660
|
+
"200": {
|
|
8661
|
+
"description": "Default Response"
|
|
8662
|
+
}
|
|
8663
|
+
}
|
|
8664
|
+
}
|
|
8665
|
+
},
|
|
8666
|
+
"/analyzer/rescan/{app_id}": {
|
|
8667
|
+
"post": {
|
|
8668
|
+
"operationId": "analyzer/rescan",
|
|
8669
|
+
"summary": "Rescan a deployment",
|
|
8670
|
+
"tags": [
|
|
8671
|
+
"analyzer"
|
|
8672
|
+
],
|
|
8673
|
+
"description": "Re-scan an app's promoted deployment (or ?deployment_id=…). Forces a fresh scan + enforcement; use after a signature update. Superadmin.",
|
|
8674
|
+
"parameters": [
|
|
8675
|
+
{
|
|
8676
|
+
"schema": {
|
|
8677
|
+
"type": "string"
|
|
8678
|
+
},
|
|
8679
|
+
"in": "query",
|
|
8680
|
+
"name": "deployment_id",
|
|
8681
|
+
"required": false
|
|
8682
|
+
},
|
|
8683
|
+
{
|
|
8684
|
+
"schema": {
|
|
8685
|
+
"type": "string"
|
|
8686
|
+
},
|
|
8687
|
+
"in": "path",
|
|
8688
|
+
"name": "app_id",
|
|
8689
|
+
"required": true
|
|
8690
|
+
}
|
|
8691
|
+
],
|
|
8692
|
+
"security": [
|
|
8693
|
+
{
|
|
8694
|
+
"faable_user": []
|
|
8695
|
+
},
|
|
8696
|
+
{
|
|
8697
|
+
"faable_cli": []
|
|
8698
|
+
},
|
|
8699
|
+
{
|
|
8700
|
+
"faable_m2m": []
|
|
8701
|
+
},
|
|
8702
|
+
{
|
|
8703
|
+
"faable_machine": []
|
|
8704
|
+
},
|
|
8705
|
+
{
|
|
8706
|
+
"apikey_basic": []
|
|
8707
|
+
},
|
|
8708
|
+
{
|
|
8709
|
+
"apikey": []
|
|
8710
|
+
}
|
|
8711
|
+
],
|
|
8712
|
+
"responses": {
|
|
8713
|
+
"200": {
|
|
8714
|
+
"description": "Default Response"
|
|
8715
|
+
}
|
|
8716
|
+
}
|
|
8717
|
+
}
|
|
8718
|
+
},
|
|
7325
8719
|
"/usage/summary": {
|
|
7326
8720
|
"get": {
|
|
7327
8721
|
"operationId": "usage/summary",
|
|
@@ -7329,12 +8723,35 @@
|
|
|
7329
8723
|
"tags": [
|
|
7330
8724
|
"usage"
|
|
7331
8725
|
],
|
|
8726
|
+
"parameters": [
|
|
8727
|
+
{
|
|
8728
|
+
"schema": {
|
|
8729
|
+
"type": "boolean",
|
|
8730
|
+
"default": true
|
|
8731
|
+
},
|
|
8732
|
+
"in": "query",
|
|
8733
|
+
"name": "traffic",
|
|
8734
|
+
"required": false
|
|
8735
|
+
}
|
|
8736
|
+
],
|
|
7332
8737
|
"security": [
|
|
7333
8738
|
{
|
|
7334
|
-
"faable_user": []
|
|
7335
|
-
|
|
7336
|
-
|
|
8739
|
+
"faable_user": []
|
|
8740
|
+
},
|
|
8741
|
+
{
|
|
8742
|
+
"faable_cli": []
|
|
8743
|
+
},
|
|
8744
|
+
{
|
|
8745
|
+
"faable_m2m": []
|
|
8746
|
+
},
|
|
8747
|
+
{
|
|
7337
8748
|
"faable_machine": []
|
|
8749
|
+
},
|
|
8750
|
+
{
|
|
8751
|
+
"apikey_basic": []
|
|
8752
|
+
},
|
|
8753
|
+
{
|
|
8754
|
+
"apikey": []
|
|
7338
8755
|
}
|
|
7339
8756
|
],
|
|
7340
8757
|
"responses": {
|
|
@@ -7347,7 +8764,8 @@
|
|
|
7347
8764
|
"required": [
|
|
7348
8765
|
"resources",
|
|
7349
8766
|
"traffic",
|
|
7350
|
-
"teams"
|
|
8767
|
+
"teams",
|
|
8768
|
+
"billing_available"
|
|
7351
8769
|
],
|
|
7352
8770
|
"properties": {
|
|
7353
8771
|
"resources": {
|
|
@@ -7370,19 +8788,26 @@
|
|
|
7370
8788
|
}
|
|
7371
8789
|
},
|
|
7372
8790
|
"traffic": {
|
|
7373
|
-
"
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
"
|
|
8791
|
+
"anyOf": [
|
|
8792
|
+
{
|
|
8793
|
+
"type": "object",
|
|
8794
|
+
"required": [
|
|
8795
|
+
"used_gb",
|
|
8796
|
+
"cost_estimate_cents"
|
|
8797
|
+
],
|
|
8798
|
+
"properties": {
|
|
8799
|
+
"used_gb": {
|
|
8800
|
+
"type": "number"
|
|
8801
|
+
},
|
|
8802
|
+
"cost_estimate_cents": {
|
|
8803
|
+
"type": "integer"
|
|
8804
|
+
}
|
|
8805
|
+
}
|
|
7381
8806
|
},
|
|
7382
|
-
|
|
7383
|
-
"type": "
|
|
8807
|
+
{
|
|
8808
|
+
"type": "null"
|
|
7384
8809
|
}
|
|
7385
|
-
|
|
8810
|
+
]
|
|
7386
8811
|
},
|
|
7387
8812
|
"teams": {
|
|
7388
8813
|
"type": "array",
|
|
@@ -7496,6 +8921,119 @@
|
|
|
7496
8921
|
}
|
|
7497
8922
|
}
|
|
7498
8923
|
}
|
|
8924
|
+
},
|
|
8925
|
+
"billing_available": {
|
|
8926
|
+
"type": "boolean"
|
|
8927
|
+
}
|
|
8928
|
+
}
|
|
8929
|
+
}
|
|
8930
|
+
}
|
|
8931
|
+
}
|
|
8932
|
+
}
|
|
8933
|
+
}
|
|
8934
|
+
}
|
|
8935
|
+
},
|
|
8936
|
+
"/usage/traffic": {
|
|
8937
|
+
"get": {
|
|
8938
|
+
"operationId": "usage/traffic",
|
|
8939
|
+
"summary": "Get metered traffic usage per team for the current period",
|
|
8940
|
+
"tags": [
|
|
8941
|
+
"usage"
|
|
8942
|
+
],
|
|
8943
|
+
"security": [
|
|
8944
|
+
{
|
|
8945
|
+
"faable_user": []
|
|
8946
|
+
},
|
|
8947
|
+
{
|
|
8948
|
+
"faable_cli": []
|
|
8949
|
+
},
|
|
8950
|
+
{
|
|
8951
|
+
"faable_m2m": []
|
|
8952
|
+
},
|
|
8953
|
+
{
|
|
8954
|
+
"faable_machine": []
|
|
8955
|
+
},
|
|
8956
|
+
{
|
|
8957
|
+
"apikey_basic": []
|
|
8958
|
+
},
|
|
8959
|
+
{
|
|
8960
|
+
"apikey": []
|
|
8961
|
+
}
|
|
8962
|
+
],
|
|
8963
|
+
"responses": {
|
|
8964
|
+
"200": {
|
|
8965
|
+
"description": "Default Response",
|
|
8966
|
+
"content": {
|
|
8967
|
+
"application/json": {
|
|
8968
|
+
"schema": {
|
|
8969
|
+
"type": "object",
|
|
8970
|
+
"required": [
|
|
8971
|
+
"traffic",
|
|
8972
|
+
"teams",
|
|
8973
|
+
"billing_available"
|
|
8974
|
+
],
|
|
8975
|
+
"properties": {
|
|
8976
|
+
"traffic": {
|
|
8977
|
+
"anyOf": [
|
|
8978
|
+
{
|
|
8979
|
+
"type": "object",
|
|
8980
|
+
"required": [
|
|
8981
|
+
"used_gb",
|
|
8982
|
+
"cost_estimate_cents"
|
|
8983
|
+
],
|
|
8984
|
+
"properties": {
|
|
8985
|
+
"used_gb": {
|
|
8986
|
+
"type": "number"
|
|
8987
|
+
},
|
|
8988
|
+
"cost_estimate_cents": {
|
|
8989
|
+
"type": "integer"
|
|
8990
|
+
}
|
|
8991
|
+
}
|
|
8992
|
+
},
|
|
8993
|
+
{
|
|
8994
|
+
"type": "null"
|
|
8995
|
+
}
|
|
8996
|
+
]
|
|
8997
|
+
},
|
|
8998
|
+
"teams": {
|
|
8999
|
+
"type": "array",
|
|
9000
|
+
"items": {
|
|
9001
|
+
"type": "object",
|
|
9002
|
+
"required": [
|
|
9003
|
+
"id",
|
|
9004
|
+
"traffic"
|
|
9005
|
+
],
|
|
9006
|
+
"properties": {
|
|
9007
|
+
"id": {
|
|
9008
|
+
"type": "string"
|
|
9009
|
+
},
|
|
9010
|
+
"traffic": {
|
|
9011
|
+
"anyOf": [
|
|
9012
|
+
{
|
|
9013
|
+
"type": "object",
|
|
9014
|
+
"required": [
|
|
9015
|
+
"used_gb",
|
|
9016
|
+
"cost_estimate_cents"
|
|
9017
|
+
],
|
|
9018
|
+
"properties": {
|
|
9019
|
+
"used_gb": {
|
|
9020
|
+
"type": "number"
|
|
9021
|
+
},
|
|
9022
|
+
"cost_estimate_cents": {
|
|
9023
|
+
"type": "integer"
|
|
9024
|
+
}
|
|
9025
|
+
}
|
|
9026
|
+
},
|
|
9027
|
+
{
|
|
9028
|
+
"type": "null"
|
|
9029
|
+
}
|
|
9030
|
+
]
|
|
9031
|
+
}
|
|
9032
|
+
}
|
|
9033
|
+
}
|
|
9034
|
+
},
|
|
9035
|
+
"billing_available": {
|
|
9036
|
+
"type": "boolean"
|
|
7499
9037
|
}
|
|
7500
9038
|
}
|
|
7501
9039
|
}
|
|
@@ -7515,10 +9053,22 @@
|
|
|
7515
9053
|
"description": "Daily deploy allowance of the current team: how much was used today, when it resets, and how many builds are held waiting for it.",
|
|
7516
9054
|
"security": [
|
|
7517
9055
|
{
|
|
7518
|
-
"faable_user": []
|
|
7519
|
-
|
|
7520
|
-
|
|
9056
|
+
"faable_user": []
|
|
9057
|
+
},
|
|
9058
|
+
{
|
|
9059
|
+
"faable_cli": []
|
|
9060
|
+
},
|
|
9061
|
+
{
|
|
9062
|
+
"faable_m2m": []
|
|
9063
|
+
},
|
|
9064
|
+
{
|
|
7521
9065
|
"faable_machine": []
|
|
9066
|
+
},
|
|
9067
|
+
{
|
|
9068
|
+
"apikey_basic": []
|
|
9069
|
+
},
|
|
9070
|
+
{
|
|
9071
|
+
"apikey": []
|
|
7522
9072
|
}
|
|
7523
9073
|
],
|
|
7524
9074
|
"responses": {
|
|
@@ -7581,10 +9131,22 @@
|
|
|
7581
9131
|
"description": "Releases the team's held deployments if its current plan allows it (per app, only the newest held build rolls out; older ones are canceled). Safe to call at any time — it does nothing while the quota is still spent.",
|
|
7582
9132
|
"security": [
|
|
7583
9133
|
{
|
|
7584
|
-
"faable_user": []
|
|
7585
|
-
|
|
7586
|
-
|
|
9134
|
+
"faable_user": []
|
|
9135
|
+
},
|
|
9136
|
+
{
|
|
9137
|
+
"faable_cli": []
|
|
9138
|
+
},
|
|
9139
|
+
{
|
|
9140
|
+
"faable_m2m": []
|
|
9141
|
+
},
|
|
9142
|
+
{
|
|
7587
9143
|
"faable_machine": []
|
|
9144
|
+
},
|
|
9145
|
+
{
|
|
9146
|
+
"apikey_basic": []
|
|
9147
|
+
},
|
|
9148
|
+
{
|
|
9149
|
+
"apikey": []
|
|
7588
9150
|
}
|
|
7589
9151
|
],
|
|
7590
9152
|
"responses": {
|