@usestatemachines/sdk 0.9.0 → 0.10.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/README.md +17 -3
- package/agents/SKILL.md +46 -30
- package/agents/index.js +6 -6
- package/agents/llms.txt +15 -8
- package/agents/prompt.md +1 -1
- package/esm/extensions/client.d.ts +31 -1
- package/esm/extensions/client.js +74 -2
- package/esm/extensions/errors.d.ts +7 -0
- package/esm/extensions/errors.js +46 -2
- package/esm/extensions/index.d.ts +2 -2
- package/esm/funcs/imports-complete.d.ts +12 -0
- package/esm/funcs/imports-complete.js +93 -0
- package/esm/funcs/imports-create.d.ts +12 -0
- package/esm/funcs/imports-create.js +89 -0
- package/esm/funcs/imports-delete.d.ts +12 -0
- package/esm/funcs/imports-delete.js +93 -0
- package/esm/funcs/imports-get.d.ts +12 -0
- package/esm/funcs/imports-get.js +93 -0
- package/esm/funcs/imports-list.d.ts +11 -0
- package/esm/funcs/imports-list.js +93 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/absent-reason.d.ts +36 -0
- package/esm/models/absent-reason.js +44 -0
- package/esm/models/absent-record-source.d.ts +13 -0
- package/esm/models/absent-record-source.js +14 -0
- package/esm/models/absent-record.d.ts +23 -0
- package/esm/models/absent-record.js +18 -0
- package/esm/models/create-snapshot-from-environment.d.ts +13 -0
- package/esm/models/create-snapshot-from-environment.js +12 -0
- package/esm/models/create-snapshot-from-import.d.ts +16 -0
- package/esm/models/create-snapshot-from-import.js +12 -0
- package/esm/models/create-snapshot.d.ts +9 -0
- package/esm/models/create-snapshot.js +14 -0
- package/esm/models/created-import.d.ts +38 -0
- package/esm/models/created-import.js +30 -0
- package/esm/models/import-problem.d.ts +40 -0
- package/esm/models/import-problem.js +28 -0
- package/esm/models/import-status.d.ts +13 -0
- package/esm/models/import-status.js +14 -0
- package/esm/models/import.d.ts +45 -0
- package/esm/models/import.js +36 -0
- package/esm/models/index.d.ts +12 -0
- package/esm/models/index.js +12 -0
- package/esm/models/operations/complete-import.d.ts +11 -0
- package/esm/models/operations/complete-import.js +11 -0
- package/esm/models/operations/create-import.d.ts +36 -0
- package/esm/models/operations/create-import.js +26 -0
- package/esm/models/operations/create-snapshot.d.ts +3 -14
- package/esm/models/operations/create-snapshot.js +2 -9
- package/esm/models/operations/delete-import.d.ts +11 -0
- package/esm/models/operations/delete-import.js +11 -0
- package/esm/models/operations/get-import.d.ts +11 -0
- package/esm/models/operations/get-import.js +11 -0
- package/esm/models/operations/index.d.ts +5 -0
- package/esm/models/operations/index.js +5 -0
- package/esm/models/operations/list-imports.d.ts +30 -0
- package/esm/models/operations/list-imports.js +25 -0
- package/esm/models/snapshot-app-load.d.ts +20 -0
- package/esm/models/snapshot-app-load.js +15 -0
- package/esm/models/snapshot-failure-union.d.ts +40 -0
- package/esm/models/snapshot-failure-union.js +42 -0
- package/esm/models/snapshot.d.ts +15 -17
- package/esm/models/snapshot.js +6 -17
- package/esm/sdk/imports.d.ts +10 -0
- package/esm/sdk/imports.js +27 -0
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.js +5 -0
- package/openapi.json +1258 -184
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -1,6 +1,95 @@
|
|
|
1
1
|
{
|
|
2
2
|
"components": {
|
|
3
3
|
"schemas": {
|
|
4
|
+
"AbsentReason": {
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"properties": {
|
|
8
|
+
"message": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"type": {
|
|
12
|
+
"enum": ["identity"],
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["type", "message"],
|
|
17
|
+
"type": "object"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"properties": {
|
|
21
|
+
"code": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"message": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"pointer": {
|
|
28
|
+
"type": ["string", "null"]
|
|
29
|
+
},
|
|
30
|
+
"type": {
|
|
31
|
+
"enum": ["problem"],
|
|
32
|
+
"type": "string"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": ["type", "code", "pointer", "message"],
|
|
36
|
+
"type": "object"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"properties": {
|
|
40
|
+
"nativeId": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"object": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"pointer": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"type": {
|
|
50
|
+
"enum": ["reference"],
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": ["type", "pointer", "object", "nativeId"],
|
|
55
|
+
"type": "object"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"description": "Why the record did not load."
|
|
59
|
+
},
|
|
60
|
+
"AbsentRecord": {
|
|
61
|
+
"properties": {
|
|
62
|
+
"nativeId": {
|
|
63
|
+
"description": "The vendor's ID of the record, or null for a record that holds none.",
|
|
64
|
+
"type": ["string", "null"]
|
|
65
|
+
},
|
|
66
|
+
"object": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"reason": {
|
|
70
|
+
"$ref": "#/components/schemas/AbsentReason"
|
|
71
|
+
},
|
|
72
|
+
"source": {
|
|
73
|
+
"$ref": "#/components/schemas/AbsentRecordSource"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": ["object", "source", "nativeId", "reason"],
|
|
77
|
+
"type": "object"
|
|
78
|
+
},
|
|
79
|
+
"AbsentRecordSource": {
|
|
80
|
+
"description": "The file of the record in the import, such as `salesforce/records/Opportunity.jsonl`, and its line, counted from 1.",
|
|
81
|
+
"properties": {
|
|
82
|
+
"file": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
"line": {
|
|
86
|
+
"exclusiveMinimum": 0,
|
|
87
|
+
"type": ["integer", "null"]
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": ["file", "line"],
|
|
91
|
+
"type": "object"
|
|
92
|
+
},
|
|
4
93
|
"Actor": {
|
|
5
94
|
"properties": {
|
|
6
95
|
"id": {
|
|
@@ -252,6 +341,83 @@
|
|
|
252
341
|
"required": ["appId"],
|
|
253
342
|
"type": "object"
|
|
254
343
|
},
|
|
344
|
+
"CreateSnapshot": {
|
|
345
|
+
"anyOf": [
|
|
346
|
+
{
|
|
347
|
+
"$ref": "#/components/schemas/CreateSnapshotFromEnvironment"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"$ref": "#/components/schemas/CreateSnapshotFromImport"
|
|
351
|
+
}
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
"CreateSnapshotFromEnvironment": {
|
|
355
|
+
"additionalProperties": false,
|
|
356
|
+
"properties": {
|
|
357
|
+
"environmentId": {
|
|
358
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
359
|
+
"type": "string"
|
|
360
|
+
},
|
|
361
|
+
"name": {
|
|
362
|
+
"maxLength": 120,
|
|
363
|
+
"minLength": 1,
|
|
364
|
+
"type": ["string", "null"]
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"required": ["environmentId"],
|
|
368
|
+
"type": "object"
|
|
369
|
+
},
|
|
370
|
+
"CreateSnapshotFromImport": {
|
|
371
|
+
"additionalProperties": false,
|
|
372
|
+
"properties": {
|
|
373
|
+
"importId": {
|
|
374
|
+
"description": "A `ready` import that the caller reaches. The snapshot gets every app of the import, each on the app's default version, with empty setup and services.",
|
|
375
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
376
|
+
"type": "string"
|
|
377
|
+
},
|
|
378
|
+
"name": {
|
|
379
|
+
"maxLength": 120,
|
|
380
|
+
"minLength": 1,
|
|
381
|
+
"type": ["string", "null"]
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
"required": ["importId"],
|
|
385
|
+
"type": "object"
|
|
386
|
+
},
|
|
387
|
+
"CreatedImport": {
|
|
388
|
+
"properties": {
|
|
389
|
+
"import": {
|
|
390
|
+
"$ref": "#/components/schemas/Import"
|
|
391
|
+
},
|
|
392
|
+
"upload": {
|
|
393
|
+
"description": "Where to send the zip file while the import is `uploading`, and null after. Complete the import once the upload succeeds.",
|
|
394
|
+
"properties": {
|
|
395
|
+
"expiresAt": {
|
|
396
|
+
"format": "date-time",
|
|
397
|
+
"type": "string"
|
|
398
|
+
},
|
|
399
|
+
"headers": {
|
|
400
|
+
"additionalProperties": {
|
|
401
|
+
"type": "string"
|
|
402
|
+
},
|
|
403
|
+
"description": "Send the zip file as the body of a PUT to `url`, with each of these headers as given. The URL refuses another value of each.",
|
|
404
|
+
"type": "object"
|
|
405
|
+
},
|
|
406
|
+
"method": {
|
|
407
|
+
"enum": ["PUT"],
|
|
408
|
+
"type": "string"
|
|
409
|
+
},
|
|
410
|
+
"url": {
|
|
411
|
+
"type": "string"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"required": ["method", "url", "headers", "expiresAt"],
|
|
415
|
+
"type": ["object", "null"]
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"required": ["import", "upload"],
|
|
419
|
+
"type": "object"
|
|
420
|
+
},
|
|
255
421
|
"Credential": {
|
|
256
422
|
"oneOf": [
|
|
257
423
|
{
|
|
@@ -672,6 +838,120 @@
|
|
|
672
838
|
"required": ["error"],
|
|
673
839
|
"type": "object"
|
|
674
840
|
},
|
|
841
|
+
"Import": {
|
|
842
|
+
"properties": {
|
|
843
|
+
"apps": {
|
|
844
|
+
"description": "Each app of the import's manifest, by its name and its app ID. Empty until the check reads the manifest, and when the check cannot read it.",
|
|
845
|
+
"items": {
|
|
846
|
+
"properties": {
|
|
847
|
+
"appId": {
|
|
848
|
+
"type": "string"
|
|
849
|
+
},
|
|
850
|
+
"name": {
|
|
851
|
+
"type": "string"
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
"required": ["name", "appId"],
|
|
855
|
+
"type": "object"
|
|
856
|
+
},
|
|
857
|
+
"type": "array"
|
|
858
|
+
},
|
|
859
|
+
"checkedAt": {
|
|
860
|
+
"format": "date-time",
|
|
861
|
+
"type": ["string", "null"]
|
|
862
|
+
},
|
|
863
|
+
"createdAt": {
|
|
864
|
+
"format": "date-time",
|
|
865
|
+
"type": "string"
|
|
866
|
+
},
|
|
867
|
+
"createdBy": {
|
|
868
|
+
"$ref": "#/components/schemas/Principal"
|
|
869
|
+
},
|
|
870
|
+
"deletedAt": {
|
|
871
|
+
"format": "date-time",
|
|
872
|
+
"type": ["string", "null"]
|
|
873
|
+
},
|
|
874
|
+
"digest": {
|
|
875
|
+
"description": "`sha256:` and the lowercase hex SHA-256 of the zip file, as the create declared it.",
|
|
876
|
+
"type": "string"
|
|
877
|
+
},
|
|
878
|
+
"id": {
|
|
879
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
880
|
+
"type": "string"
|
|
881
|
+
},
|
|
882
|
+
"problemCount": {
|
|
883
|
+
"description": "How many problems the check found. It is larger than the length of `problems` when they did not all fit.",
|
|
884
|
+
"type": "integer"
|
|
885
|
+
},
|
|
886
|
+
"problems": {
|
|
887
|
+
"description": "The first problems that the check found, errors before warnings. A delete clears them.",
|
|
888
|
+
"items": {
|
|
889
|
+
"$ref": "#/components/schemas/ImportProblem"
|
|
890
|
+
},
|
|
891
|
+
"type": "array"
|
|
892
|
+
},
|
|
893
|
+
"sizeBytes": {
|
|
894
|
+
"description": "The size of the zip file in bytes, as the create declared it.",
|
|
895
|
+
"type": "integer"
|
|
896
|
+
},
|
|
897
|
+
"status": {
|
|
898
|
+
"$ref": "#/components/schemas/ImportStatus"
|
|
899
|
+
},
|
|
900
|
+
"workspaceId": {
|
|
901
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
902
|
+
"type": "string"
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
"required": [
|
|
906
|
+
"id",
|
|
907
|
+
"workspaceId",
|
|
908
|
+
"status",
|
|
909
|
+
"sizeBytes",
|
|
910
|
+
"digest",
|
|
911
|
+
"apps",
|
|
912
|
+
"problems",
|
|
913
|
+
"problemCount",
|
|
914
|
+
"createdBy",
|
|
915
|
+
"createdAt",
|
|
916
|
+
"checkedAt",
|
|
917
|
+
"deletedAt"
|
|
918
|
+
],
|
|
919
|
+
"type": "object"
|
|
920
|
+
},
|
|
921
|
+
"ImportProblem": {
|
|
922
|
+
"properties": {
|
|
923
|
+
"code": {
|
|
924
|
+
"type": "string"
|
|
925
|
+
},
|
|
926
|
+
"file": {
|
|
927
|
+
"description": "The path in the import, such as `salesforce/records/Account.jsonl`. An empty path names the zip file as a whole.",
|
|
928
|
+
"type": "string"
|
|
929
|
+
},
|
|
930
|
+
"line": {
|
|
931
|
+
"description": "The line in the file, counted from 1, or null when the problem is about the whole file.",
|
|
932
|
+
"exclusiveMinimum": 0,
|
|
933
|
+
"type": ["integer", "null"]
|
|
934
|
+
},
|
|
935
|
+
"message": {
|
|
936
|
+
"type": "string"
|
|
937
|
+
},
|
|
938
|
+
"pointer": {
|
|
939
|
+
"description": "The JSON pointer of the value, such as `/apps/0/name`. In a records file, it points into the record on `line`. Null when the problem names no value.",
|
|
940
|
+
"type": ["string", "null"]
|
|
941
|
+
},
|
|
942
|
+
"severity": {
|
|
943
|
+
"description": "An error refuses the import: the check of the zip file makes the import `invalid`, and the load of a snapshot from the import fails the snapshot. A warning refuses nothing.",
|
|
944
|
+
"enum": ["error", "warning"],
|
|
945
|
+
"type": "string"
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
"required": ["file", "line", "pointer", "code", "severity", "message"],
|
|
949
|
+
"type": "object"
|
|
950
|
+
},
|
|
951
|
+
"ImportStatus": {
|
|
952
|
+
"enum": ["uploading", "ready", "invalid", "deleted"],
|
|
953
|
+
"type": "string"
|
|
954
|
+
},
|
|
675
955
|
"LaunchUiSession": {
|
|
676
956
|
"additionalProperties": false,
|
|
677
957
|
"properties": {
|
|
@@ -1167,6 +1447,9 @@
|
|
|
1167
1447
|
"appId": {
|
|
1168
1448
|
"type": "string"
|
|
1169
1449
|
},
|
|
1450
|
+
"load": {
|
|
1451
|
+
"$ref": "#/components/schemas/SnapshotAppLoad"
|
|
1452
|
+
},
|
|
1170
1453
|
"name": {
|
|
1171
1454
|
"pattern": "^[a-z][a-z0-9-]{0,39}$",
|
|
1172
1455
|
"type": "string"
|
|
@@ -1215,29 +1498,25 @@
|
|
|
1215
1498
|
"type": ["string", "null"]
|
|
1216
1499
|
},
|
|
1217
1500
|
"environmentId": {
|
|
1501
|
+
"description": "The environment that the snapshot copies, or null for a snapshot built from an import.",
|
|
1218
1502
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
1219
|
-
"type": "string"
|
|
1503
|
+
"type": ["string", "null"]
|
|
1220
1504
|
},
|
|
1221
1505
|
"environmentName": {
|
|
1222
1506
|
"type": ["string", "null"]
|
|
1223
1507
|
},
|
|
1224
1508
|
"failure": {
|
|
1225
|
-
"
|
|
1226
|
-
"code": {
|
|
1227
|
-
"enum": ["interrupted", "internal_error"],
|
|
1228
|
-
"type": "string"
|
|
1229
|
-
},
|
|
1230
|
-
"message": {
|
|
1231
|
-
"type": "string"
|
|
1232
|
-
}
|
|
1233
|
-
},
|
|
1234
|
-
"required": ["code", "message"],
|
|
1235
|
-
"type": ["object", "null"]
|
|
1509
|
+
"$ref": "#/components/schemas/SnapshotFailure"
|
|
1236
1510
|
},
|
|
1237
1511
|
"id": {
|
|
1238
1512
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
1239
1513
|
"type": "string"
|
|
1240
1514
|
},
|
|
1515
|
+
"importId": {
|
|
1516
|
+
"description": "The import that the snapshot was built from, or null for a snapshot of an environment.",
|
|
1517
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
1518
|
+
"type": ["string", "null"]
|
|
1519
|
+
},
|
|
1241
1520
|
"name": {
|
|
1242
1521
|
"type": ["string", "null"]
|
|
1243
1522
|
},
|
|
@@ -1273,27 +1552,88 @@
|
|
|
1273
1552
|
],
|
|
1274
1553
|
"type": "object"
|
|
1275
1554
|
},
|
|
1276
|
-
"
|
|
1277
|
-
"
|
|
1278
|
-
"type": "string"
|
|
1279
|
-
},
|
|
1280
|
-
"UiSessionLaunch": {
|
|
1555
|
+
"SnapshotAppLoad": {
|
|
1556
|
+
"description": "What the load of the snapshot's import left out of the app. Null for a snapshot of an environment, and until the app's load ends.",
|
|
1281
1557
|
"properties": {
|
|
1282
|
-
"
|
|
1283
|
-
"
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
"type": "
|
|
1288
|
-
},
|
|
1289
|
-
"entryPath": {
|
|
1290
|
-
"type": "string"
|
|
1558
|
+
"absent": {
|
|
1559
|
+
"description": "The first records of the import that did not load, in the order of the import.",
|
|
1560
|
+
"items": {
|
|
1561
|
+
"$ref": "#/components/schemas/AbsentRecord"
|
|
1562
|
+
},
|
|
1563
|
+
"type": "array"
|
|
1291
1564
|
},
|
|
1292
|
-
"
|
|
1293
|
-
"
|
|
1294
|
-
"type": "
|
|
1565
|
+
"absentCount": {
|
|
1566
|
+
"description": "How many records of the import did not load. It is larger than the length of `absent` when they did not all fit.",
|
|
1567
|
+
"type": "integer"
|
|
1568
|
+
}
|
|
1569
|
+
},
|
|
1570
|
+
"required": ["absentCount", "absent"],
|
|
1571
|
+
"type": ["object", "null"]
|
|
1572
|
+
},
|
|
1573
|
+
"SnapshotFailure": {
|
|
1574
|
+
"anyOf": [
|
|
1575
|
+
{
|
|
1576
|
+
"properties": {
|
|
1577
|
+
"code": {
|
|
1578
|
+
"enum": ["interrupted", "internal_error"],
|
|
1579
|
+
"type": "string"
|
|
1580
|
+
},
|
|
1581
|
+
"message": {
|
|
1582
|
+
"type": "string"
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1585
|
+
"required": ["code", "message"],
|
|
1586
|
+
"type": "object"
|
|
1295
1587
|
},
|
|
1296
|
-
|
|
1588
|
+
{
|
|
1589
|
+
"properties": {
|
|
1590
|
+
"appName": {
|
|
1591
|
+
"type": "string"
|
|
1592
|
+
},
|
|
1593
|
+
"code": {
|
|
1594
|
+
"enum": ["invalid_import"],
|
|
1595
|
+
"type": "string"
|
|
1596
|
+
},
|
|
1597
|
+
"message": {
|
|
1598
|
+
"type": "string"
|
|
1599
|
+
},
|
|
1600
|
+
"problems": {
|
|
1601
|
+
"description": "The first problems that the load of the refusing app found, errors before warnings. It can be empty, such as when the load passed its time limit.",
|
|
1602
|
+
"items": {
|
|
1603
|
+
"$ref": "#/components/schemas/ImportProblem"
|
|
1604
|
+
},
|
|
1605
|
+
"type": "array"
|
|
1606
|
+
}
|
|
1607
|
+
},
|
|
1608
|
+
"required": ["code", "message"],
|
|
1609
|
+
"type": "object"
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"type": "null"
|
|
1613
|
+
}
|
|
1614
|
+
]
|
|
1615
|
+
},
|
|
1616
|
+
"SnapshotStatus": {
|
|
1617
|
+
"enum": ["saving", "ready", "failed", "deleted"],
|
|
1618
|
+
"type": "string"
|
|
1619
|
+
},
|
|
1620
|
+
"UiSessionLaunch": {
|
|
1621
|
+
"properties": {
|
|
1622
|
+
"actorId": {
|
|
1623
|
+
"type": "string"
|
|
1624
|
+
},
|
|
1625
|
+
"appName": {
|
|
1626
|
+
"pattern": "^[a-z][a-z0-9-]{0,39}$",
|
|
1627
|
+
"type": "string"
|
|
1628
|
+
},
|
|
1629
|
+
"entryPath": {
|
|
1630
|
+
"type": "string"
|
|
1631
|
+
},
|
|
1632
|
+
"environmentId": {
|
|
1633
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
1634
|
+
"type": "string"
|
|
1635
|
+
},
|
|
1636
|
+
"exchangeUrl": {
|
|
1297
1637
|
"type": "string"
|
|
1298
1638
|
},
|
|
1299
1639
|
"expiresAt": {
|
|
@@ -2354,24 +2694,774 @@
|
|
|
2354
2694
|
}
|
|
2355
2695
|
],
|
|
2356
2696
|
"responses": {
|
|
2357
|
-
"200": {
|
|
2697
|
+
"200": {
|
|
2698
|
+
"content": {
|
|
2699
|
+
"application/json": {
|
|
2700
|
+
"schema": {
|
|
2701
|
+
"properties": {
|
|
2702
|
+
"data": {
|
|
2703
|
+
"items": {
|
|
2704
|
+
"$ref": "#/components/schemas/Principal"
|
|
2705
|
+
},
|
|
2706
|
+
"type": "array"
|
|
2707
|
+
}
|
|
2708
|
+
},
|
|
2709
|
+
"required": ["data"],
|
|
2710
|
+
"type": "object"
|
|
2711
|
+
}
|
|
2712
|
+
}
|
|
2713
|
+
},
|
|
2714
|
+
"description": "Each principal that created an environment in the workspace, by name"
|
|
2715
|
+
},
|
|
2716
|
+
"400": {
|
|
2717
|
+
"content": {
|
|
2718
|
+
"application/json": {
|
|
2719
|
+
"schema": {
|
|
2720
|
+
"$ref": "#/components/schemas/Error"
|
|
2721
|
+
}
|
|
2722
|
+
}
|
|
2723
|
+
},
|
|
2724
|
+
"description": "Invalid request"
|
|
2725
|
+
},
|
|
2726
|
+
"401": {
|
|
2727
|
+
"content": {
|
|
2728
|
+
"application/json": {
|
|
2729
|
+
"schema": {
|
|
2730
|
+
"$ref": "#/components/schemas/Error"
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2733
|
+
},
|
|
2734
|
+
"description": "Authentication required"
|
|
2735
|
+
},
|
|
2736
|
+
"403": {
|
|
2737
|
+
"content": {
|
|
2738
|
+
"application/json": {
|
|
2739
|
+
"schema": {
|
|
2740
|
+
"$ref": "#/components/schemas/Error"
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
},
|
|
2744
|
+
"description": "Permission denied"
|
|
2745
|
+
},
|
|
2746
|
+
"404": {
|
|
2747
|
+
"content": {
|
|
2748
|
+
"application/json": {
|
|
2749
|
+
"schema": {
|
|
2750
|
+
"$ref": "#/components/schemas/Error"
|
|
2751
|
+
}
|
|
2752
|
+
}
|
|
2753
|
+
},
|
|
2754
|
+
"description": "Resource not found"
|
|
2755
|
+
},
|
|
2756
|
+
"409": {
|
|
2757
|
+
"content": {
|
|
2758
|
+
"application/json": {
|
|
2759
|
+
"schema": {
|
|
2760
|
+
"$ref": "#/components/schemas/Error"
|
|
2761
|
+
}
|
|
2762
|
+
}
|
|
2763
|
+
},
|
|
2764
|
+
"description": "Conflicting request"
|
|
2765
|
+
},
|
|
2766
|
+
"413": {
|
|
2767
|
+
"content": {
|
|
2768
|
+
"application/json": {
|
|
2769
|
+
"schema": {
|
|
2770
|
+
"$ref": "#/components/schemas/Error"
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2773
|
+
},
|
|
2774
|
+
"description": "Request body too large"
|
|
2775
|
+
},
|
|
2776
|
+
"422": {
|
|
2777
|
+
"content": {
|
|
2778
|
+
"application/json": {
|
|
2779
|
+
"schema": {
|
|
2780
|
+
"$ref": "#/components/schemas/Error"
|
|
2781
|
+
}
|
|
2782
|
+
}
|
|
2783
|
+
},
|
|
2784
|
+
"description": "Version unavailable"
|
|
2785
|
+
},
|
|
2786
|
+
"429": {
|
|
2787
|
+
"content": {
|
|
2788
|
+
"application/json": {
|
|
2789
|
+
"schema": {
|
|
2790
|
+
"$ref": "#/components/schemas/Error"
|
|
2791
|
+
}
|
|
2792
|
+
}
|
|
2793
|
+
},
|
|
2794
|
+
"description": "Limit reached"
|
|
2795
|
+
},
|
|
2796
|
+
"500": {
|
|
2797
|
+
"content": {
|
|
2798
|
+
"application/json": {
|
|
2799
|
+
"schema": {
|
|
2800
|
+
"$ref": "#/components/schemas/Error"
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
},
|
|
2804
|
+
"description": "Unexpected failure"
|
|
2805
|
+
},
|
|
2806
|
+
"503": {
|
|
2807
|
+
"content": {
|
|
2808
|
+
"application/json": {
|
|
2809
|
+
"schema": {
|
|
2810
|
+
"$ref": "#/components/schemas/Error"
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2813
|
+
},
|
|
2814
|
+
"description": "Dependency unavailable"
|
|
2815
|
+
}
|
|
2816
|
+
},
|
|
2817
|
+
"security": [
|
|
2818
|
+
{
|
|
2819
|
+
"bearerAuth": []
|
|
2820
|
+
}
|
|
2821
|
+
]
|
|
2822
|
+
}
|
|
2823
|
+
},
|
|
2824
|
+
"/v1/environments/{environmentId}": {
|
|
2825
|
+
"delete": {
|
|
2826
|
+
"operationId": "deleteEnvironment",
|
|
2827
|
+
"parameters": [
|
|
2828
|
+
{
|
|
2829
|
+
"in": "path",
|
|
2830
|
+
"name": "environmentId",
|
|
2831
|
+
"required": true,
|
|
2832
|
+
"schema": {
|
|
2833
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
2834
|
+
"type": "string"
|
|
2835
|
+
}
|
|
2836
|
+
},
|
|
2837
|
+
{
|
|
2838
|
+
"in": "header",
|
|
2839
|
+
"name": "idempotency-key",
|
|
2840
|
+
"required": false,
|
|
2841
|
+
"schema": {
|
|
2842
|
+
"maxLength": 128,
|
|
2843
|
+
"minLength": 8,
|
|
2844
|
+
"pattern": "^[A-Za-z0-9._:-]+$",
|
|
2845
|
+
"type": "string"
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2848
|
+
],
|
|
2849
|
+
"responses": {
|
|
2850
|
+
"200": {
|
|
2851
|
+
"content": {
|
|
2852
|
+
"application/json": {
|
|
2853
|
+
"schema": {
|
|
2854
|
+
"$ref": "#/components/schemas/Environment"
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
},
|
|
2858
|
+
"description": "Environment deleted; compute and data are released after the response"
|
|
2859
|
+
},
|
|
2860
|
+
"400": {
|
|
2861
|
+
"content": {
|
|
2862
|
+
"application/json": {
|
|
2863
|
+
"schema": {
|
|
2864
|
+
"$ref": "#/components/schemas/Error"
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
},
|
|
2868
|
+
"description": "Invalid request"
|
|
2869
|
+
},
|
|
2870
|
+
"401": {
|
|
2871
|
+
"content": {
|
|
2872
|
+
"application/json": {
|
|
2873
|
+
"schema": {
|
|
2874
|
+
"$ref": "#/components/schemas/Error"
|
|
2875
|
+
}
|
|
2876
|
+
}
|
|
2877
|
+
},
|
|
2878
|
+
"description": "Authentication required"
|
|
2879
|
+
},
|
|
2880
|
+
"403": {
|
|
2881
|
+
"content": {
|
|
2882
|
+
"application/json": {
|
|
2883
|
+
"schema": {
|
|
2884
|
+
"$ref": "#/components/schemas/Error"
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
},
|
|
2888
|
+
"description": "Permission denied"
|
|
2889
|
+
},
|
|
2890
|
+
"404": {
|
|
2891
|
+
"content": {
|
|
2892
|
+
"application/json": {
|
|
2893
|
+
"schema": {
|
|
2894
|
+
"$ref": "#/components/schemas/Error"
|
|
2895
|
+
}
|
|
2896
|
+
}
|
|
2897
|
+
},
|
|
2898
|
+
"description": "Resource not found"
|
|
2899
|
+
},
|
|
2900
|
+
"409": {
|
|
2901
|
+
"content": {
|
|
2902
|
+
"application/json": {
|
|
2903
|
+
"schema": {
|
|
2904
|
+
"$ref": "#/components/schemas/Error"
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
},
|
|
2908
|
+
"description": "Conflicting request"
|
|
2909
|
+
},
|
|
2910
|
+
"413": {
|
|
2911
|
+
"content": {
|
|
2912
|
+
"application/json": {
|
|
2913
|
+
"schema": {
|
|
2914
|
+
"$ref": "#/components/schemas/Error"
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
},
|
|
2918
|
+
"description": "Request body too large"
|
|
2919
|
+
},
|
|
2920
|
+
"422": {
|
|
2921
|
+
"content": {
|
|
2922
|
+
"application/json": {
|
|
2923
|
+
"schema": {
|
|
2924
|
+
"$ref": "#/components/schemas/Error"
|
|
2925
|
+
}
|
|
2926
|
+
}
|
|
2927
|
+
},
|
|
2928
|
+
"description": "Version unavailable"
|
|
2929
|
+
},
|
|
2930
|
+
"429": {
|
|
2931
|
+
"content": {
|
|
2932
|
+
"application/json": {
|
|
2933
|
+
"schema": {
|
|
2934
|
+
"$ref": "#/components/schemas/Error"
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
},
|
|
2938
|
+
"description": "Limit reached"
|
|
2939
|
+
},
|
|
2940
|
+
"500": {
|
|
2941
|
+
"content": {
|
|
2942
|
+
"application/json": {
|
|
2943
|
+
"schema": {
|
|
2944
|
+
"$ref": "#/components/schemas/Error"
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
},
|
|
2948
|
+
"description": "Unexpected failure"
|
|
2949
|
+
},
|
|
2950
|
+
"503": {
|
|
2951
|
+
"content": {
|
|
2952
|
+
"application/json": {
|
|
2953
|
+
"schema": {
|
|
2954
|
+
"$ref": "#/components/schemas/Error"
|
|
2955
|
+
}
|
|
2956
|
+
}
|
|
2957
|
+
},
|
|
2958
|
+
"description": "Dependency unavailable"
|
|
2959
|
+
}
|
|
2960
|
+
},
|
|
2961
|
+
"security": [
|
|
2962
|
+
{
|
|
2963
|
+
"bearerAuth": []
|
|
2964
|
+
}
|
|
2965
|
+
]
|
|
2966
|
+
},
|
|
2967
|
+
"get": {
|
|
2968
|
+
"operationId": "getEnvironment",
|
|
2969
|
+
"parameters": [
|
|
2970
|
+
{
|
|
2971
|
+
"in": "path",
|
|
2972
|
+
"name": "environmentId",
|
|
2973
|
+
"required": true,
|
|
2974
|
+
"schema": {
|
|
2975
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
2976
|
+
"type": "string"
|
|
2977
|
+
}
|
|
2978
|
+
}
|
|
2979
|
+
],
|
|
2980
|
+
"responses": {
|
|
2981
|
+
"200": {
|
|
2982
|
+
"content": {
|
|
2983
|
+
"application/json": {
|
|
2984
|
+
"schema": {
|
|
2985
|
+
"$ref": "#/components/schemas/Environment"
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
},
|
|
2989
|
+
"description": "Environment"
|
|
2990
|
+
},
|
|
2991
|
+
"400": {
|
|
2992
|
+
"content": {
|
|
2993
|
+
"application/json": {
|
|
2994
|
+
"schema": {
|
|
2995
|
+
"$ref": "#/components/schemas/Error"
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
},
|
|
2999
|
+
"description": "Invalid request"
|
|
3000
|
+
},
|
|
3001
|
+
"401": {
|
|
3002
|
+
"content": {
|
|
3003
|
+
"application/json": {
|
|
3004
|
+
"schema": {
|
|
3005
|
+
"$ref": "#/components/schemas/Error"
|
|
3006
|
+
}
|
|
3007
|
+
}
|
|
3008
|
+
},
|
|
3009
|
+
"description": "Authentication required"
|
|
3010
|
+
},
|
|
3011
|
+
"403": {
|
|
3012
|
+
"content": {
|
|
3013
|
+
"application/json": {
|
|
3014
|
+
"schema": {
|
|
3015
|
+
"$ref": "#/components/schemas/Error"
|
|
3016
|
+
}
|
|
3017
|
+
}
|
|
3018
|
+
},
|
|
3019
|
+
"description": "Permission denied"
|
|
3020
|
+
},
|
|
3021
|
+
"404": {
|
|
3022
|
+
"content": {
|
|
3023
|
+
"application/json": {
|
|
3024
|
+
"schema": {
|
|
3025
|
+
"$ref": "#/components/schemas/Error"
|
|
3026
|
+
}
|
|
3027
|
+
}
|
|
3028
|
+
},
|
|
3029
|
+
"description": "Resource not found"
|
|
3030
|
+
},
|
|
3031
|
+
"409": {
|
|
3032
|
+
"content": {
|
|
3033
|
+
"application/json": {
|
|
3034
|
+
"schema": {
|
|
3035
|
+
"$ref": "#/components/schemas/Error"
|
|
3036
|
+
}
|
|
3037
|
+
}
|
|
3038
|
+
},
|
|
3039
|
+
"description": "Conflicting request"
|
|
3040
|
+
},
|
|
3041
|
+
"413": {
|
|
3042
|
+
"content": {
|
|
3043
|
+
"application/json": {
|
|
3044
|
+
"schema": {
|
|
3045
|
+
"$ref": "#/components/schemas/Error"
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
3048
|
+
},
|
|
3049
|
+
"description": "Request body too large"
|
|
3050
|
+
},
|
|
3051
|
+
"422": {
|
|
3052
|
+
"content": {
|
|
3053
|
+
"application/json": {
|
|
3054
|
+
"schema": {
|
|
3055
|
+
"$ref": "#/components/schemas/Error"
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
},
|
|
3059
|
+
"description": "Version unavailable"
|
|
3060
|
+
},
|
|
3061
|
+
"429": {
|
|
3062
|
+
"content": {
|
|
3063
|
+
"application/json": {
|
|
3064
|
+
"schema": {
|
|
3065
|
+
"$ref": "#/components/schemas/Error"
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3068
|
+
},
|
|
3069
|
+
"description": "Limit reached"
|
|
3070
|
+
},
|
|
3071
|
+
"500": {
|
|
3072
|
+
"content": {
|
|
3073
|
+
"application/json": {
|
|
3074
|
+
"schema": {
|
|
3075
|
+
"$ref": "#/components/schemas/Error"
|
|
3076
|
+
}
|
|
3077
|
+
}
|
|
3078
|
+
},
|
|
3079
|
+
"description": "Unexpected failure"
|
|
3080
|
+
},
|
|
3081
|
+
"503": {
|
|
3082
|
+
"content": {
|
|
3083
|
+
"application/json": {
|
|
3084
|
+
"schema": {
|
|
3085
|
+
"$ref": "#/components/schemas/Error"
|
|
3086
|
+
}
|
|
3087
|
+
}
|
|
3088
|
+
},
|
|
3089
|
+
"description": "Dependency unavailable"
|
|
3090
|
+
}
|
|
3091
|
+
},
|
|
3092
|
+
"security": [
|
|
3093
|
+
{
|
|
3094
|
+
"bearerAuth": []
|
|
3095
|
+
}
|
|
3096
|
+
]
|
|
3097
|
+
},
|
|
3098
|
+
"patch": {
|
|
3099
|
+
"operationId": "updateEnvironment",
|
|
3100
|
+
"parameters": [
|
|
3101
|
+
{
|
|
3102
|
+
"in": "path",
|
|
3103
|
+
"name": "environmentId",
|
|
3104
|
+
"required": true,
|
|
3105
|
+
"schema": {
|
|
3106
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
3107
|
+
"type": "string"
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
],
|
|
3111
|
+
"requestBody": {
|
|
3112
|
+
"content": {
|
|
3113
|
+
"application/json": {
|
|
3114
|
+
"schema": {
|
|
3115
|
+
"properties": {
|
|
3116
|
+
"labels": {
|
|
3117
|
+
"additionalProperties": {
|
|
3118
|
+
"maxLength": 256,
|
|
3119
|
+
"type": "string"
|
|
3120
|
+
},
|
|
3121
|
+
"type": "object"
|
|
3122
|
+
},
|
|
3123
|
+
"name": {
|
|
3124
|
+
"maxLength": 120,
|
|
3125
|
+
"minLength": 1,
|
|
3126
|
+
"type": ["string", "null"]
|
|
3127
|
+
}
|
|
3128
|
+
},
|
|
3129
|
+
"type": "object"
|
|
3130
|
+
}
|
|
3131
|
+
}
|
|
3132
|
+
},
|
|
3133
|
+
"required": true
|
|
3134
|
+
},
|
|
3135
|
+
"responses": {
|
|
3136
|
+
"200": {
|
|
3137
|
+
"content": {
|
|
3138
|
+
"application/json": {
|
|
3139
|
+
"schema": {
|
|
3140
|
+
"$ref": "#/components/schemas/Environment"
|
|
3141
|
+
}
|
|
3142
|
+
}
|
|
3143
|
+
},
|
|
3144
|
+
"description": "Environment updated"
|
|
3145
|
+
},
|
|
3146
|
+
"400": {
|
|
3147
|
+
"content": {
|
|
3148
|
+
"application/json": {
|
|
3149
|
+
"schema": {
|
|
3150
|
+
"$ref": "#/components/schemas/Error"
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
},
|
|
3154
|
+
"description": "Invalid request"
|
|
3155
|
+
},
|
|
3156
|
+
"401": {
|
|
3157
|
+
"content": {
|
|
3158
|
+
"application/json": {
|
|
3159
|
+
"schema": {
|
|
3160
|
+
"$ref": "#/components/schemas/Error"
|
|
3161
|
+
}
|
|
3162
|
+
}
|
|
3163
|
+
},
|
|
3164
|
+
"description": "Authentication required"
|
|
3165
|
+
},
|
|
3166
|
+
"403": {
|
|
3167
|
+
"content": {
|
|
3168
|
+
"application/json": {
|
|
3169
|
+
"schema": {
|
|
3170
|
+
"$ref": "#/components/schemas/Error"
|
|
3171
|
+
}
|
|
3172
|
+
}
|
|
3173
|
+
},
|
|
3174
|
+
"description": "Permission denied"
|
|
3175
|
+
},
|
|
3176
|
+
"404": {
|
|
3177
|
+
"content": {
|
|
3178
|
+
"application/json": {
|
|
3179
|
+
"schema": {
|
|
3180
|
+
"$ref": "#/components/schemas/Error"
|
|
3181
|
+
}
|
|
3182
|
+
}
|
|
3183
|
+
},
|
|
3184
|
+
"description": "Resource not found"
|
|
3185
|
+
},
|
|
3186
|
+
"409": {
|
|
3187
|
+
"content": {
|
|
3188
|
+
"application/json": {
|
|
3189
|
+
"schema": {
|
|
3190
|
+
"$ref": "#/components/schemas/Error"
|
|
3191
|
+
}
|
|
3192
|
+
}
|
|
3193
|
+
},
|
|
3194
|
+
"description": "Conflicting request"
|
|
3195
|
+
},
|
|
3196
|
+
"413": {
|
|
3197
|
+
"content": {
|
|
3198
|
+
"application/json": {
|
|
3199
|
+
"schema": {
|
|
3200
|
+
"$ref": "#/components/schemas/Error"
|
|
3201
|
+
}
|
|
3202
|
+
}
|
|
3203
|
+
},
|
|
3204
|
+
"description": "Request body too large"
|
|
3205
|
+
},
|
|
3206
|
+
"422": {
|
|
3207
|
+
"content": {
|
|
3208
|
+
"application/json": {
|
|
3209
|
+
"schema": {
|
|
3210
|
+
"$ref": "#/components/schemas/Error"
|
|
3211
|
+
}
|
|
3212
|
+
}
|
|
3213
|
+
},
|
|
3214
|
+
"description": "Version unavailable"
|
|
3215
|
+
},
|
|
3216
|
+
"429": {
|
|
3217
|
+
"content": {
|
|
3218
|
+
"application/json": {
|
|
3219
|
+
"schema": {
|
|
3220
|
+
"$ref": "#/components/schemas/Error"
|
|
3221
|
+
}
|
|
3222
|
+
}
|
|
3223
|
+
},
|
|
3224
|
+
"description": "Limit reached"
|
|
3225
|
+
},
|
|
3226
|
+
"500": {
|
|
3227
|
+
"content": {
|
|
3228
|
+
"application/json": {
|
|
3229
|
+
"schema": {
|
|
3230
|
+
"$ref": "#/components/schemas/Error"
|
|
3231
|
+
}
|
|
3232
|
+
}
|
|
3233
|
+
},
|
|
3234
|
+
"description": "Unexpected failure"
|
|
3235
|
+
},
|
|
3236
|
+
"503": {
|
|
3237
|
+
"content": {
|
|
3238
|
+
"application/json": {
|
|
3239
|
+
"schema": {
|
|
3240
|
+
"$ref": "#/components/schemas/Error"
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
},
|
|
3244
|
+
"description": "Dependency unavailable"
|
|
3245
|
+
}
|
|
3246
|
+
},
|
|
3247
|
+
"security": [
|
|
3248
|
+
{
|
|
3249
|
+
"bearerAuth": []
|
|
3250
|
+
}
|
|
3251
|
+
]
|
|
3252
|
+
}
|
|
3253
|
+
},
|
|
3254
|
+
"/v1/environments/{environmentId}/apps/{appName}/credentials": {
|
|
3255
|
+
"post": {
|
|
3256
|
+
"operationId": "createCredentials",
|
|
3257
|
+
"parameters": [
|
|
3258
|
+
{
|
|
3259
|
+
"in": "path",
|
|
3260
|
+
"name": "environmentId",
|
|
3261
|
+
"required": true,
|
|
3262
|
+
"schema": {
|
|
3263
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
3264
|
+
"type": "string"
|
|
3265
|
+
}
|
|
3266
|
+
},
|
|
3267
|
+
{
|
|
3268
|
+
"in": "path",
|
|
3269
|
+
"name": "appName",
|
|
3270
|
+
"required": true,
|
|
3271
|
+
"schema": {
|
|
3272
|
+
"pattern": "^[a-z][a-z0-9-]{0,39}$",
|
|
3273
|
+
"type": "string"
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
],
|
|
3277
|
+
"requestBody": {
|
|
3278
|
+
"content": {
|
|
3279
|
+
"application/json": {
|
|
3280
|
+
"schema": {
|
|
3281
|
+
"properties": {
|
|
3282
|
+
"actorId": {
|
|
3283
|
+
"maxLength": 255,
|
|
3284
|
+
"minLength": 1,
|
|
3285
|
+
"type": "string"
|
|
3286
|
+
},
|
|
3287
|
+
"services": {
|
|
3288
|
+
"items": {
|
|
3289
|
+
"pattern": "^[a-z][a-z0-9-]{0,39}$",
|
|
3290
|
+
"type": "string"
|
|
3291
|
+
},
|
|
3292
|
+
"maxItems": 20,
|
|
3293
|
+
"type": "array"
|
|
3294
|
+
}
|
|
3295
|
+
},
|
|
3296
|
+
"type": "object"
|
|
3297
|
+
}
|
|
3298
|
+
}
|
|
3299
|
+
},
|
|
3300
|
+
"required": false
|
|
3301
|
+
},
|
|
3302
|
+
"responses": {
|
|
3303
|
+
"200": {
|
|
3304
|
+
"content": {
|
|
3305
|
+
"application/json": {
|
|
3306
|
+
"schema": {
|
|
3307
|
+
"$ref": "#/components/schemas/Credentials"
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
},
|
|
3311
|
+
"description": "How to call one app as one actor; the same tokens each time"
|
|
3312
|
+
},
|
|
3313
|
+
"400": {
|
|
3314
|
+
"content": {
|
|
3315
|
+
"application/json": {
|
|
3316
|
+
"schema": {
|
|
3317
|
+
"$ref": "#/components/schemas/Error"
|
|
3318
|
+
}
|
|
3319
|
+
}
|
|
3320
|
+
},
|
|
3321
|
+
"description": "Invalid request"
|
|
3322
|
+
},
|
|
3323
|
+
"401": {
|
|
3324
|
+
"content": {
|
|
3325
|
+
"application/json": {
|
|
3326
|
+
"schema": {
|
|
3327
|
+
"$ref": "#/components/schemas/Error"
|
|
3328
|
+
}
|
|
3329
|
+
}
|
|
3330
|
+
},
|
|
3331
|
+
"description": "Authentication required"
|
|
3332
|
+
},
|
|
3333
|
+
"403": {
|
|
3334
|
+
"content": {
|
|
3335
|
+
"application/json": {
|
|
3336
|
+
"schema": {
|
|
3337
|
+
"$ref": "#/components/schemas/Error"
|
|
3338
|
+
}
|
|
3339
|
+
}
|
|
3340
|
+
},
|
|
3341
|
+
"description": "Permission denied"
|
|
3342
|
+
},
|
|
3343
|
+
"404": {
|
|
3344
|
+
"content": {
|
|
3345
|
+
"application/json": {
|
|
3346
|
+
"schema": {
|
|
3347
|
+
"$ref": "#/components/schemas/Error"
|
|
3348
|
+
}
|
|
3349
|
+
}
|
|
3350
|
+
},
|
|
3351
|
+
"description": "Resource not found"
|
|
3352
|
+
},
|
|
3353
|
+
"409": {
|
|
3354
|
+
"content": {
|
|
3355
|
+
"application/json": {
|
|
3356
|
+
"schema": {
|
|
3357
|
+
"$ref": "#/components/schemas/Error"
|
|
3358
|
+
}
|
|
3359
|
+
}
|
|
3360
|
+
},
|
|
3361
|
+
"description": "Conflicting request"
|
|
3362
|
+
},
|
|
3363
|
+
"413": {
|
|
3364
|
+
"content": {
|
|
3365
|
+
"application/json": {
|
|
3366
|
+
"schema": {
|
|
3367
|
+
"$ref": "#/components/schemas/Error"
|
|
3368
|
+
}
|
|
3369
|
+
}
|
|
3370
|
+
},
|
|
3371
|
+
"description": "Request body too large"
|
|
3372
|
+
},
|
|
3373
|
+
"422": {
|
|
3374
|
+
"content": {
|
|
3375
|
+
"application/json": {
|
|
3376
|
+
"schema": {
|
|
3377
|
+
"$ref": "#/components/schemas/Error"
|
|
3378
|
+
}
|
|
3379
|
+
}
|
|
3380
|
+
},
|
|
3381
|
+
"description": "Version unavailable"
|
|
3382
|
+
},
|
|
3383
|
+
"429": {
|
|
3384
|
+
"content": {
|
|
3385
|
+
"application/json": {
|
|
3386
|
+
"schema": {
|
|
3387
|
+
"$ref": "#/components/schemas/Error"
|
|
3388
|
+
}
|
|
3389
|
+
}
|
|
3390
|
+
},
|
|
3391
|
+
"description": "Limit reached"
|
|
3392
|
+
},
|
|
3393
|
+
"500": {
|
|
3394
|
+
"content": {
|
|
3395
|
+
"application/json": {
|
|
3396
|
+
"schema": {
|
|
3397
|
+
"$ref": "#/components/schemas/Error"
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
},
|
|
3401
|
+
"description": "Unexpected failure"
|
|
3402
|
+
},
|
|
3403
|
+
"503": {
|
|
3404
|
+
"content": {
|
|
3405
|
+
"application/json": {
|
|
3406
|
+
"schema": {
|
|
3407
|
+
"$ref": "#/components/schemas/Error"
|
|
3408
|
+
}
|
|
3409
|
+
}
|
|
3410
|
+
},
|
|
3411
|
+
"description": "Dependency unavailable"
|
|
3412
|
+
}
|
|
3413
|
+
},
|
|
3414
|
+
"security": [
|
|
3415
|
+
{
|
|
3416
|
+
"bearerAuth": []
|
|
3417
|
+
}
|
|
3418
|
+
]
|
|
3419
|
+
}
|
|
3420
|
+
},
|
|
3421
|
+
"/v1/environments/{environmentId}/apps/{appName}/ui-sessions": {
|
|
3422
|
+
"post": {
|
|
3423
|
+
"description": "Launches a browser session of one actor in an app's UI. The answer holds a one-use grant and no reusable credential. Return it only to the browser of the user it is for, which posts the grant to `exchangeUrl` from `launcherOrigin`.",
|
|
3424
|
+
"operationId": "launchUiSession",
|
|
3425
|
+
"parameters": [
|
|
3426
|
+
{
|
|
3427
|
+
"in": "path",
|
|
3428
|
+
"name": "environmentId",
|
|
3429
|
+
"required": true,
|
|
3430
|
+
"schema": {
|
|
3431
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
3432
|
+
"type": "string"
|
|
3433
|
+
}
|
|
3434
|
+
},
|
|
3435
|
+
{
|
|
3436
|
+
"in": "path",
|
|
3437
|
+
"name": "appName",
|
|
3438
|
+
"required": true,
|
|
3439
|
+
"schema": {
|
|
3440
|
+
"pattern": "^[a-z][a-z0-9-]{0,39}$",
|
|
3441
|
+
"type": "string"
|
|
3442
|
+
}
|
|
3443
|
+
}
|
|
3444
|
+
],
|
|
3445
|
+
"requestBody": {
|
|
3446
|
+
"content": {
|
|
3447
|
+
"application/json": {
|
|
3448
|
+
"schema": {
|
|
3449
|
+
"$ref": "#/components/schemas/LaunchUiSession"
|
|
3450
|
+
}
|
|
3451
|
+
}
|
|
3452
|
+
},
|
|
3453
|
+
"required": true
|
|
3454
|
+
},
|
|
3455
|
+
"responses": {
|
|
3456
|
+
"201": {
|
|
2358
3457
|
"content": {
|
|
2359
3458
|
"application/json": {
|
|
2360
3459
|
"schema": {
|
|
2361
|
-
"
|
|
2362
|
-
"data": {
|
|
2363
|
-
"items": {
|
|
2364
|
-
"$ref": "#/components/schemas/Principal"
|
|
2365
|
-
},
|
|
2366
|
-
"type": "array"
|
|
2367
|
-
}
|
|
2368
|
-
},
|
|
2369
|
-
"required": ["data"],
|
|
2370
|
-
"type": "object"
|
|
3460
|
+
"$ref": "#/components/schemas/UiSessionLaunch"
|
|
2371
3461
|
}
|
|
2372
3462
|
}
|
|
2373
3463
|
},
|
|
2374
|
-
"description": "
|
|
3464
|
+
"description": "A pending session and its one-use grant"
|
|
2375
3465
|
},
|
|
2376
3466
|
"400": {
|
|
2377
3467
|
"content": {
|
|
@@ -2481,9 +3571,10 @@
|
|
|
2481
3571
|
]
|
|
2482
3572
|
}
|
|
2483
3573
|
},
|
|
2484
|
-
"/v1/environments/{environmentId}": {
|
|
3574
|
+
"/v1/environments/{environmentId}/apps/{appName}/ui-sessions/{sessionId}": {
|
|
2485
3575
|
"delete": {
|
|
2486
|
-
"
|
|
3576
|
+
"description": "Revokes a browser session that the caller's own credential launched. Revoking again answers the same result. Another credential's session is not found.",
|
|
3577
|
+
"operationId": "revokeUiSession",
|
|
2487
3578
|
"parameters": [
|
|
2488
3579
|
{
|
|
2489
3580
|
"in": "path",
|
|
@@ -2495,13 +3586,20 @@
|
|
|
2495
3586
|
}
|
|
2496
3587
|
},
|
|
2497
3588
|
{
|
|
2498
|
-
"in": "
|
|
2499
|
-
"name": "
|
|
2500
|
-
"required":
|
|
3589
|
+
"in": "path",
|
|
3590
|
+
"name": "appName",
|
|
3591
|
+
"required": true,
|
|
2501
3592
|
"schema": {
|
|
2502
|
-
"
|
|
2503
|
-
"
|
|
2504
|
-
|
|
3593
|
+
"pattern": "^[a-z][a-z0-9-]{0,39}$",
|
|
3594
|
+
"type": "string"
|
|
3595
|
+
}
|
|
3596
|
+
},
|
|
3597
|
+
{
|
|
3598
|
+
"in": "path",
|
|
3599
|
+
"name": "sessionId",
|
|
3600
|
+
"required": true,
|
|
3601
|
+
"schema": {
|
|
3602
|
+
"pattern": "^uis_[0-9a-z]{26}$",
|
|
2505
3603
|
"type": "string"
|
|
2506
3604
|
}
|
|
2507
3605
|
}
|
|
@@ -2511,11 +3609,11 @@
|
|
|
2511
3609
|
"content": {
|
|
2512
3610
|
"application/json": {
|
|
2513
3611
|
"schema": {
|
|
2514
|
-
"$ref": "#/components/schemas/
|
|
3612
|
+
"$ref": "#/components/schemas/UiSessionRevocation"
|
|
2515
3613
|
}
|
|
2516
3614
|
}
|
|
2517
3615
|
},
|
|
2518
|
-
"description": "
|
|
3616
|
+
"description": "The session is revoked"
|
|
2519
3617
|
},
|
|
2520
3618
|
"400": {
|
|
2521
3619
|
"content": {
|
|
@@ -2623,18 +3721,52 @@
|
|
|
2623
3721
|
"bearerAuth": []
|
|
2624
3722
|
}
|
|
2625
3723
|
]
|
|
2626
|
-
}
|
|
3724
|
+
}
|
|
3725
|
+
},
|
|
3726
|
+
"/v1/imports": {
|
|
2627
3727
|
"get": {
|
|
2628
|
-
"operationId": "
|
|
3728
|
+
"operationId": "listImports",
|
|
2629
3729
|
"parameters": [
|
|
2630
3730
|
{
|
|
2631
|
-
"in": "
|
|
2632
|
-
"name": "
|
|
2633
|
-
"required":
|
|
3731
|
+
"in": "query",
|
|
3732
|
+
"name": "limit",
|
|
3733
|
+
"required": false,
|
|
3734
|
+
"schema": {
|
|
3735
|
+
"default": 50,
|
|
3736
|
+
"maximum": 100,
|
|
3737
|
+
"minimum": 1,
|
|
3738
|
+
"type": "integer"
|
|
3739
|
+
}
|
|
3740
|
+
},
|
|
3741
|
+
{
|
|
3742
|
+
"in": "query",
|
|
3743
|
+
"name": "cursor",
|
|
3744
|
+
"required": false,
|
|
3745
|
+
"schema": {
|
|
3746
|
+
"maxLength": 2048,
|
|
3747
|
+
"type": "string"
|
|
3748
|
+
}
|
|
3749
|
+
},
|
|
3750
|
+
{
|
|
3751
|
+
"in": "query",
|
|
3752
|
+
"name": "workspaceId",
|
|
3753
|
+
"required": false,
|
|
2634
3754
|
"schema": {
|
|
2635
3755
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
2636
3756
|
"type": "string"
|
|
2637
3757
|
}
|
|
3758
|
+
},
|
|
3759
|
+
{
|
|
3760
|
+
"in": "query",
|
|
3761
|
+
"name": "status",
|
|
3762
|
+
"required": false,
|
|
3763
|
+
"schema": {
|
|
3764
|
+
"items": {
|
|
3765
|
+
"$ref": "#/components/schemas/ImportStatus"
|
|
3766
|
+
},
|
|
3767
|
+
"maxItems": 4,
|
|
3768
|
+
"type": "array"
|
|
3769
|
+
}
|
|
2638
3770
|
}
|
|
2639
3771
|
],
|
|
2640
3772
|
"responses": {
|
|
@@ -2642,11 +3774,23 @@
|
|
|
2642
3774
|
"content": {
|
|
2643
3775
|
"application/json": {
|
|
2644
3776
|
"schema": {
|
|
2645
|
-
"
|
|
3777
|
+
"properties": {
|
|
3778
|
+
"data": {
|
|
3779
|
+
"items": {
|
|
3780
|
+
"$ref": "#/components/schemas/Import"
|
|
3781
|
+
},
|
|
3782
|
+
"type": "array"
|
|
3783
|
+
},
|
|
3784
|
+
"nextCursor": {
|
|
3785
|
+
"type": ["string", "null"]
|
|
3786
|
+
}
|
|
3787
|
+
},
|
|
3788
|
+
"required": ["data", "nextCursor"],
|
|
3789
|
+
"type": "object"
|
|
2646
3790
|
}
|
|
2647
3791
|
}
|
|
2648
3792
|
},
|
|
2649
|
-
"description": "
|
|
3793
|
+
"description": "The workspace's imports, newest first"
|
|
2650
3794
|
},
|
|
2651
3795
|
"400": {
|
|
2652
3796
|
"content": {
|
|
@@ -2755,15 +3899,17 @@
|
|
|
2755
3899
|
}
|
|
2756
3900
|
]
|
|
2757
3901
|
},
|
|
2758
|
-
"
|
|
2759
|
-
"operationId": "
|
|
3902
|
+
"post": {
|
|
3903
|
+
"operationId": "createImport",
|
|
2760
3904
|
"parameters": [
|
|
2761
3905
|
{
|
|
2762
|
-
"in": "
|
|
2763
|
-
"name": "
|
|
2764
|
-
"required":
|
|
3906
|
+
"in": "header",
|
|
3907
|
+
"name": "idempotency-key",
|
|
3908
|
+
"required": false,
|
|
2765
3909
|
"schema": {
|
|
2766
|
-
"
|
|
3910
|
+
"maxLength": 128,
|
|
3911
|
+
"minLength": 8,
|
|
3912
|
+
"pattern": "^[A-Za-z0-9._:-]+$",
|
|
2767
3913
|
"type": "string"
|
|
2768
3914
|
}
|
|
2769
3915
|
}
|
|
@@ -2773,19 +3919,24 @@
|
|
|
2773
3919
|
"application/json": {
|
|
2774
3920
|
"schema": {
|
|
2775
3921
|
"properties": {
|
|
2776
|
-
"
|
|
2777
|
-
"
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
},
|
|
2781
|
-
"type": "object"
|
|
3922
|
+
"digest": {
|
|
3923
|
+
"description": "`sha256:` and the lowercase hex SHA-256 of the zip file. The check refuses a zip file with another digest.",
|
|
3924
|
+
"pattern": "^sha256:[0-9a-f]{64}$",
|
|
3925
|
+
"type": "string"
|
|
2782
3926
|
},
|
|
2783
|
-
"
|
|
2784
|
-
"
|
|
2785
|
-
"
|
|
2786
|
-
"
|
|
3927
|
+
"sizeBytes": {
|
|
3928
|
+
"description": "The size of the zip file in bytes. The upload URL takes exactly this many bytes.",
|
|
3929
|
+
"maximum": 67108864,
|
|
3930
|
+
"minimum": 1,
|
|
3931
|
+
"type": "integer"
|
|
3932
|
+
},
|
|
3933
|
+
"workspaceId": {
|
|
3934
|
+
"description": "The import's workspace. A member must send it. An API key's own workspace is the default.",
|
|
3935
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
3936
|
+
"type": "string"
|
|
2787
3937
|
}
|
|
2788
3938
|
},
|
|
3939
|
+
"required": ["sizeBytes", "digest"],
|
|
2789
3940
|
"type": "object"
|
|
2790
3941
|
}
|
|
2791
3942
|
}
|
|
@@ -2797,11 +3948,21 @@
|
|
|
2797
3948
|
"content": {
|
|
2798
3949
|
"application/json": {
|
|
2799
3950
|
"schema": {
|
|
2800
|
-
"$ref": "#/components/schemas/
|
|
3951
|
+
"$ref": "#/components/schemas/CreatedImport"
|
|
2801
3952
|
}
|
|
2802
3953
|
}
|
|
2803
3954
|
},
|
|
2804
|
-
"description": "
|
|
3955
|
+
"description": "The import an earlier request with this Idempotency-Key created, as it is now, with a new upload URL while it is `uploading`"
|
|
3956
|
+
},
|
|
3957
|
+
"201": {
|
|
3958
|
+
"content": {
|
|
3959
|
+
"application/json": {
|
|
3960
|
+
"schema": {
|
|
3961
|
+
"$ref": "#/components/schemas/CreatedImport"
|
|
3962
|
+
}
|
|
3963
|
+
}
|
|
3964
|
+
},
|
|
3965
|
+
"description": "Import created; send its zip file to the upload URL, then complete it"
|
|
2805
3966
|
},
|
|
2806
3967
|
"400": {
|
|
2807
3968
|
"content": {
|
|
@@ -2911,64 +4072,30 @@
|
|
|
2911
4072
|
]
|
|
2912
4073
|
}
|
|
2913
4074
|
},
|
|
2914
|
-
"/v1/
|
|
2915
|
-
"
|
|
2916
|
-
"operationId": "
|
|
4075
|
+
"/v1/imports/{importId}": {
|
|
4076
|
+
"delete": {
|
|
4077
|
+
"operationId": "deleteImport",
|
|
2917
4078
|
"parameters": [
|
|
2918
4079
|
{
|
|
2919
4080
|
"in": "path",
|
|
2920
|
-
"name": "
|
|
4081
|
+
"name": "importId",
|
|
2921
4082
|
"required": true,
|
|
2922
4083
|
"schema": {
|
|
2923
4084
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
2924
4085
|
"type": "string"
|
|
2925
4086
|
}
|
|
2926
|
-
},
|
|
2927
|
-
{
|
|
2928
|
-
"in": "path",
|
|
2929
|
-
"name": "appName",
|
|
2930
|
-
"required": true,
|
|
2931
|
-
"schema": {
|
|
2932
|
-
"pattern": "^[a-z][a-z0-9-]{0,39}$",
|
|
2933
|
-
"type": "string"
|
|
2934
|
-
}
|
|
2935
4087
|
}
|
|
2936
4088
|
],
|
|
2937
|
-
"requestBody": {
|
|
2938
|
-
"content": {
|
|
2939
|
-
"application/json": {
|
|
2940
|
-
"schema": {
|
|
2941
|
-
"properties": {
|
|
2942
|
-
"actorId": {
|
|
2943
|
-
"maxLength": 255,
|
|
2944
|
-
"minLength": 1,
|
|
2945
|
-
"type": "string"
|
|
2946
|
-
},
|
|
2947
|
-
"services": {
|
|
2948
|
-
"items": {
|
|
2949
|
-
"pattern": "^[a-z][a-z0-9-]{0,39}$",
|
|
2950
|
-
"type": "string"
|
|
2951
|
-
},
|
|
2952
|
-
"maxItems": 20,
|
|
2953
|
-
"type": "array"
|
|
2954
|
-
}
|
|
2955
|
-
},
|
|
2956
|
-
"type": "object"
|
|
2957
|
-
}
|
|
2958
|
-
}
|
|
2959
|
-
},
|
|
2960
|
-
"required": false
|
|
2961
|
-
},
|
|
2962
4089
|
"responses": {
|
|
2963
4090
|
"200": {
|
|
2964
4091
|
"content": {
|
|
2965
4092
|
"application/json": {
|
|
2966
4093
|
"schema": {
|
|
2967
|
-
"$ref": "#/components/schemas/
|
|
4094
|
+
"$ref": "#/components/schemas/Import"
|
|
2968
4095
|
}
|
|
2969
4096
|
}
|
|
2970
4097
|
},
|
|
2971
|
-
"description": "
|
|
4098
|
+
"description": "Import deleted, with its problems cleared and its zip file removed"
|
|
2972
4099
|
},
|
|
2973
4100
|
"400": {
|
|
2974
4101
|
"content": {
|
|
@@ -3076,52 +4203,30 @@
|
|
|
3076
4203
|
"bearerAuth": []
|
|
3077
4204
|
}
|
|
3078
4205
|
]
|
|
3079
|
-
}
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
"post": {
|
|
3083
|
-
"description": "Launches a browser session of one actor in an app's UI. The answer holds a one-use grant and no reusable credential. Return it only to the browser of the user it is for, which posts the grant to `exchangeUrl` from `launcherOrigin`.",
|
|
3084
|
-
"operationId": "launchUiSession",
|
|
4206
|
+
},
|
|
4207
|
+
"get": {
|
|
4208
|
+
"operationId": "getImport",
|
|
3085
4209
|
"parameters": [
|
|
3086
4210
|
{
|
|
3087
4211
|
"in": "path",
|
|
3088
|
-
"name": "
|
|
4212
|
+
"name": "importId",
|
|
3089
4213
|
"required": true,
|
|
3090
4214
|
"schema": {
|
|
3091
4215
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
3092
4216
|
"type": "string"
|
|
3093
4217
|
}
|
|
3094
|
-
},
|
|
3095
|
-
{
|
|
3096
|
-
"in": "path",
|
|
3097
|
-
"name": "appName",
|
|
3098
|
-
"required": true,
|
|
3099
|
-
"schema": {
|
|
3100
|
-
"pattern": "^[a-z][a-z0-9-]{0,39}$",
|
|
3101
|
-
"type": "string"
|
|
3102
|
-
}
|
|
3103
4218
|
}
|
|
3104
4219
|
],
|
|
3105
|
-
"requestBody": {
|
|
3106
|
-
"content": {
|
|
3107
|
-
"application/json": {
|
|
3108
|
-
"schema": {
|
|
3109
|
-
"$ref": "#/components/schemas/LaunchUiSession"
|
|
3110
|
-
}
|
|
3111
|
-
}
|
|
3112
|
-
},
|
|
3113
|
-
"required": true
|
|
3114
|
-
},
|
|
3115
4220
|
"responses": {
|
|
3116
|
-
"
|
|
4221
|
+
"200": {
|
|
3117
4222
|
"content": {
|
|
3118
4223
|
"application/json": {
|
|
3119
4224
|
"schema": {
|
|
3120
|
-
"$ref": "#/components/schemas/
|
|
4225
|
+
"$ref": "#/components/schemas/Import"
|
|
3121
4226
|
}
|
|
3122
4227
|
}
|
|
3123
4228
|
},
|
|
3124
|
-
"description": "
|
|
4229
|
+
"description": "Import"
|
|
3125
4230
|
},
|
|
3126
4231
|
"400": {
|
|
3127
4232
|
"content": {
|
|
@@ -3231,37 +4336,18 @@
|
|
|
3231
4336
|
]
|
|
3232
4337
|
}
|
|
3233
4338
|
},
|
|
3234
|
-
"/v1/
|
|
3235
|
-
"
|
|
3236
|
-
"
|
|
3237
|
-
"operationId": "revokeUiSession",
|
|
4339
|
+
"/v1/imports/{importId}/complete": {
|
|
4340
|
+
"post": {
|
|
4341
|
+
"operationId": "completeImport",
|
|
3238
4342
|
"parameters": [
|
|
3239
4343
|
{
|
|
3240
4344
|
"in": "path",
|
|
3241
|
-
"name": "
|
|
4345
|
+
"name": "importId",
|
|
3242
4346
|
"required": true,
|
|
3243
4347
|
"schema": {
|
|
3244
4348
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
3245
4349
|
"type": "string"
|
|
3246
4350
|
}
|
|
3247
|
-
},
|
|
3248
|
-
{
|
|
3249
|
-
"in": "path",
|
|
3250
|
-
"name": "appName",
|
|
3251
|
-
"required": true,
|
|
3252
|
-
"schema": {
|
|
3253
|
-
"pattern": "^[a-z][a-z0-9-]{0,39}$",
|
|
3254
|
-
"type": "string"
|
|
3255
|
-
}
|
|
3256
|
-
},
|
|
3257
|
-
{
|
|
3258
|
-
"in": "path",
|
|
3259
|
-
"name": "sessionId",
|
|
3260
|
-
"required": true,
|
|
3261
|
-
"schema": {
|
|
3262
|
-
"pattern": "^uis_[0-9a-z]{26}$",
|
|
3263
|
-
"type": "string"
|
|
3264
|
-
}
|
|
3265
4351
|
}
|
|
3266
4352
|
],
|
|
3267
4353
|
"responses": {
|
|
@@ -3269,11 +4355,11 @@
|
|
|
3269
4355
|
"content": {
|
|
3270
4356
|
"application/json": {
|
|
3271
4357
|
"schema": {
|
|
3272
|
-
"$ref": "#/components/schemas/
|
|
4358
|
+
"$ref": "#/components/schemas/Import"
|
|
3273
4359
|
}
|
|
3274
4360
|
}
|
|
3275
4361
|
},
|
|
3276
|
-
"description": "The
|
|
4362
|
+
"description": "The import after the check of its zip file: `ready`, or `invalid` with its problems"
|
|
3277
4363
|
},
|
|
3278
4364
|
"400": {
|
|
3279
4365
|
"content": {
|
|
@@ -4556,19 +5642,7 @@
|
|
|
4556
5642
|
"content": {
|
|
4557
5643
|
"application/json": {
|
|
4558
5644
|
"schema": {
|
|
4559
|
-
"
|
|
4560
|
-
"environmentId": {
|
|
4561
|
-
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
|
|
4562
|
-
"type": "string"
|
|
4563
|
-
},
|
|
4564
|
-
"name": {
|
|
4565
|
-
"maxLength": 120,
|
|
4566
|
-
"minLength": 1,
|
|
4567
|
-
"type": ["string", "null"]
|
|
4568
|
-
}
|
|
4569
|
-
},
|
|
4570
|
-
"required": ["environmentId"],
|
|
4571
|
-
"type": "object"
|
|
5645
|
+
"$ref": "#/components/schemas/CreateSnapshot"
|
|
4572
5646
|
}
|
|
4573
5647
|
}
|
|
4574
5648
|
},
|