@epilot/cli 0.1.12 → 0.1.15
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 +5 -1
- package/definitions/blueprint-manifest.json +239 -12
- package/definitions/configuration-hub.json +399 -0
- package/definitions/environments.json +183 -7
- package/definitions/query.json +3178 -0
- package/definitions/target.json +609 -0
- package/definitions/user.json +52 -0
- package/dist/bin/epilot.js +8 -6
- package/dist/{chunk-F6KWKTQJ.js → chunk-UOQMCAJN.js} +47 -3
- package/dist/{completion-QP4IYMVI.js → completion-J7SWF5AO.js} +1 -1
- package/dist/configuration-hub-Y7W22GBW.js +54 -0
- package/dist/query-IYW42QLU.js +54 -0
- package/dist/{upgrade-SYSSIAQC.js → upgrade-6Z53BXHL.js} +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.3",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "Configuration Hub API",
|
|
5
|
+
"description": "Lightweight index API for exploring epilot organization configurations.\n\nProvides a unified tree view across all config types. Returns summary metadata only —\nthe frontend calls individual epilot APIs directly (via @epilot/sdk) for full config payloads.\n",
|
|
6
|
+
"version": "0.2.0"
|
|
7
|
+
},
|
|
8
|
+
"servers": [
|
|
9
|
+
{
|
|
10
|
+
"url": "https://configuration-hub.dev.sls.epilot.io",
|
|
11
|
+
"description": "Dev"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"url": "https://configuration-hub.sls.epilot.io",
|
|
15
|
+
"description": "Production"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"security": [
|
|
19
|
+
{
|
|
20
|
+
"EpilotAuth": []
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"tags": [
|
|
24
|
+
{
|
|
25
|
+
"name": "Configs",
|
|
26
|
+
"description": "Configuration tree index"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"paths": {
|
|
30
|
+
"/v1/configs/types": {
|
|
31
|
+
"get": {
|
|
32
|
+
"operationId": "listConfigTypes",
|
|
33
|
+
"summary": "listConfigTypes",
|
|
34
|
+
"description": "Returns the static list of available configuration types with display metadata.\nThis is a cheap call — no fan-out to downstream APIs. Returns all known types\nwith labels and icons. The frontend should then call `listConfigs` separately\nfor each type it wants to load.\n",
|
|
35
|
+
"tags": [
|
|
36
|
+
"Configs"
|
|
37
|
+
],
|
|
38
|
+
"responses": {
|
|
39
|
+
"200": {
|
|
40
|
+
"description": "Available config types",
|
|
41
|
+
"content": {
|
|
42
|
+
"application/json": {
|
|
43
|
+
"schema": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"results": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": {
|
|
49
|
+
"$ref": "#/components/schemas/ConfigTypeInfo"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": [
|
|
54
|
+
"results"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"/v1/configs/{type}": {
|
|
64
|
+
"get": {
|
|
65
|
+
"operationId": "listConfigs",
|
|
66
|
+
"summary": "listConfigs",
|
|
67
|
+
"description": "List configs of a given type with pagination. Returns summary metadata only\n(not full payloads). The frontend calls this per type folder when expanding.\n\nSupports offset-based pagination via `from` and `size` parameters.\n",
|
|
68
|
+
"tags": [
|
|
69
|
+
"Configs"
|
|
70
|
+
],
|
|
71
|
+
"parameters": [
|
|
72
|
+
{
|
|
73
|
+
"$ref": "#/components/parameters/ConfigType"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"$ref": "#/components/parameters/CursorParam"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"$ref": "#/components/parameters/SizeParam"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"responses": {
|
|
83
|
+
"200": {
|
|
84
|
+
"description": "Paginated config list",
|
|
85
|
+
"content": {
|
|
86
|
+
"application/json": {
|
|
87
|
+
"schema": {
|
|
88
|
+
"$ref": "#/components/schemas/ConfigListResponse"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"400": {
|
|
94
|
+
"description": "Invalid config type",
|
|
95
|
+
"content": {
|
|
96
|
+
"application/json": {
|
|
97
|
+
"schema": {
|
|
98
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"/v1/configs/{type}/{id}/dependencies": {
|
|
107
|
+
"get": {
|
|
108
|
+
"operationId": "getConfigDependencies",
|
|
109
|
+
"summary": "getConfigDependencies",
|
|
110
|
+
"description": "Get configs that are referenced by the given config.\nUsed to render children when expanding a config node in the tree.\n\nResolves dependencies by fetching the config payload server-side and scanning\nfor references (UUIDs, source IDs, slug-based references).\n",
|
|
111
|
+
"tags": [
|
|
112
|
+
"Configs"
|
|
113
|
+
],
|
|
114
|
+
"parameters": [
|
|
115
|
+
{
|
|
116
|
+
"$ref": "#/components/parameters/ConfigType"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"$ref": "#/components/parameters/ConfigId"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"$ref": "#/components/parameters/CursorParam"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"$ref": "#/components/parameters/SizeParam"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"responses": {
|
|
129
|
+
"200": {
|
|
130
|
+
"description": "Paginated list of referenced configs",
|
|
131
|
+
"content": {
|
|
132
|
+
"application/json": {
|
|
133
|
+
"schema": {
|
|
134
|
+
"$ref": "#/components/schemas/ConfigDependenciesResponse"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"404": {
|
|
140
|
+
"description": "Config not found",
|
|
141
|
+
"content": {
|
|
142
|
+
"application/json": {
|
|
143
|
+
"schema": {
|
|
144
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"components": {
|
|
154
|
+
"securitySchemes": {
|
|
155
|
+
"EpilotAuth": {
|
|
156
|
+
"type": "http",
|
|
157
|
+
"scheme": "bearer",
|
|
158
|
+
"description": "epilot JWT auth token"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"parameters": {
|
|
162
|
+
"ConfigType": {
|
|
163
|
+
"name": "type",
|
|
164
|
+
"in": "path",
|
|
165
|
+
"required": true,
|
|
166
|
+
"description": "Configuration resource type",
|
|
167
|
+
"schema": {
|
|
168
|
+
"$ref": "#/components/schemas/ResourceType"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"ConfigId": {
|
|
172
|
+
"name": "id",
|
|
173
|
+
"in": "path",
|
|
174
|
+
"required": true,
|
|
175
|
+
"description": "Configuration resource ID",
|
|
176
|
+
"schema": {
|
|
177
|
+
"type": "string"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"CursorParam": {
|
|
181
|
+
"name": "cursor",
|
|
182
|
+
"in": "query",
|
|
183
|
+
"description": "Opaque cursor for fetching the next page. Omit for the first page.",
|
|
184
|
+
"schema": {
|
|
185
|
+
"type": "string"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"SizeParam": {
|
|
189
|
+
"name": "size",
|
|
190
|
+
"in": "query",
|
|
191
|
+
"description": "Number of items per page",
|
|
192
|
+
"schema": {
|
|
193
|
+
"type": "integer",
|
|
194
|
+
"default": 25,
|
|
195
|
+
"minimum": 1,
|
|
196
|
+
"maximum": 100
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"schemas": {
|
|
201
|
+
"ResourceType": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"description": "Configuration resource type identifier.\nMatches blueprint-manifest-api V3 naming conventions.\n",
|
|
204
|
+
"enum": [
|
|
205
|
+
"journey",
|
|
206
|
+
"automation_flow",
|
|
207
|
+
"workflow_definition",
|
|
208
|
+
"closing_reason",
|
|
209
|
+
"flow_template",
|
|
210
|
+
"schema",
|
|
211
|
+
"emailtemplate",
|
|
212
|
+
"product",
|
|
213
|
+
"price",
|
|
214
|
+
"tax",
|
|
215
|
+
"coupon",
|
|
216
|
+
"file",
|
|
217
|
+
"webhook",
|
|
218
|
+
"saved_view",
|
|
219
|
+
"dashboard",
|
|
220
|
+
"kanban",
|
|
221
|
+
"role",
|
|
222
|
+
"usergroup",
|
|
223
|
+
"validation_rule",
|
|
224
|
+
"integration",
|
|
225
|
+
"app",
|
|
226
|
+
"designbuilder",
|
|
227
|
+
"notification_template",
|
|
228
|
+
"custom_variable",
|
|
229
|
+
"environment_variable",
|
|
230
|
+
"taxonomy",
|
|
231
|
+
"taxonomy_classification",
|
|
232
|
+
"entity_mapping",
|
|
233
|
+
"portal_config",
|
|
234
|
+
"target",
|
|
235
|
+
"product_recommendation"
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
"ConfigTypeInfo": {
|
|
239
|
+
"type": "object",
|
|
240
|
+
"description": "Static metadata for a config type folder in the tree.\nNo downstream API calls — just type + label + icon + source API info.\n",
|
|
241
|
+
"properties": {
|
|
242
|
+
"type": {
|
|
243
|
+
"$ref": "#/components/schemas/ResourceType"
|
|
244
|
+
},
|
|
245
|
+
"label": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "Display label",
|
|
248
|
+
"example": "Journeys"
|
|
249
|
+
},
|
|
250
|
+
"icon": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"description": "Frontend icon name",
|
|
253
|
+
"example": "Route"
|
|
254
|
+
},
|
|
255
|
+
"source_api": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"description": "Base URL of the epilot API that owns this resource type",
|
|
258
|
+
"example": "https://journey.sls.epilot.io"
|
|
259
|
+
},
|
|
260
|
+
"sdk_client": {
|
|
261
|
+
"type": "string",
|
|
262
|
+
"description": "@epilot/sdk subpath for fetching full config payloads",
|
|
263
|
+
"example": "@epilot/sdk/journey"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"required": [
|
|
267
|
+
"type",
|
|
268
|
+
"label",
|
|
269
|
+
"icon",
|
|
270
|
+
"source_api",
|
|
271
|
+
"sdk_client"
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
"ConfigNode": {
|
|
275
|
+
"type": "object",
|
|
276
|
+
"description": "Summary metadata for a single configuration item in the tree",
|
|
277
|
+
"properties": {
|
|
278
|
+
"type": {
|
|
279
|
+
"$ref": "#/components/schemas/ResourceType"
|
|
280
|
+
},
|
|
281
|
+
"id": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"description": "Unique identifier"
|
|
284
|
+
},
|
|
285
|
+
"title": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"description": "Display name"
|
|
288
|
+
},
|
|
289
|
+
"updated_at": {
|
|
290
|
+
"type": "string",
|
|
291
|
+
"format": "date-time",
|
|
292
|
+
"description": "Last modified timestamp"
|
|
293
|
+
},
|
|
294
|
+
"updated_by": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"description": "User who last modified this config"
|
|
297
|
+
},
|
|
298
|
+
"tags": {
|
|
299
|
+
"type": "array",
|
|
300
|
+
"items": {
|
|
301
|
+
"type": "string"
|
|
302
|
+
},
|
|
303
|
+
"description": "Tags / labels"
|
|
304
|
+
},
|
|
305
|
+
"purposes": {
|
|
306
|
+
"type": "array",
|
|
307
|
+
"items": {
|
|
308
|
+
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
"description": "Business purposes"
|
|
311
|
+
},
|
|
312
|
+
"link": {
|
|
313
|
+
"type": "string",
|
|
314
|
+
"format": "uri",
|
|
315
|
+
"description": "Direct link to open this config in epilot"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"required": [
|
|
319
|
+
"type",
|
|
320
|
+
"id",
|
|
321
|
+
"title"
|
|
322
|
+
]
|
|
323
|
+
},
|
|
324
|
+
"ConfigListResponse": {
|
|
325
|
+
"type": "object",
|
|
326
|
+
"description": "Cursor-paginated list of configs for a specific type",
|
|
327
|
+
"properties": {
|
|
328
|
+
"type": {
|
|
329
|
+
"$ref": "#/components/schemas/ResourceType"
|
|
330
|
+
},
|
|
331
|
+
"label": {
|
|
332
|
+
"type": "string"
|
|
333
|
+
},
|
|
334
|
+
"icon": {
|
|
335
|
+
"type": "string"
|
|
336
|
+
},
|
|
337
|
+
"total": {
|
|
338
|
+
"type": "integer",
|
|
339
|
+
"description": "Total number of configs of this type (if known)"
|
|
340
|
+
},
|
|
341
|
+
"next_cursor": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"description": "Cursor for fetching the next page. Absent when no more pages."
|
|
344
|
+
},
|
|
345
|
+
"items": {
|
|
346
|
+
"type": "array",
|
|
347
|
+
"items": {
|
|
348
|
+
"$ref": "#/components/schemas/ConfigNode"
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"required": [
|
|
353
|
+
"type",
|
|
354
|
+
"label",
|
|
355
|
+
"icon",
|
|
356
|
+
"items"
|
|
357
|
+
]
|
|
358
|
+
},
|
|
359
|
+
"ConfigDependenciesResponse": {
|
|
360
|
+
"type": "object",
|
|
361
|
+
"description": "Cursor-paginated list of configs referenced by a given config",
|
|
362
|
+
"properties": {
|
|
363
|
+
"total": {
|
|
364
|
+
"type": "integer",
|
|
365
|
+
"description": "Total number of dependencies found (if known)"
|
|
366
|
+
},
|
|
367
|
+
"next_cursor": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"description": "Cursor for fetching the next page. Absent when no more pages."
|
|
370
|
+
},
|
|
371
|
+
"results": {
|
|
372
|
+
"type": "array",
|
|
373
|
+
"items": {
|
|
374
|
+
"$ref": "#/components/schemas/ConfigNode"
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"required": [
|
|
379
|
+
"results"
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
"ErrorResponse": {
|
|
383
|
+
"type": "object",
|
|
384
|
+
"properties": {
|
|
385
|
+
"status": {
|
|
386
|
+
"type": "integer"
|
|
387
|
+
},
|
|
388
|
+
"error": {
|
|
389
|
+
"type": "string"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
"required": [
|
|
393
|
+
"status",
|
|
394
|
+
"error"
|
|
395
|
+
]
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Environments API",
|
|
5
5
|
"description": "API for managing organization environment variables and secrets",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.1"
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
9
9
|
{
|
|
@@ -93,6 +93,122 @@
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
|
+
"/v1/environments/groups": {
|
|
97
|
+
"get": {
|
|
98
|
+
"operationId": "listEnvironmentGroups",
|
|
99
|
+
"summary": "List environment groups",
|
|
100
|
+
"description": "List all environment groups for the organization.",
|
|
101
|
+
"tags": [
|
|
102
|
+
"environments"
|
|
103
|
+
],
|
|
104
|
+
"responses": {
|
|
105
|
+
"200": {
|
|
106
|
+
"description": "List of environment groups",
|
|
107
|
+
"content": {
|
|
108
|
+
"application/json": {
|
|
109
|
+
"schema": {
|
|
110
|
+
"$ref": "#/components/schemas/EnvironmentGroupList"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"401": {
|
|
116
|
+
"description": "Unauthorized"
|
|
117
|
+
},
|
|
118
|
+
"403": {
|
|
119
|
+
"description": "Forbidden"
|
|
120
|
+
},
|
|
121
|
+
"500": {
|
|
122
|
+
"description": "Internal server error"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"/v1/environments/groups/{name}": {
|
|
128
|
+
"parameters": [
|
|
129
|
+
{
|
|
130
|
+
"name": "name",
|
|
131
|
+
"in": "path",
|
|
132
|
+
"required": true,
|
|
133
|
+
"schema": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"put": {
|
|
139
|
+
"operationId": "putEnvironmentGroup",
|
|
140
|
+
"summary": "putEnvironmentGroup",
|
|
141
|
+
"tags": [
|
|
142
|
+
"environments"
|
|
143
|
+
],
|
|
144
|
+
"requestBody": {
|
|
145
|
+
"required": true,
|
|
146
|
+
"content": {
|
|
147
|
+
"application/json": {
|
|
148
|
+
"schema": {
|
|
149
|
+
"$ref": "#/components/schemas/EnvironmentGroupUpsertRequest"
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"responses": {
|
|
155
|
+
"200": {
|
|
156
|
+
"description": "Updated group",
|
|
157
|
+
"content": {
|
|
158
|
+
"application/json": {
|
|
159
|
+
"schema": {
|
|
160
|
+
"$ref": "#/components/schemas/EnvironmentGroup"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"201": {
|
|
166
|
+
"description": "Created group",
|
|
167
|
+
"content": {
|
|
168
|
+
"application/json": {
|
|
169
|
+
"schema": {
|
|
170
|
+
"$ref": "#/components/schemas/EnvironmentGroup"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"401": {
|
|
176
|
+
"description": "Unauthorized"
|
|
177
|
+
},
|
|
178
|
+
"403": {
|
|
179
|
+
"description": "Forbidden"
|
|
180
|
+
},
|
|
181
|
+
"500": {
|
|
182
|
+
"description": "Internal server error"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"delete": {
|
|
187
|
+
"operationId": "deleteEnvironmentGroup",
|
|
188
|
+
"summary": "Delete an environment group",
|
|
189
|
+
"description": "Deletes a group. Variables assigned to this group become ungrouped.",
|
|
190
|
+
"tags": [
|
|
191
|
+
"environments"
|
|
192
|
+
],
|
|
193
|
+
"responses": {
|
|
194
|
+
"204": {
|
|
195
|
+
"description": "Group deleted"
|
|
196
|
+
},
|
|
197
|
+
"401": {
|
|
198
|
+
"description": "Unauthorized"
|
|
199
|
+
},
|
|
200
|
+
"403": {
|
|
201
|
+
"description": "Forbidden"
|
|
202
|
+
},
|
|
203
|
+
"404": {
|
|
204
|
+
"description": "Group not found"
|
|
205
|
+
},
|
|
206
|
+
"500": {
|
|
207
|
+
"description": "Internal server error"
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
96
212
|
"/v1/environments/{key}": {
|
|
97
213
|
"parameters": [
|
|
98
214
|
{
|
|
@@ -252,6 +368,10 @@
|
|
|
252
368
|
"description": {
|
|
253
369
|
"type": "string"
|
|
254
370
|
},
|
|
371
|
+
"group": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"description": "Optional group name for organising variables in the UI"
|
|
374
|
+
},
|
|
255
375
|
"value": {
|
|
256
376
|
"type": "string",
|
|
257
377
|
"description": "Value is returned for String type, omitted for SecretString"
|
|
@@ -284,6 +404,10 @@
|
|
|
284
404
|
"description": {
|
|
285
405
|
"type": "string"
|
|
286
406
|
},
|
|
407
|
+
"group": {
|
|
408
|
+
"type": "string",
|
|
409
|
+
"description": "Optional group name for organising variables in the UI"
|
|
410
|
+
},
|
|
287
411
|
"value": {
|
|
288
412
|
"type": "string",
|
|
289
413
|
"description": "Value is returned for String type, omitted for SecretString"
|
|
@@ -316,8 +440,7 @@
|
|
|
316
440
|
"type": "object",
|
|
317
441
|
"required": [
|
|
318
442
|
"key",
|
|
319
|
-
"type"
|
|
320
|
-
"value"
|
|
443
|
+
"type"
|
|
321
444
|
],
|
|
322
445
|
"properties": {
|
|
323
446
|
"key": {
|
|
@@ -330,6 +453,9 @@
|
|
|
330
453
|
"description": {
|
|
331
454
|
"type": "string"
|
|
332
455
|
},
|
|
456
|
+
"group": {
|
|
457
|
+
"type": "string"
|
|
458
|
+
},
|
|
333
459
|
"value": {
|
|
334
460
|
"type": "string"
|
|
335
461
|
}
|
|
@@ -337,9 +463,6 @@
|
|
|
337
463
|
},
|
|
338
464
|
"EnvironmentVariableUpdateRequest": {
|
|
339
465
|
"type": "object",
|
|
340
|
-
"required": [
|
|
341
|
-
"value"
|
|
342
|
-
],
|
|
343
466
|
"properties": {
|
|
344
467
|
"type": {
|
|
345
468
|
"description": "Type of variable. Used when creating a new variable. Defaults to String.",
|
|
@@ -352,6 +475,55 @@
|
|
|
352
475
|
"value": {
|
|
353
476
|
"type": "string"
|
|
354
477
|
},
|
|
478
|
+
"description": {
|
|
479
|
+
"type": "string"
|
|
480
|
+
},
|
|
481
|
+
"group": {
|
|
482
|
+
"type": "string"
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"EnvironmentGroup": {
|
|
487
|
+
"type": "object",
|
|
488
|
+
"required": [
|
|
489
|
+
"name",
|
|
490
|
+
"created_at",
|
|
491
|
+
"updated_at"
|
|
492
|
+
],
|
|
493
|
+
"properties": {
|
|
494
|
+
"name": {
|
|
495
|
+
"type": "string"
|
|
496
|
+
},
|
|
497
|
+
"description": {
|
|
498
|
+
"type": "string"
|
|
499
|
+
},
|
|
500
|
+
"created_at": {
|
|
501
|
+
"type": "string",
|
|
502
|
+
"format": "date-time"
|
|
503
|
+
},
|
|
504
|
+
"updated_at": {
|
|
505
|
+
"type": "string",
|
|
506
|
+
"format": "date-time"
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"EnvironmentGroupList": {
|
|
511
|
+
"type": "object",
|
|
512
|
+
"required": [
|
|
513
|
+
"items"
|
|
514
|
+
],
|
|
515
|
+
"properties": {
|
|
516
|
+
"items": {
|
|
517
|
+
"type": "array",
|
|
518
|
+
"items": {
|
|
519
|
+
"$ref": "#/components/schemas/EnvironmentGroup"
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"EnvironmentGroupUpsertRequest": {
|
|
525
|
+
"type": "object",
|
|
526
|
+
"properties": {
|
|
355
527
|
"description": {
|
|
356
528
|
"type": "string"
|
|
357
529
|
}
|
|
@@ -359,5 +531,9 @@
|
|
|
359
531
|
}
|
|
360
532
|
}
|
|
361
533
|
},
|
|
362
|
-
"servers": [
|
|
534
|
+
"servers": [
|
|
535
|
+
{
|
|
536
|
+
"url": "https://environments.sls.epilot.io"
|
|
537
|
+
}
|
|
538
|
+
]
|
|
363
539
|
}
|