@itentialopensource/adapter-selector_ai 0.1.1
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/.eslintignore +5 -0
- package/.eslintrc.js +19 -0
- package/.jshintrc +3 -0
- package/AUTH.md +39 -0
- package/BROKER.md +211 -0
- package/CALLS.md +405 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +661 -0
- package/README.md +344 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +14 -0
- package/TAB1.md +8 -0
- package/TAB2.md +314 -0
- package/TROUBLESHOOT.md +56 -0
- package/UTILITIES.md +473 -0
- package/adapter.js +4039 -0
- package/adapterBase.js +1488 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/InventorySchemaCreation/action.json +24 -0
- package/entities/InventorySchemaCreation/schema.json +19 -0
- package/entities/InventorySchemaDelete/action.json +24 -0
- package/entities/InventorySchemaDelete/schema.json +19 -0
- package/entities/InventorySchemaDeleteType/action.json +24 -0
- package/entities/InventorySchemaDeleteType/schema.json +19 -0
- package/entities/InventorySchemaFileDownload/action.json +24 -0
- package/entities/InventorySchemaFileDownload/schema.json +19 -0
- package/entities/InventorySchemaFileUpload/action.json +24 -0
- package/entities/InventorySchemaFileUpload/schema.json +19 -0
- package/entities/InventorySchemaUpdate/action.json +24 -0
- package/entities/InventorySchemaUpdate/schema.json +19 -0
- package/entities/InventoryV2SchemaDeleteAll/action.json +24 -0
- package/entities/InventoryV2SchemaDeleteAll/schema.json +19 -0
- package/entities/InventoryV2SchemaDeleteType/action.json +24 -0
- package/entities/InventoryV2SchemaDeleteType/schema.json +19 -0
- package/entities/InventoryV2SchemaUpdate/action.json +24 -0
- package/entities/InventoryV2SchemaUpdate/schema.json +19 -0
- package/entities/InventoryV2SchemaUpload/action.json +24 -0
- package/entities/InventoryV2SchemaUpload/schema.json +19 -0
- package/entities/MetastoreInventoryBulkDataUpload/action.json +24 -0
- package/entities/MetastoreInventoryBulkDataUpload/schema.json +19 -0
- package/entities/MetastoreInventoryCSVDataUpload/action.json +24 -0
- package/entities/MetastoreInventoryCSVDataUpload/schema.json +19 -0
- package/entities/MetastoreInventoryCsvFileExport/action.json +25 -0
- package/entities/MetastoreInventoryCsvFileExport/schema.json +19 -0
- package/entities/MetastoreInventoryDataDelete/action.json +24 -0
- package/entities/MetastoreInventoryDataDelete/schema.json +19 -0
- package/entities/MetastoreInventoryDataDownload/action.json +46 -0
- package/entities/MetastoreInventoryDataDownload/schema.json +20 -0
- package/entities/MetastoreInventoryDataEdit/action.json +24 -0
- package/entities/MetastoreInventoryDataEdit/schema.json +19 -0
- package/entities/MetastoreInventoryDataUpload/action.json +24 -0
- package/entities/MetastoreInventoryDataUpload/schema.json +19 -0
- package/entities/MetastoreInventoryFilesExport/action.json +24 -0
- package/entities/MetastoreInventoryFilesExport/schema.json +19 -0
- package/entities/MetastoreInventoryFilesImport/action.json +24 -0
- package/entities/MetastoreInventoryFilesImport/schema.json +30 -0
- package/entities/MetastoreInventoryItems/action.json +25 -0
- package/entities/MetastoreInventoryItems/schema.json +19 -0
- package/entities/MetastoreInventoryNameDelete/action.json +24 -0
- package/entities/MetastoreInventoryNameDelete/schema.json +19 -0
- package/entities/MetastoreInventoryNameUpdate/action.json +24 -0
- package/entities/MetastoreInventoryNameUpdate/schema.json +19 -0
- package/entities/MetastoreInventoryNameUpload/action.json +24 -0
- package/entities/MetastoreInventoryNameUpload/schema.json +19 -0
- package/entities/MetastoreInventoryNamesDownload/action.json +25 -0
- package/entities/MetastoreInventoryNamesDownload/schema.json +19 -0
- package/entities/MetastoreInventorySchemaGet/action.json +25 -0
- package/entities/MetastoreInventorySchemaGet/schema.json +19 -0
- package/entities/MetastoreInventorySystem/action.json +130 -0
- package/entities/MetastoreInventorySystem/schema.json +24 -0
- package/entities/MetastoreV2InventorySchemaGet/action.json +25 -0
- package/entities/MetastoreV2InventorySchemaGet/schema.json +19 -0
- package/error.json +190 -0
- package/metadata.json +58 -0
- package/package.json +77 -0
- package/pronghorn.json +2508 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1635 -0
- package/report/adapterInfo.json +10 -0
- package/report/auto-adapter-openapi.json +1330 -0
- package/report/creationReport.json +765 -0
- package/report/metastore-inventory-manager.yaml-OpenApi3Json.json +2366 -0
- package/sampleProperties.json +260 -0
- package/test/integration/adapterTestBasicGet.js +117 -0
- package/test/integration/adapterTestConnectivity.js +117 -0
- package/test/integration/adapterTestIntegration.js +1295 -0
- package/test/unit/adapterBaseTestUnit.js +1626 -0
- package/test/unit/adapterTestUnit.js +2288 -0
- package/utils/adapterInfo.js +156 -0
- package/utils/argParser.js +44 -0
- package/utils/checkMigrate.js +102 -0
- package/utils/entitiesToDB.js +190 -0
- package/utils/findPath.js +74 -0
- package/utils/logger.js +26 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +153 -0
- package/utils/mongoDbConnection.js +79 -0
- package/utils/mongoUtils.js +162 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +308 -0
- package/utils/tbScript.js +103 -0
- package/utils/tbUtils.js +347 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +177 -0
- package/utils/updateAdapterConfig.js +158 -0
|
@@ -0,0 +1,2366 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "Selector AI Metastore Inventory",
|
|
5
|
+
"description": "Selector Software Metastore Inventory OpenAPI 3.0",
|
|
6
|
+
"contact": {
|
|
7
|
+
"name": "Selector AI",
|
|
8
|
+
"url": "http://www.selector.ai",
|
|
9
|
+
"email": "info@selector.ai"
|
|
10
|
+
},
|
|
11
|
+
"version": "1.0.0"
|
|
12
|
+
},
|
|
13
|
+
"servers": [
|
|
14
|
+
{
|
|
15
|
+
"url": "https://demo2.selector.ai/api/inventory-manager/",
|
|
16
|
+
"variables": {}
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"paths": {
|
|
20
|
+
"/v1/inventory": {
|
|
21
|
+
"get": {
|
|
22
|
+
"tags": [
|
|
23
|
+
"Metastore Inventory Names Download"
|
|
24
|
+
],
|
|
25
|
+
"security": [{"bearerAuth": []}],
|
|
26
|
+
"summary": "Get_all_inventory_v1_inventory_get",
|
|
27
|
+
"description": "The Api returns current metastore inventory names in the form of a json object. \n\nThe response section of the json contains a list of metastore inventory objects which has 2 keys:\n- **type**: The type of the Metastore inventory object\n- **name**: The name of the Metastore inventory object\n",
|
|
28
|
+
"operationId": "Get_all_inventory_v1_inventory_get",
|
|
29
|
+
"parameters": [],
|
|
30
|
+
"responses": {
|
|
31
|
+
"200": {
|
|
32
|
+
"description": "Successful Response",
|
|
33
|
+
"headers": {},
|
|
34
|
+
"content": {
|
|
35
|
+
"application/json": {
|
|
36
|
+
"schema": {
|
|
37
|
+
"$ref": "#/components/schemas/ResponseInventory"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"deprecated": false
|
|
44
|
+
},
|
|
45
|
+
"post": {
|
|
46
|
+
"tags": [
|
|
47
|
+
"Metastore Inventory Name Upload"
|
|
48
|
+
],
|
|
49
|
+
"summary": "Inventory_creation_v1_inventory_post",
|
|
50
|
+
"description": "Executes a post operation to the API to create a new inventory name in the metasore",
|
|
51
|
+
"operationId": "Inventory_creation_v1_inventory_post",
|
|
52
|
+
"parameters": [],
|
|
53
|
+
"requestBody": {
|
|
54
|
+
"description": "",
|
|
55
|
+
"content": {
|
|
56
|
+
"application/json": {
|
|
57
|
+
"schema": {
|
|
58
|
+
"$ref": "#/components/schemas/InventoryItemCreate"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": true
|
|
63
|
+
},
|
|
64
|
+
"responses": {
|
|
65
|
+
"201": {
|
|
66
|
+
"description": "Successful Response",
|
|
67
|
+
"headers": {},
|
|
68
|
+
"content": {
|
|
69
|
+
"application/json": {
|
|
70
|
+
"schema": {
|
|
71
|
+
"$ref": "#/components/schemas/ResponseMessage"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"404": {
|
|
77
|
+
"description": "Inventory schema not found",
|
|
78
|
+
"headers": {},
|
|
79
|
+
"content": {
|
|
80
|
+
"application/json": {
|
|
81
|
+
"schema": {
|
|
82
|
+
"$ref": "#/components/schemas/UploadInventorySchemaNotFound"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"409": {
|
|
88
|
+
"description": "Inventory already exist",
|
|
89
|
+
"headers": {},
|
|
90
|
+
"content": {
|
|
91
|
+
"application/json": {
|
|
92
|
+
"schema": {
|
|
93
|
+
"$ref": "#/components/schemas/UploadInventoryExist"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"422": {
|
|
99
|
+
"description": "Validation Error",
|
|
100
|
+
"headers": {},
|
|
101
|
+
"content": {
|
|
102
|
+
"application/json": {
|
|
103
|
+
"schema": {
|
|
104
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"deprecated": false
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"/v1/inventory/{name}": {
|
|
114
|
+
"put": {
|
|
115
|
+
"tags": [
|
|
116
|
+
"Metastore Inventory Name Update"
|
|
117
|
+
],
|
|
118
|
+
"security": [{"bearerAuth": []}],
|
|
119
|
+
"summary": "Inventory_update_v1_inventory__name__put",
|
|
120
|
+
"description": "Executes a put operation to the API to update existing inventory tags in the metasore",
|
|
121
|
+
"operationId": "Inventory_update_v1_inventory__name__put",
|
|
122
|
+
"parameters": [
|
|
123
|
+
{
|
|
124
|
+
"name": "name",
|
|
125
|
+
"in": "path",
|
|
126
|
+
"description": "Name of the inventory to delete",
|
|
127
|
+
"required": true,
|
|
128
|
+
"style": "simple",
|
|
129
|
+
"schema": {
|
|
130
|
+
"type": "string"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"requestBody": {
|
|
135
|
+
"description": "",
|
|
136
|
+
"content": {
|
|
137
|
+
"application/json": {
|
|
138
|
+
"schema": {
|
|
139
|
+
"$ref": "#/components/schemas/InventoryItemCreate"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"required": true
|
|
144
|
+
},
|
|
145
|
+
"responses": {
|
|
146
|
+
"200": {
|
|
147
|
+
"description": "Successful Response",
|
|
148
|
+
"headers": {},
|
|
149
|
+
"content": {
|
|
150
|
+
"application/json": {
|
|
151
|
+
"schema": {
|
|
152
|
+
"$ref": "#/components/schemas/ResponseMessage"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"404": {
|
|
158
|
+
"description": "Inventory not found",
|
|
159
|
+
"headers": {},
|
|
160
|
+
"content": {
|
|
161
|
+
"application/json": {
|
|
162
|
+
"schema": {
|
|
163
|
+
"$ref": "#/components/schemas/UploadInventoryNotFound"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"422": {
|
|
169
|
+
"description": "Validation Error",
|
|
170
|
+
"headers": {},
|
|
171
|
+
"content": {
|
|
172
|
+
"application/json": {
|
|
173
|
+
"schema": {
|
|
174
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"deprecated": false
|
|
181
|
+
},
|
|
182
|
+
"delete": {
|
|
183
|
+
"tags": [
|
|
184
|
+
"Metastore Inventory Name Delete"
|
|
185
|
+
],
|
|
186
|
+
"summary": "Deleting_Specific_Inventory_v1_inventory__name__delete",
|
|
187
|
+
"description": "Executes a delete operation through the API to delete an inventory in the metasore",
|
|
188
|
+
"operationId": "Deleting_Specific_Inventory_v1_inventory__name__delete",
|
|
189
|
+
"parameters": [
|
|
190
|
+
{
|
|
191
|
+
"name": "name",
|
|
192
|
+
"in": "path",
|
|
193
|
+
"description": "Name of the inventory to delete",
|
|
194
|
+
"required": true,
|
|
195
|
+
"style": "simple",
|
|
196
|
+
"schema": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"responses": {
|
|
202
|
+
"200": {
|
|
203
|
+
"description": "Successful Response",
|
|
204
|
+
"headers": {},
|
|
205
|
+
"content": {
|
|
206
|
+
"application/json": {
|
|
207
|
+
"schema": {
|
|
208
|
+
"$ref": "#/components/schemas/ResponseMessage"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"404": {
|
|
214
|
+
"description": "Inventory not found",
|
|
215
|
+
"headers": {},
|
|
216
|
+
"content": {
|
|
217
|
+
"application/json": {
|
|
218
|
+
"schema": {
|
|
219
|
+
"$ref": "#/components/schemas/UploadInventoryNotFound"
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"422": {
|
|
225
|
+
"description": "Validation Error",
|
|
226
|
+
"headers": {},
|
|
227
|
+
"content": {
|
|
228
|
+
"application/json": {
|
|
229
|
+
"schema": {
|
|
230
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"deprecated": false
|
|
237
|
+
},
|
|
238
|
+
"get": {
|
|
239
|
+
"tags": [
|
|
240
|
+
"Metastore Inventory Data Download"
|
|
241
|
+
],
|
|
242
|
+
"summary": "Inventory_Item_get_v1_inventory__name__get",
|
|
243
|
+
"description": "The Api returns inventory data of the inventory name provided in the API endpoint in the form of a list of jsons. \n\nThe response section of the json contains a list of jsons which map the column name to a value along with an extra key named **ID**. \n\nThe **ID** key is unique for all the elements in the inventory and we need to use this for all **row specific operations**.\n",
|
|
244
|
+
"operationId": "Inventory_Item_get_v1_inventory__name__get",
|
|
245
|
+
"parameters": [
|
|
246
|
+
{
|
|
247
|
+
"name": "name",
|
|
248
|
+
"in": "path",
|
|
249
|
+
"description": "",
|
|
250
|
+
"required": true,
|
|
251
|
+
"style": "simple",
|
|
252
|
+
"schema": {
|
|
253
|
+
"type": "string"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "pattern",
|
|
258
|
+
"in": "query",
|
|
259
|
+
"description": "",
|
|
260
|
+
"style": "form",
|
|
261
|
+
"explode": true,
|
|
262
|
+
"schema": {
|
|
263
|
+
"type": "string"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"responses": {
|
|
268
|
+
"200": {
|
|
269
|
+
"description": "Successful Response",
|
|
270
|
+
"headers": {},
|
|
271
|
+
"content": {
|
|
272
|
+
"application/json": {
|
|
273
|
+
"schema": {
|
|
274
|
+
"type": "array",
|
|
275
|
+
"items": {
|
|
276
|
+
"type": "string"
|
|
277
|
+
},
|
|
278
|
+
"description": ""
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"404": {
|
|
284
|
+
"description": "Inventory not found",
|
|
285
|
+
"headers": {},
|
|
286
|
+
"content": {
|
|
287
|
+
"application/json": {
|
|
288
|
+
"schema": {
|
|
289
|
+
"$ref": "#/components/schemas/UploadInventoryNotFound"
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"422": {
|
|
295
|
+
"description": "Validation Error",
|
|
296
|
+
"headers": {},
|
|
297
|
+
"content": {
|
|
298
|
+
"application/json": {
|
|
299
|
+
"schema": {
|
|
300
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"deprecated": false
|
|
307
|
+
},
|
|
308
|
+
"post": {
|
|
309
|
+
"tags": [
|
|
310
|
+
"Metastore Inventory Data Upload"
|
|
311
|
+
],
|
|
312
|
+
"summary": "Inventory_Item_creation_v1_inventory__name__post",
|
|
313
|
+
"description": "Executes a post operation through the API to upload a row from an inventory table in the metasore",
|
|
314
|
+
"operationId": "Inventory_Item_creation_v1_inventory__name__post",
|
|
315
|
+
"parameters": [
|
|
316
|
+
{
|
|
317
|
+
"name": "name",
|
|
318
|
+
"in": "path",
|
|
319
|
+
"description": "",
|
|
320
|
+
"required": true,
|
|
321
|
+
"style": "simple",
|
|
322
|
+
"schema": {
|
|
323
|
+
"type": "string"
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"requestBody": {
|
|
328
|
+
"description": "",
|
|
329
|
+
"content": {
|
|
330
|
+
"application/json": {
|
|
331
|
+
"schema": {
|
|
332
|
+
"type": "object",
|
|
333
|
+
"additionalProperties": {
|
|
334
|
+
"type": "string"
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"required": true
|
|
340
|
+
},
|
|
341
|
+
"responses": {
|
|
342
|
+
"201": {
|
|
343
|
+
"description": "Successful Response",
|
|
344
|
+
"headers": {},
|
|
345
|
+
"content": {
|
|
346
|
+
"application/json": {
|
|
347
|
+
"schema": {
|
|
348
|
+
"$ref": "#/components/schemas/ResponseDataMessage"
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"404": {
|
|
354
|
+
"description": "Inventory not found",
|
|
355
|
+
"headers": {},
|
|
356
|
+
"content": {
|
|
357
|
+
"application/json": {
|
|
358
|
+
"schema": {
|
|
359
|
+
"$ref": "#/components/schemas/UploadInventoryNotFound"
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"422": {
|
|
365
|
+
"description": "Validation Error",
|
|
366
|
+
"headers": {},
|
|
367
|
+
"content": {
|
|
368
|
+
"application/json": {
|
|
369
|
+
"schema": {
|
|
370
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"deprecated": false
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"/v1/inventory/{name}/{id}": {
|
|
380
|
+
"get": {
|
|
381
|
+
"tags": [
|
|
382
|
+
"Metastore Inventory Data Download"
|
|
383
|
+
],
|
|
384
|
+
"security": [{"bearerAuth": []}],
|
|
385
|
+
"summary": "Inventory_Item_get_v1_inventory__name___id__get",
|
|
386
|
+
"description": "The Api returns inventory data of the inventory name and ID provided in the API endpoint in the form of a json. \n\nThe response section of the json contains a list of jsons which map the column name to a value along with an extra key named **ID**. \n\nThe **ID** key is unique for all the elements in the inventory and we need to use this for all **row specific operations**.\n",
|
|
387
|
+
"operationId": "Inventory_Item_get_v1_inventory__name___id__get",
|
|
388
|
+
"parameters": [
|
|
389
|
+
{
|
|
390
|
+
"name": "name",
|
|
391
|
+
"in": "path",
|
|
392
|
+
"description": "",
|
|
393
|
+
"required": true,
|
|
394
|
+
"style": "simple",
|
|
395
|
+
"schema": {
|
|
396
|
+
"type": "string"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "id",
|
|
401
|
+
"in": "path",
|
|
402
|
+
"description": "",
|
|
403
|
+
"required": true,
|
|
404
|
+
"style": "simple",
|
|
405
|
+
"schema": {
|
|
406
|
+
"type": "string"
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
],
|
|
410
|
+
"responses": {
|
|
411
|
+
"200": {
|
|
412
|
+
"description": "Successful Response",
|
|
413
|
+
"headers": {},
|
|
414
|
+
"content": {
|
|
415
|
+
"application/json": {
|
|
416
|
+
"schema": {
|
|
417
|
+
"type": "array",
|
|
418
|
+
"items": {
|
|
419
|
+
"type": "string"
|
|
420
|
+
},
|
|
421
|
+
"description": ""
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"404": {
|
|
427
|
+
"description": "Inventory entry not found",
|
|
428
|
+
"headers": {},
|
|
429
|
+
"content": {
|
|
430
|
+
"application/json": {
|
|
431
|
+
"schema": {
|
|
432
|
+
"$ref": "#/components/schemas/UploadInventoryEntryNotFound"
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
"422": {
|
|
438
|
+
"description": "Validation Error",
|
|
439
|
+
"headers": {},
|
|
440
|
+
"content": {
|
|
441
|
+
"application/json": {
|
|
442
|
+
"schema": {
|
|
443
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"deprecated": false
|
|
450
|
+
},
|
|
451
|
+
"put": {
|
|
452
|
+
"tags": [
|
|
453
|
+
"Metastore Inventory Data Edit"
|
|
454
|
+
],
|
|
455
|
+
"summary": "Inventory_Item_creation_v1_inventory__name___id__put",
|
|
456
|
+
"description": "Executes a put operation through the API to edit a row in the metasore",
|
|
457
|
+
"operationId": "Inventory_Item_creation_v1_inventory__name___id__put",
|
|
458
|
+
"parameters": [
|
|
459
|
+
{
|
|
460
|
+
"name": "name",
|
|
461
|
+
"in": "path",
|
|
462
|
+
"description": "",
|
|
463
|
+
"required": true,
|
|
464
|
+
"style": "simple",
|
|
465
|
+
"schema": {
|
|
466
|
+
"type": "string"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "id",
|
|
471
|
+
"in": "path",
|
|
472
|
+
"description": "",
|
|
473
|
+
"required": true,
|
|
474
|
+
"style": "simple",
|
|
475
|
+
"schema": {
|
|
476
|
+
"type": "string"
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
],
|
|
480
|
+
"requestBody": {
|
|
481
|
+
"description": "",
|
|
482
|
+
"content": {
|
|
483
|
+
"application/json": {
|
|
484
|
+
"schema": {
|
|
485
|
+
"type": "object",
|
|
486
|
+
"additionalProperties": {
|
|
487
|
+
"type": "string"
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"required": true
|
|
493
|
+
},
|
|
494
|
+
"responses": {
|
|
495
|
+
"200": {
|
|
496
|
+
"description": "Successful Response",
|
|
497
|
+
"headers": {},
|
|
498
|
+
"content": {
|
|
499
|
+
"application/json": {
|
|
500
|
+
"schema": {
|
|
501
|
+
"$ref": "#/components/schemas/ResponseDataMessage"
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"404": {
|
|
507
|
+
"description": "Inventory entry not found",
|
|
508
|
+
"headers": {},
|
|
509
|
+
"content": {
|
|
510
|
+
"application/json": {
|
|
511
|
+
"schema": {
|
|
512
|
+
"$ref": "#/components/schemas/UploadInventoryEntryNotFound"
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
"422": {
|
|
518
|
+
"description": "Validation Error",
|
|
519
|
+
"headers": {},
|
|
520
|
+
"content": {
|
|
521
|
+
"application/json": {
|
|
522
|
+
"schema": {
|
|
523
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
"deprecated": false
|
|
530
|
+
},
|
|
531
|
+
"delete": {
|
|
532
|
+
"tags": [
|
|
533
|
+
"Metastore Inventory Data Delete"
|
|
534
|
+
],
|
|
535
|
+
"summary": "Inventory_Item_deletion_v1_inventory__name___id__delete",
|
|
536
|
+
"description": "Executes a delete operation through the API to delete a row from an inventory table in the metasore",
|
|
537
|
+
"operationId": "Inventory_Item_deletion_v1_inventory__name___id__delete",
|
|
538
|
+
"parameters": [
|
|
539
|
+
{
|
|
540
|
+
"name": "name",
|
|
541
|
+
"in": "path",
|
|
542
|
+
"description": "",
|
|
543
|
+
"required": true,
|
|
544
|
+
"style": "simple",
|
|
545
|
+
"schema": {
|
|
546
|
+
"type": "string"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "id",
|
|
551
|
+
"in": "path",
|
|
552
|
+
"description": "",
|
|
553
|
+
"required": true,
|
|
554
|
+
"style": "simple",
|
|
555
|
+
"schema": {
|
|
556
|
+
"type": "string"
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
],
|
|
560
|
+
"responses": {
|
|
561
|
+
"200": {
|
|
562
|
+
"description": "Successful Response",
|
|
563
|
+
"headers": {},
|
|
564
|
+
"content": {
|
|
565
|
+
"application/json": {
|
|
566
|
+
"schema": {
|
|
567
|
+
"$ref": "#/components/schemas/ResponseDataMessage"
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
"404": {
|
|
573
|
+
"description": "Inventory entry not found",
|
|
574
|
+
"headers": {},
|
|
575
|
+
"content": {
|
|
576
|
+
"application/json": {
|
|
577
|
+
"schema": {
|
|
578
|
+
"$ref": "#/components/schemas/UploadInventoryEntryNotFound"
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
"422": {
|
|
584
|
+
"description": "Validation Error",
|
|
585
|
+
"headers": {},
|
|
586
|
+
"content": {
|
|
587
|
+
"application/json": {
|
|
588
|
+
"schema": {
|
|
589
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
"deprecated": false
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
"/v1/inventory/bulk/{name}": {
|
|
599
|
+
"post": {
|
|
600
|
+
"tags": [
|
|
601
|
+
"Metastore Inventory Bulk Data Upload"
|
|
602
|
+
],
|
|
603
|
+
"security": [{"bearerAuth": []}],
|
|
604
|
+
"summary": "Inventory_Item_creation_v1_inventory_bulk__name__post",
|
|
605
|
+
"description": "The bulk upload supports 3 operations:\n- **Merge** : This will merge the data into the exisiting metastore and no items will be deleted. Any overlap will just lead to an overlap and will overwrite that row. This can be enabled by setting the **merge flag** to **true** in the body params of the API call.\n- **Overwrite** : This will overwrite the entire metastore entries. If the **merge flag** is set to **false** the data upload will replace the entire metastore by delteing the old entires and adding only the new entries. \n- **Delete** : This will delete all the entires. If the data is **empty** array, all the entires in inventory will be deleted. \n",
|
|
606
|
+
"operationId": "Inventory_Item_creation_v1_inventory_bulk__name__post",
|
|
607
|
+
"parameters": [
|
|
608
|
+
{
|
|
609
|
+
"name": "name",
|
|
610
|
+
"in": "path",
|
|
611
|
+
"description": "",
|
|
612
|
+
"required": true,
|
|
613
|
+
"style": "simple",
|
|
614
|
+
"schema": {
|
|
615
|
+
"type": "string"
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "merge",
|
|
620
|
+
"in": "query",
|
|
621
|
+
"description": "",
|
|
622
|
+
"style": "form",
|
|
623
|
+
"explode": true,
|
|
624
|
+
"schema": {
|
|
625
|
+
"type": "boolean",
|
|
626
|
+
"default": false
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
],
|
|
630
|
+
"requestBody": {
|
|
631
|
+
"description": "",
|
|
632
|
+
"content": {
|
|
633
|
+
"application/json": {
|
|
634
|
+
"schema": {
|
|
635
|
+
"type": "array",
|
|
636
|
+
"items": {
|
|
637
|
+
"type": "object"
|
|
638
|
+
},
|
|
639
|
+
"description": ""
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
"required": true
|
|
644
|
+
},
|
|
645
|
+
"responses": {
|
|
646
|
+
"201": {
|
|
647
|
+
"description": "Successful Response",
|
|
648
|
+
"headers": {},
|
|
649
|
+
"content": {
|
|
650
|
+
"application/json": {
|
|
651
|
+
"schema": {
|
|
652
|
+
"$ref": "#/components/schemas/ResponseMessage"
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
"400": {
|
|
658
|
+
"description": "Bad request",
|
|
659
|
+
"headers": {},
|
|
660
|
+
"content": {
|
|
661
|
+
"application/json": {
|
|
662
|
+
"schema": {
|
|
663
|
+
"$ref": "#/components/schemas/BadRequestError"
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"422": {
|
|
669
|
+
"description": "Validation Error",
|
|
670
|
+
"headers": {},
|
|
671
|
+
"content": {
|
|
672
|
+
"application/json": {
|
|
673
|
+
"schema": {
|
|
674
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
"deprecated": false
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
"/v1/inventory/csv/{name}": {
|
|
684
|
+
"post": {
|
|
685
|
+
"tags": [
|
|
686
|
+
"Metastore Inventory CSV Data Upload"
|
|
687
|
+
],
|
|
688
|
+
"security": [{"bearerAuth": []}],
|
|
689
|
+
"summary": "Inventory_Item_creation_v1_inventory_csv__name__post",
|
|
690
|
+
"description": "The bulk upload supports 2 operations:\n- **Merge** : This will merge the data into the exisiting metastore and no items will be deleted. Any overlap will just lead to an overlap and will overwrite that row. This can be enabled by setting the **merge flag** to **true** in the body params of the API call.\n- **Overwrite** : This will overwrite the entire metastore entries. If the **merge flag** is set to **false** the data upload will replace the entire metastore by delteing the old entires and adding only the new entries. \n",
|
|
691
|
+
"operationId": "Inventory_Item_creation_v1_inventory_csv__name__post",
|
|
692
|
+
"parameters": [
|
|
693
|
+
{
|
|
694
|
+
"name": "name",
|
|
695
|
+
"in": "path",
|
|
696
|
+
"description": "",
|
|
697
|
+
"required": true,
|
|
698
|
+
"style": "simple",
|
|
699
|
+
"schema": {
|
|
700
|
+
"type": "string"
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "merge",
|
|
705
|
+
"in": "query",
|
|
706
|
+
"description": "",
|
|
707
|
+
"style": "form",
|
|
708
|
+
"explode": true,
|
|
709
|
+
"schema": {
|
|
710
|
+
"type": "boolean",
|
|
711
|
+
"default": false
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
],
|
|
715
|
+
"requestBody": {
|
|
716
|
+
"content": {
|
|
717
|
+
"multipart/form-data": {
|
|
718
|
+
"encoding": {},
|
|
719
|
+
"schema": {
|
|
720
|
+
"required": [
|
|
721
|
+
"file"
|
|
722
|
+
],
|
|
723
|
+
"type": "object",
|
|
724
|
+
"properties": {
|
|
725
|
+
"file": {
|
|
726
|
+
"type": "string",
|
|
727
|
+
"format": "binary"
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"required": false
|
|
734
|
+
},
|
|
735
|
+
"responses": {
|
|
736
|
+
"201": {
|
|
737
|
+
"description": "Successful Response",
|
|
738
|
+
"headers": {},
|
|
739
|
+
"content": {
|
|
740
|
+
"application/json": {
|
|
741
|
+
"schema": {
|
|
742
|
+
"$ref": "#/components/schemas/ResponseMessage"
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
"400": {
|
|
748
|
+
"description": "Bad request",
|
|
749
|
+
"headers": {},
|
|
750
|
+
"content": {
|
|
751
|
+
"application/json": {
|
|
752
|
+
"schema": {
|
|
753
|
+
"$ref": "#/components/schemas/BadRequestError"
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"422": {
|
|
759
|
+
"description": "Validation Error",
|
|
760
|
+
"headers": {},
|
|
761
|
+
"content": {
|
|
762
|
+
"application/json": {
|
|
763
|
+
"schema": {
|
|
764
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
"deprecated": false
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"/v1/inventory-items": {
|
|
774
|
+
"get": {
|
|
775
|
+
"tags": [
|
|
776
|
+
"Metastore Inventory Items"
|
|
777
|
+
],
|
|
778
|
+
"security": [{"bearerAuth": []}],
|
|
779
|
+
"summary": "Inventory_Item_get_v1_inventory_items_get",
|
|
780
|
+
"description": "Executes a get operation through the API to get all inventory data of same type",
|
|
781
|
+
"operationId": "Inventory_Item_get_v1_inventory_items_get",
|
|
782
|
+
"parameters": [
|
|
783
|
+
{
|
|
784
|
+
"name": "type",
|
|
785
|
+
"in": "query",
|
|
786
|
+
"description": "",
|
|
787
|
+
"style": "form",
|
|
788
|
+
"explode": true,
|
|
789
|
+
"schema": {
|
|
790
|
+
"type": "string"
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
],
|
|
794
|
+
"responses": {
|
|
795
|
+
"200": {
|
|
796
|
+
"description": "Successful Response",
|
|
797
|
+
"headers": {},
|
|
798
|
+
"content": {
|
|
799
|
+
"application/json": {
|
|
800
|
+
"schema": {
|
|
801
|
+
"type": "array",
|
|
802
|
+
"items": {
|
|
803
|
+
"type": "string"
|
|
804
|
+
},
|
|
805
|
+
"description": ""
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
"422": {
|
|
811
|
+
"description": "Validation Error",
|
|
812
|
+
"headers": {},
|
|
813
|
+
"content": {
|
|
814
|
+
"application/json": {
|
|
815
|
+
"schema": {
|
|
816
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"deprecated": false
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
"/v1/inventory-schema": {
|
|
826
|
+
"get": {
|
|
827
|
+
"tags": [
|
|
828
|
+
"Metastore Inventory Schema Get"
|
|
829
|
+
],
|
|
830
|
+
"security": [{"bearerAuth": []}],
|
|
831
|
+
"summary": "Get_all_inventory_v1_inventory_schema_get",
|
|
832
|
+
"description": "Executes a get operation though the API to get all inventory schemas",
|
|
833
|
+
"operationId": "Get_all_inventory_v1_inventory_schema_get",
|
|
834
|
+
"parameters": [],
|
|
835
|
+
"responses": {
|
|
836
|
+
"200": {
|
|
837
|
+
"description": "Successful Response",
|
|
838
|
+
"headers": {},
|
|
839
|
+
"content": {
|
|
840
|
+
"application/json": {
|
|
841
|
+
"schema": {
|
|
842
|
+
"$ref": "#/components/schemas/ResponseSchemaModle"
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
"deprecated": false
|
|
849
|
+
},
|
|
850
|
+
"post": {
|
|
851
|
+
"tags": [
|
|
852
|
+
"Inventory schema creation"
|
|
853
|
+
],
|
|
854
|
+
"summary": "Post_inventory_v1_inventory_schema",
|
|
855
|
+
"description": "Executes a psot operation though the API to post inventory schemas",
|
|
856
|
+
"operationId": "Post_inventory_v1_inventory_schema",
|
|
857
|
+
"parameters": [],
|
|
858
|
+
"requestBody": {
|
|
859
|
+
"content": {
|
|
860
|
+
"multipart/form-data": {
|
|
861
|
+
"encoding": {},
|
|
862
|
+
"schema": {
|
|
863
|
+
"type": "object",
|
|
864
|
+
"properties": {
|
|
865
|
+
"file": {
|
|
866
|
+
"type": "string",
|
|
867
|
+
"description": "The YAML file to be uploaded",
|
|
868
|
+
"format": "binary"
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
"required": false
|
|
875
|
+
},
|
|
876
|
+
"responses": {
|
|
877
|
+
"201": {
|
|
878
|
+
"description": "inventory schema added",
|
|
879
|
+
"headers": {},
|
|
880
|
+
"content": {
|
|
881
|
+
"application/json": {
|
|
882
|
+
"schema": {
|
|
883
|
+
"$ref": "#/components/schemas/UploadSchemaAdded"
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
"409": {
|
|
889
|
+
"description": "Inventory schema not found",
|
|
890
|
+
"headers": {},
|
|
891
|
+
"content": {
|
|
892
|
+
"application/json": {
|
|
893
|
+
"schema": {
|
|
894
|
+
"$ref": "#/components/schemas/UploadSchemaExist"
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
},
|
|
899
|
+
"422": {
|
|
900
|
+
"description": "Validation Error",
|
|
901
|
+
"headers": {},
|
|
902
|
+
"content": {
|
|
903
|
+
"application/json": {
|
|
904
|
+
"schema": {
|
|
905
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
"deprecated": false
|
|
912
|
+
},
|
|
913
|
+
"put": {
|
|
914
|
+
"tags": [
|
|
915
|
+
"Inventory schema update"
|
|
916
|
+
],
|
|
917
|
+
"summary": "Put_inventory_v1_inventory_schema",
|
|
918
|
+
"description": "Executes a put operation though the API to update inventory schemas",
|
|
919
|
+
"operationId": "Put_inventory_v1_inventory_schema",
|
|
920
|
+
"parameters": [],
|
|
921
|
+
"requestBody": {
|
|
922
|
+
"content": {
|
|
923
|
+
"multipart/form-data": {
|
|
924
|
+
"encoding": {},
|
|
925
|
+
"schema": {
|
|
926
|
+
"type": "object",
|
|
927
|
+
"properties": {
|
|
928
|
+
"file": {
|
|
929
|
+
"type": "string",
|
|
930
|
+
"description": "The YAML file to be uploaded",
|
|
931
|
+
"format": "binary"
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"required": false
|
|
938
|
+
},
|
|
939
|
+
"responses": {
|
|
940
|
+
"201": {
|
|
941
|
+
"description": "Created",
|
|
942
|
+
"headers": {},
|
|
943
|
+
"content": {
|
|
944
|
+
"application/json": {
|
|
945
|
+
"schema": {
|
|
946
|
+
"$ref": "#/components/schemas/UploadSchemaUpdated"
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
"404": {
|
|
952
|
+
"description": "Inventory schema not found",
|
|
953
|
+
"headers": {},
|
|
954
|
+
"content": {
|
|
955
|
+
"application/json": {
|
|
956
|
+
"schema": {
|
|
957
|
+
"$ref": "#/components/schemas/UploadSchemaDoesNotExist"
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
"422": {
|
|
963
|
+
"description": "Validation Error",
|
|
964
|
+
"headers": {},
|
|
965
|
+
"content": {
|
|
966
|
+
"application/json": {
|
|
967
|
+
"schema": {
|
|
968
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
},
|
|
974
|
+
"deprecated": false
|
|
975
|
+
},
|
|
976
|
+
"delete": {
|
|
977
|
+
"tags": [
|
|
978
|
+
"Inventory Schema Delete"
|
|
979
|
+
],
|
|
980
|
+
"summary": "Process inventory schema delete",
|
|
981
|
+
"description": "Executes a delete operation though the API to delete all inventory schemas",
|
|
982
|
+
"operationId": "Processinventoryschemadelete",
|
|
983
|
+
"parameters": [],
|
|
984
|
+
"responses": {
|
|
985
|
+
"200": {
|
|
986
|
+
"description": "Successful response",
|
|
987
|
+
"headers": {},
|
|
988
|
+
"content": {
|
|
989
|
+
"application/json": {
|
|
990
|
+
"schema": {
|
|
991
|
+
"$ref": "#/components/schemas/InventoryResponseString"
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
"404": {
|
|
997
|
+
"description": "Inventory schema not found",
|
|
998
|
+
"headers": {},
|
|
999
|
+
"content": {
|
|
1000
|
+
"application/json": {
|
|
1001
|
+
"schema": {
|
|
1002
|
+
"$ref": "#/components/schemas/UploadSchemaExist"
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
"deprecated": false
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
"/v1/inventory-schema/{type}": {
|
|
1012
|
+
"delete": {
|
|
1013
|
+
"tags": [
|
|
1014
|
+
"Inventory Schema Delete Type"
|
|
1015
|
+
],
|
|
1016
|
+
"security": [{"bearerAuth": []}],
|
|
1017
|
+
"summary": "Process inventory schema delete",
|
|
1018
|
+
"description": "Executes a delete operation though the API to delete specific inventory schemas",
|
|
1019
|
+
"operationId": "DeleteProcessinventoryschemadelete",
|
|
1020
|
+
"parameters": [
|
|
1021
|
+
{
|
|
1022
|
+
"name": "type",
|
|
1023
|
+
"in": "path",
|
|
1024
|
+
"description": "",
|
|
1025
|
+
"required": true,
|
|
1026
|
+
"style": "simple",
|
|
1027
|
+
"schema": {
|
|
1028
|
+
"type": "string"
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
],
|
|
1032
|
+
"responses": {
|
|
1033
|
+
"200": {
|
|
1034
|
+
"description": "Successful response",
|
|
1035
|
+
"headers": {},
|
|
1036
|
+
"content": {
|
|
1037
|
+
"application/json": {
|
|
1038
|
+
"schema": {
|
|
1039
|
+
"$ref": "#/components/schemas/InventoryResponseString"
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"404": {
|
|
1045
|
+
"description": "Inventory schema not found",
|
|
1046
|
+
"headers": {},
|
|
1047
|
+
"content": {
|
|
1048
|
+
"application/json": {
|
|
1049
|
+
"schema": {
|
|
1050
|
+
"$ref": "#/components/schemas/UploadSchemaExist"
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
"deprecated": false
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1059
|
+
"/v2/inventory-schema": {
|
|
1060
|
+
"get": {
|
|
1061
|
+
"tags": [
|
|
1062
|
+
"Metastore V2 Inventory Schema Get"
|
|
1063
|
+
],
|
|
1064
|
+
"security": [{"bearerAuth": []}],
|
|
1065
|
+
"summary": "Gets All Inventory schema",
|
|
1066
|
+
"description": "Executes a get operation though the API to get all inventory schemas",
|
|
1067
|
+
"operationId": "GetsAllInventoryschema",
|
|
1068
|
+
"parameters": [],
|
|
1069
|
+
"responses": {
|
|
1070
|
+
"200": {
|
|
1071
|
+
"description": "Successful Response",
|
|
1072
|
+
"headers": {},
|
|
1073
|
+
"content": {
|
|
1074
|
+
"application/json": {
|
|
1075
|
+
"schema": {
|
|
1076
|
+
"type": "array",
|
|
1077
|
+
"items": {
|
|
1078
|
+
"$ref": "#/components/schemas/InventorySchemaRequest"
|
|
1079
|
+
},
|
|
1080
|
+
"description": ""
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
},
|
|
1086
|
+
"deprecated": false
|
|
1087
|
+
},
|
|
1088
|
+
"post": {
|
|
1089
|
+
"tags": [
|
|
1090
|
+
"Inventory V2 Schema Upload"
|
|
1091
|
+
],
|
|
1092
|
+
"summary": "Process inventory schema JSON input",
|
|
1093
|
+
"description": "Executes a post operation though the API to post inventory schemas",
|
|
1094
|
+
"operationId": "ProcessinventoryschemaJSONinput",
|
|
1095
|
+
"parameters": [],
|
|
1096
|
+
"requestBody": {
|
|
1097
|
+
"description": "",
|
|
1098
|
+
"content": {
|
|
1099
|
+
"application/json": {
|
|
1100
|
+
"schema": {
|
|
1101
|
+
"$ref": "#/components/schemas/InventorySchemaRequest"
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
},
|
|
1105
|
+
"required": true
|
|
1106
|
+
},
|
|
1107
|
+
"responses": {
|
|
1108
|
+
"201": {
|
|
1109
|
+
"description": "Inventory schema created",
|
|
1110
|
+
"headers": {},
|
|
1111
|
+
"content": {
|
|
1112
|
+
"application/json": {
|
|
1113
|
+
"schema": {
|
|
1114
|
+
"$ref": "#/components/schemas/InventoryResponse"
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
"409": {
|
|
1120
|
+
"description": "Inventory schema exist",
|
|
1121
|
+
"headers": {},
|
|
1122
|
+
"content": {
|
|
1123
|
+
"application/json": {
|
|
1124
|
+
"schema": {
|
|
1125
|
+
"$ref": "#/components/schemas/UploadSchemaExist"
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
"422": {
|
|
1131
|
+
"description": "Validation Error",
|
|
1132
|
+
"headers": {},
|
|
1133
|
+
"content": {
|
|
1134
|
+
"application/json": {
|
|
1135
|
+
"schema": {
|
|
1136
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
"deprecated": false
|
|
1143
|
+
},
|
|
1144
|
+
"delete": {
|
|
1145
|
+
"tags": [
|
|
1146
|
+
"Inventory V2 Schema Delete All"
|
|
1147
|
+
],
|
|
1148
|
+
"summary": "Process inventory schema delete",
|
|
1149
|
+
"description": "Executes a delete operation though the API to delete all inventory schemas",
|
|
1150
|
+
"operationId": "DeleteProcessinventoryschemadelete1",
|
|
1151
|
+
"parameters": [],
|
|
1152
|
+
"responses": {
|
|
1153
|
+
"200": {
|
|
1154
|
+
"description": "Successful response",
|
|
1155
|
+
"headers": {},
|
|
1156
|
+
"content": {
|
|
1157
|
+
"application/json": {
|
|
1158
|
+
"schema": {
|
|
1159
|
+
"$ref": "#/components/schemas/InventoryResponseString"
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
"404": {
|
|
1165
|
+
"description": "Inventory schema not found",
|
|
1166
|
+
"headers": {},
|
|
1167
|
+
"content": {
|
|
1168
|
+
"application/json": {
|
|
1169
|
+
"schema": {
|
|
1170
|
+
"$ref": "#/components/schemas/UploadSchemaExist"
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
"deprecated": false
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
"/v2/inventory-schema/{type}": {
|
|
1180
|
+
"put": {
|
|
1181
|
+
"tags": [
|
|
1182
|
+
"Inventory V2 Schema Update"
|
|
1183
|
+
],
|
|
1184
|
+
"security": [{"bearerAuth": []}],
|
|
1185
|
+
"summary": "Process inventory schema JSON input",
|
|
1186
|
+
"description": "Executes a put operation though the API to post inventory schemas",
|
|
1187
|
+
"operationId": "PutProcessinventoryschemaJSONinput",
|
|
1188
|
+
"parameters": [
|
|
1189
|
+
{
|
|
1190
|
+
"name": "type",
|
|
1191
|
+
"in": "path",
|
|
1192
|
+
"description": "",
|
|
1193
|
+
"required": true,
|
|
1194
|
+
"style": "simple",
|
|
1195
|
+
"schema": {
|
|
1196
|
+
"type": "string"
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
],
|
|
1200
|
+
"requestBody": {
|
|
1201
|
+
"description": "",
|
|
1202
|
+
"content": {
|
|
1203
|
+
"application/json": {
|
|
1204
|
+
"schema": {
|
|
1205
|
+
"$ref": "#/components/schemas/InventorySchemaPutRequest"
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
},
|
|
1209
|
+
"required": true
|
|
1210
|
+
},
|
|
1211
|
+
"responses": {
|
|
1212
|
+
"200": {
|
|
1213
|
+
"description": "Inventory schema updated",
|
|
1214
|
+
"headers": {},
|
|
1215
|
+
"content": {
|
|
1216
|
+
"application/json": {
|
|
1217
|
+
"schema": {
|
|
1218
|
+
"$ref": "#/components/schemas/InventoryResponse"
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"404": {
|
|
1224
|
+
"description": "Inventory schema not found",
|
|
1225
|
+
"headers": {},
|
|
1226
|
+
"content": {
|
|
1227
|
+
"application/json": {
|
|
1228
|
+
"schema": {
|
|
1229
|
+
"$ref": "#/components/schemas/UploadSchemaExist"
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
},
|
|
1234
|
+
"422": {
|
|
1235
|
+
"description": "Validation Error",
|
|
1236
|
+
"headers": {},
|
|
1237
|
+
"content": {
|
|
1238
|
+
"application/json": {
|
|
1239
|
+
"schema": {
|
|
1240
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"deprecated": false
|
|
1247
|
+
},
|
|
1248
|
+
"delete": {
|
|
1249
|
+
"tags": [
|
|
1250
|
+
"Inventory V2 Schema Delete Type"
|
|
1251
|
+
],
|
|
1252
|
+
"summary": "Process inventory schema delete",
|
|
1253
|
+
"description": "Executes a delete operation though the API to delete specific inventory schemas",
|
|
1254
|
+
"operationId": "DeleteProcessinventoryschemadelete2",
|
|
1255
|
+
"parameters": [
|
|
1256
|
+
{
|
|
1257
|
+
"name": "type",
|
|
1258
|
+
"in": "path",
|
|
1259
|
+
"description": "",
|
|
1260
|
+
"required": true,
|
|
1261
|
+
"style": "simple",
|
|
1262
|
+
"schema": {
|
|
1263
|
+
"type": "string"
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
],
|
|
1267
|
+
"responses": {
|
|
1268
|
+
"200": {
|
|
1269
|
+
"description": "Successful response",
|
|
1270
|
+
"headers": {},
|
|
1271
|
+
"content": {
|
|
1272
|
+
"application/json": {
|
|
1273
|
+
"schema": {
|
|
1274
|
+
"$ref": "#/components/schemas/InventoryResponseString"
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
1279
|
+
"404": {
|
|
1280
|
+
"description": "Inventory schema not found",
|
|
1281
|
+
"headers": {},
|
|
1282
|
+
"content": {
|
|
1283
|
+
"application/json": {
|
|
1284
|
+
"schema": {
|
|
1285
|
+
"$ref": "#/components/schemas/UploadSchemaExist"
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
"deprecated": false
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
"/v1/inventory-schema-files/import": {
|
|
1295
|
+
"post": {
|
|
1296
|
+
"tags": [
|
|
1297
|
+
"Inventory Schema File Upload"
|
|
1298
|
+
],
|
|
1299
|
+
"security": [{"bearerAuth": []}],
|
|
1300
|
+
"summary": "Porcess upload JSON file",
|
|
1301
|
+
"description": "Executes a post operation though the API to upload inventory schema file",
|
|
1302
|
+
"operationId": "PorcessuploadJSONfile",
|
|
1303
|
+
"parameters": [
|
|
1304
|
+
{
|
|
1305
|
+
"name": "encodeType",
|
|
1306
|
+
"in": "query",
|
|
1307
|
+
"description": "",
|
|
1308
|
+
"style": "form",
|
|
1309
|
+
"explode": true,
|
|
1310
|
+
"schema": {
|
|
1311
|
+
"$ref": "#/components/schemas/Typeofencodejsoncsv"
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
],
|
|
1315
|
+
"requestBody": {
|
|
1316
|
+
"content": {
|
|
1317
|
+
"multipart/form-data": {
|
|
1318
|
+
"encoding": {},
|
|
1319
|
+
"schema": {
|
|
1320
|
+
"type": "object",
|
|
1321
|
+
"properties": {
|
|
1322
|
+
"file": {
|
|
1323
|
+
"type": "string",
|
|
1324
|
+
"format": "binary"
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1329
|
+
},
|
|
1330
|
+
"required": false
|
|
1331
|
+
},
|
|
1332
|
+
"responses": {
|
|
1333
|
+
"201": {
|
|
1334
|
+
"description": "Inventory schema created",
|
|
1335
|
+
"headers": {},
|
|
1336
|
+
"content": {
|
|
1337
|
+
"application/json": {
|
|
1338
|
+
"schema": {
|
|
1339
|
+
"$ref": "#/components/schemas/InventoryResponseString"
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
},
|
|
1344
|
+
"409": {
|
|
1345
|
+
"description": "Inventory schema exist",
|
|
1346
|
+
"headers": {},
|
|
1347
|
+
"content": {
|
|
1348
|
+
"application/json": {
|
|
1349
|
+
"schema": {
|
|
1350
|
+
"$ref": "#/components/schemas/UploadSchemaExist"
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
"422": {
|
|
1356
|
+
"description": "Validation Error",
|
|
1357
|
+
"headers": {},
|
|
1358
|
+
"content": {
|
|
1359
|
+
"application/json": {
|
|
1360
|
+
"schema": {
|
|
1361
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
"deprecated": false
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
"/v1/inventory-schema-files/export": {
|
|
1371
|
+
"post": {
|
|
1372
|
+
"tags": [
|
|
1373
|
+
"Inventory Schema File Download"
|
|
1374
|
+
],
|
|
1375
|
+
"security": [{"bearerAuth": []}],
|
|
1376
|
+
"summary": "Download inventory schema JSON file",
|
|
1377
|
+
"description": "Executes a post operation though the API to download inventory schema file",
|
|
1378
|
+
"operationId": "DownloadinventoryschemaJSONfile",
|
|
1379
|
+
"parameters": [
|
|
1380
|
+
{
|
|
1381
|
+
"name": "encodeType",
|
|
1382
|
+
"in": "query",
|
|
1383
|
+
"description": "",
|
|
1384
|
+
"style": "form",
|
|
1385
|
+
"explode": true,
|
|
1386
|
+
"schema": {
|
|
1387
|
+
"$ref": "#/components/schemas/Typeofencodejsoncsv"
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
],
|
|
1391
|
+
"requestBody": {
|
|
1392
|
+
"description": "",
|
|
1393
|
+
"content": {
|
|
1394
|
+
"application/json": {
|
|
1395
|
+
"schema": {
|
|
1396
|
+
"$ref": "#/components/schemas/InventorySchemaListExport"
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
"required": false
|
|
1401
|
+
},
|
|
1402
|
+
"responses": {
|
|
1403
|
+
"200": {
|
|
1404
|
+
"description": "Successful response returning a JSON file",
|
|
1405
|
+
"headers": {},
|
|
1406
|
+
"content": {
|
|
1407
|
+
"application/json": {
|
|
1408
|
+
"schema": {
|
|
1409
|
+
"type": "array",
|
|
1410
|
+
"items": {
|
|
1411
|
+
"$ref": "#/components/schemas/InventorySchemaRequest"
|
|
1412
|
+
},
|
|
1413
|
+
"description": ""
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
"application/octet-stream": {
|
|
1417
|
+
"schema": {
|
|
1418
|
+
"type": "string",
|
|
1419
|
+
"format": "binary"
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
},
|
|
1424
|
+
"404": {
|
|
1425
|
+
"description": "Inventory schema exist",
|
|
1426
|
+
"headers": {},
|
|
1427
|
+
"content": {
|
|
1428
|
+
"application/json": {
|
|
1429
|
+
"schema": {
|
|
1430
|
+
"$ref": "#/components/schemas/UploadSchemaDoesNotExist"
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
},
|
|
1435
|
+
"422": {
|
|
1436
|
+
"description": "Validation Error",
|
|
1437
|
+
"headers": {},
|
|
1438
|
+
"content": {
|
|
1439
|
+
"application/json": {
|
|
1440
|
+
"schema": {
|
|
1441
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
"deprecated": false
|
|
1448
|
+
}
|
|
1449
|
+
},
|
|
1450
|
+
"/v1/inventory-files/import": {
|
|
1451
|
+
"post": {
|
|
1452
|
+
"tags": [
|
|
1453
|
+
"Metastore Inventory files import"
|
|
1454
|
+
],
|
|
1455
|
+
"security": [{"bearerAuth": []}],
|
|
1456
|
+
"summary": "handle_inventory_files_post_inventory_files_import_post",
|
|
1457
|
+
"description": "Executes a post operation through the API to import inventories zip file",
|
|
1458
|
+
"operationId": "handle_inventory_files_post_inventory_files_import_post",
|
|
1459
|
+
"parameters": [
|
|
1460
|
+
{
|
|
1461
|
+
"name": "encodeType",
|
|
1462
|
+
"in": "query",
|
|
1463
|
+
"description": "",
|
|
1464
|
+
"style": "form",
|
|
1465
|
+
"explode": true,
|
|
1466
|
+
"schema": {
|
|
1467
|
+
"type": "string",
|
|
1468
|
+
"default": "None"
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
],
|
|
1472
|
+
"requestBody": {
|
|
1473
|
+
"content": {
|
|
1474
|
+
"multipart/form-data": {
|
|
1475
|
+
"encoding": {},
|
|
1476
|
+
"schema": {
|
|
1477
|
+
"type": "object",
|
|
1478
|
+
"properties": {
|
|
1479
|
+
"zip_file": {
|
|
1480
|
+
"type": "string",
|
|
1481
|
+
"format": "binary"
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
},
|
|
1487
|
+
"required": false
|
|
1488
|
+
},
|
|
1489
|
+
"responses": {
|
|
1490
|
+
"201": {
|
|
1491
|
+
"description": "Successful Response",
|
|
1492
|
+
"headers": {},
|
|
1493
|
+
"content": {
|
|
1494
|
+
"application/json": {
|
|
1495
|
+
"schema": {
|
|
1496
|
+
"$ref": "#/components/schemas/ResponseMessage"
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
"400": {
|
|
1502
|
+
"description": "Bad request",
|
|
1503
|
+
"headers": {},
|
|
1504
|
+
"content": {
|
|
1505
|
+
"application/json": {
|
|
1506
|
+
"schema": {
|
|
1507
|
+
"$ref": "#/components/schemas/BadFileRequestError"
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
},
|
|
1513
|
+
"deprecated": false
|
|
1514
|
+
}
|
|
1515
|
+
},
|
|
1516
|
+
"/v1/inventory-files/export": {
|
|
1517
|
+
"post": {
|
|
1518
|
+
"tags": [
|
|
1519
|
+
"Metastore Inventory files export"
|
|
1520
|
+
],
|
|
1521
|
+
"security": [{"bearerAuth": []}],
|
|
1522
|
+
"summary": "handle_inventory_files_get_inventory_files_export_post",
|
|
1523
|
+
"description": "Executes a post operation through the API to export inventories zip file",
|
|
1524
|
+
"operationId": "handle_inventory_files_get_inventory_files_export_post",
|
|
1525
|
+
"parameters": [
|
|
1526
|
+
{
|
|
1527
|
+
"name": "encodeType",
|
|
1528
|
+
"in": "query",
|
|
1529
|
+
"description": "",
|
|
1530
|
+
"style": "form",
|
|
1531
|
+
"explode": true,
|
|
1532
|
+
"schema": {
|
|
1533
|
+
"type": "string",
|
|
1534
|
+
"default": "json"
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1537
|
+
],
|
|
1538
|
+
"requestBody": {
|
|
1539
|
+
"description": "",
|
|
1540
|
+
"content": {
|
|
1541
|
+
"application/json": {
|
|
1542
|
+
"schema": {
|
|
1543
|
+
"$ref": "#/components/schemas/V1InventoryFilesExportRequest"
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
},
|
|
1547
|
+
"required": true
|
|
1548
|
+
},
|
|
1549
|
+
"responses": {
|
|
1550
|
+
"200": {
|
|
1551
|
+
"description": "zip file attachment",
|
|
1552
|
+
"headers": {
|
|
1553
|
+
"Content-Disposition": {
|
|
1554
|
+
"description": "Attachment information",
|
|
1555
|
+
"content": {
|
|
1556
|
+
"text/plain": {
|
|
1557
|
+
"schema": {
|
|
1558
|
+
"type": "string",
|
|
1559
|
+
"description": "Attachment information"
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
"content": {
|
|
1566
|
+
"application/zip": {
|
|
1567
|
+
"schema": {}
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1571
|
+
"400": {
|
|
1572
|
+
"description": "Bad request",
|
|
1573
|
+
"headers": {},
|
|
1574
|
+
"content": {
|
|
1575
|
+
"application/json": {
|
|
1576
|
+
"schema": {
|
|
1577
|
+
"$ref": "#/components/schemas/BadFileRequestError"
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
"deprecated": false
|
|
1584
|
+
}
|
|
1585
|
+
},
|
|
1586
|
+
"/v1/inventory-file/csv/{name}": {
|
|
1587
|
+
"get": {
|
|
1588
|
+
"tags": [
|
|
1589
|
+
"Metastore Inventory csv file export"
|
|
1590
|
+
],
|
|
1591
|
+
"security": [{"bearerAuth": []}],
|
|
1592
|
+
"summary": "handle_inventory_csv_file_get",
|
|
1593
|
+
"description": "",
|
|
1594
|
+
"operationId": "handle_inventory_csv_file_get",
|
|
1595
|
+
"parameters": [
|
|
1596
|
+
{
|
|
1597
|
+
"name": "name",
|
|
1598
|
+
"in": "path",
|
|
1599
|
+
"description": "The name of the inventory item",
|
|
1600
|
+
"required": true,
|
|
1601
|
+
"style": "simple",
|
|
1602
|
+
"schema": {
|
|
1603
|
+
"type": "string"
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
],
|
|
1607
|
+
"responses": {
|
|
1608
|
+
"200": {
|
|
1609
|
+
"description": "CSV file attachment",
|
|
1610
|
+
"headers": {
|
|
1611
|
+
"Content-Disposition": {
|
|
1612
|
+
"description": "Attachment information",
|
|
1613
|
+
"content": {
|
|
1614
|
+
"text/plain": {
|
|
1615
|
+
"schema": {
|
|
1616
|
+
"type": "string",
|
|
1617
|
+
"description": "Attachment information"
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
"content": {
|
|
1624
|
+
"application/csv": {
|
|
1625
|
+
"schema": {}
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1629
|
+
"400": {
|
|
1630
|
+
"description": "Bad request",
|
|
1631
|
+
"headers": {},
|
|
1632
|
+
"content": {
|
|
1633
|
+
"application/json": {
|
|
1634
|
+
"schema": {
|
|
1635
|
+
"$ref": "#/components/schemas/BadFileRequestError"
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
"deprecated": false
|
|
1642
|
+
}
|
|
1643
|
+
},
|
|
1644
|
+
"/": {
|
|
1645
|
+
"get": {
|
|
1646
|
+
"tags": [
|
|
1647
|
+
"Metastore Inventory system"
|
|
1648
|
+
],
|
|
1649
|
+
"summary": "home_page__get",
|
|
1650
|
+
"description": "",
|
|
1651
|
+
"operationId": "home_page__get",
|
|
1652
|
+
"parameters": [],
|
|
1653
|
+
"security": [{"bearerAuth": []}],
|
|
1654
|
+
"responses": {
|
|
1655
|
+
"200": {
|
|
1656
|
+
"description": "Successful Response",
|
|
1657
|
+
"headers": {},
|
|
1658
|
+
"content": {
|
|
1659
|
+
"text/html": {
|
|
1660
|
+
"schema": {
|
|
1661
|
+
"type": "string"
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
},
|
|
1667
|
+
"deprecated": false
|
|
1668
|
+
}
|
|
1669
|
+
},
|
|
1670
|
+
"/opstats": {
|
|
1671
|
+
"get": {
|
|
1672
|
+
"tags": [
|
|
1673
|
+
"Metastore Inventory system"
|
|
1674
|
+
],
|
|
1675
|
+
"summary": "opstats_opstats_get",
|
|
1676
|
+
"description": "Rest endpoint /opstats\nReturns service opstats",
|
|
1677
|
+
"operationId": "opstats_opstats_get",
|
|
1678
|
+
"parameters": [],
|
|
1679
|
+
"security": [{"bearerAuth": []}],
|
|
1680
|
+
"responses": {
|
|
1681
|
+
"200": {
|
|
1682
|
+
"description": "Successful Response",
|
|
1683
|
+
"headers": {},
|
|
1684
|
+
"content": {
|
|
1685
|
+
"application/json": {
|
|
1686
|
+
"schema": {}
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1691
|
+
"deprecated": false
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
"/version": {
|
|
1695
|
+
"get": {
|
|
1696
|
+
"tags": [
|
|
1697
|
+
"Metastore Inventory system"
|
|
1698
|
+
],
|
|
1699
|
+
"summary": "version_version_get",
|
|
1700
|
+
"description": "Rest endpoint /version\nReturns version info",
|
|
1701
|
+
"operationId": "version_version_get",
|
|
1702
|
+
"parameters": [],
|
|
1703
|
+
"security": [{"bearerAuth": []}],
|
|
1704
|
+
"responses": {
|
|
1705
|
+
"200": {
|
|
1706
|
+
"description": "Successful Response",
|
|
1707
|
+
"headers": {},
|
|
1708
|
+
"content": {
|
|
1709
|
+
"application/json": {
|
|
1710
|
+
"schema": {}
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
"deprecated": false
|
|
1716
|
+
}
|
|
1717
|
+
},
|
|
1718
|
+
"/config": {
|
|
1719
|
+
"get": {
|
|
1720
|
+
"tags": [
|
|
1721
|
+
"Metastore Inventory system"
|
|
1722
|
+
],
|
|
1723
|
+
"summary": "config_config_get",
|
|
1724
|
+
"description": "Rest endpoint /config",
|
|
1725
|
+
"operationId": "config_config_get",
|
|
1726
|
+
"parameters": [],
|
|
1727
|
+
"security": [{"bearerAuth": []}],
|
|
1728
|
+
"responses": {
|
|
1729
|
+
"200": {
|
|
1730
|
+
"description": "Successful Response",
|
|
1731
|
+
"headers": {},
|
|
1732
|
+
"content": {
|
|
1733
|
+
"application/json": {
|
|
1734
|
+
"schema": {}
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
"deprecated": false
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
"/health": {
|
|
1743
|
+
"get": {
|
|
1744
|
+
"tags": [
|
|
1745
|
+
"Metastore Inventory system"
|
|
1746
|
+
],
|
|
1747
|
+
"summary": "health_health_get",
|
|
1748
|
+
"description": "Rest endpoint for /health\n\nHealth status for the service",
|
|
1749
|
+
"operationId": "health_health_get",
|
|
1750
|
+
"parameters": [],
|
|
1751
|
+
"security": [{"bearerAuth": []}],
|
|
1752
|
+
"responses": {
|
|
1753
|
+
"200": {
|
|
1754
|
+
"description": "Successful Response",
|
|
1755
|
+
"headers": {},
|
|
1756
|
+
"content": {
|
|
1757
|
+
"application/json": {
|
|
1758
|
+
"schema": {}
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
"deprecated": false
|
|
1764
|
+
}
|
|
1765
|
+
},
|
|
1766
|
+
"/logs": {
|
|
1767
|
+
"get": {
|
|
1768
|
+
"tags": [
|
|
1769
|
+
"Metastore Inventory system"
|
|
1770
|
+
],
|
|
1771
|
+
"summary": "health_logs_get",
|
|
1772
|
+
"description": "Rest endpoint /logs",
|
|
1773
|
+
"operationId": "health_logs_get",
|
|
1774
|
+
"parameters": [],
|
|
1775
|
+
"security": [{"bearerAuth": []}],
|
|
1776
|
+
"responses": {
|
|
1777
|
+
"200": {
|
|
1778
|
+
"description": "Successful Response",
|
|
1779
|
+
"headers": {},
|
|
1780
|
+
"content": {
|
|
1781
|
+
"application/json": {
|
|
1782
|
+
"schema": {}
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
}
|
|
1786
|
+
},
|
|
1787
|
+
"deprecated": false
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
},
|
|
1791
|
+
"components": {
|
|
1792
|
+
"securitySchemes": {
|
|
1793
|
+
"bearerAuth": {
|
|
1794
|
+
"type": "http",
|
|
1795
|
+
"scheme": "bearer",
|
|
1796
|
+
"bearerFormat": "JWT"
|
|
1797
|
+
}
|
|
1798
|
+
},
|
|
1799
|
+
"schemas": {
|
|
1800
|
+
"Body_Inventory_Item_creation_v1_inventory_csv__name__post": {
|
|
1801
|
+
"title": "Body_Inventory_Item_creation_v1_inventory_csv__name__post",
|
|
1802
|
+
"required": [
|
|
1803
|
+
"file"
|
|
1804
|
+
],
|
|
1805
|
+
"type": "object",
|
|
1806
|
+
"properties": {
|
|
1807
|
+
"file": {
|
|
1808
|
+
"type": "string",
|
|
1809
|
+
"format": "binary"
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
"HTTPValidationError": {
|
|
1814
|
+
"title": "HTTPValidationError",
|
|
1815
|
+
"type": "object",
|
|
1816
|
+
"properties": {
|
|
1817
|
+
"detail": {
|
|
1818
|
+
"type": "array",
|
|
1819
|
+
"items": {
|
|
1820
|
+
"$ref": "#/components/schemas/ValidationError"
|
|
1821
|
+
},
|
|
1822
|
+
"description": ""
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1826
|
+
"InventoryItemCreate": {
|
|
1827
|
+
"title": "InventoryItemCreate",
|
|
1828
|
+
"required": [
|
|
1829
|
+
"name",
|
|
1830
|
+
"type"
|
|
1831
|
+
],
|
|
1832
|
+
"type": "object",
|
|
1833
|
+
"properties": {
|
|
1834
|
+
"name": {
|
|
1835
|
+
"type": "string"
|
|
1836
|
+
},
|
|
1837
|
+
"type": {
|
|
1838
|
+
"type": "string"
|
|
1839
|
+
},
|
|
1840
|
+
"tags": {
|
|
1841
|
+
"type": "array",
|
|
1842
|
+
"items": {
|
|
1843
|
+
"type": "string"
|
|
1844
|
+
},
|
|
1845
|
+
"description": ""
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
},
|
|
1849
|
+
"ResponseInventory": {
|
|
1850
|
+
"title": "ResponseInventory",
|
|
1851
|
+
"required": [
|
|
1852
|
+
"message",
|
|
1853
|
+
"response"
|
|
1854
|
+
],
|
|
1855
|
+
"type": "object",
|
|
1856
|
+
"properties": {
|
|
1857
|
+
"message": {
|
|
1858
|
+
"type": "string"
|
|
1859
|
+
},
|
|
1860
|
+
"response": {
|
|
1861
|
+
"type": "array",
|
|
1862
|
+
"items": {
|
|
1863
|
+
"$ref": "#/components/schemas/ResponseInventoryField"
|
|
1864
|
+
},
|
|
1865
|
+
"description": ""
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
"ResponseInventoryField": {
|
|
1870
|
+
"title": "ResponseInventoryField",
|
|
1871
|
+
"required": [
|
|
1872
|
+
"name",
|
|
1873
|
+
"type",
|
|
1874
|
+
"nosql",
|
|
1875
|
+
"numEntries"
|
|
1876
|
+
],
|
|
1877
|
+
"type": "object",
|
|
1878
|
+
"properties": {
|
|
1879
|
+
"name": {
|
|
1880
|
+
"type": "string"
|
|
1881
|
+
},
|
|
1882
|
+
"type": {
|
|
1883
|
+
"type": "string"
|
|
1884
|
+
},
|
|
1885
|
+
"nosql": {
|
|
1886
|
+
"type": "string"
|
|
1887
|
+
},
|
|
1888
|
+
"numEntries": {
|
|
1889
|
+
"type": "string"
|
|
1890
|
+
},
|
|
1891
|
+
"tags": {
|
|
1892
|
+
"type": "array",
|
|
1893
|
+
"items": {
|
|
1894
|
+
"type": "string"
|
|
1895
|
+
},
|
|
1896
|
+
"description": ""
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
},
|
|
1900
|
+
"ResponseMessage": {
|
|
1901
|
+
"title": "ResponseMessage",
|
|
1902
|
+
"type": "object",
|
|
1903
|
+
"properties": {
|
|
1904
|
+
"message": {
|
|
1905
|
+
"type": "string"
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1909
|
+
"ResponseSchemaField": {
|
|
1910
|
+
"title": "ResponseSchemaField",
|
|
1911
|
+
"required": [
|
|
1912
|
+
"Name",
|
|
1913
|
+
"Source"
|
|
1914
|
+
],
|
|
1915
|
+
"type": "object",
|
|
1916
|
+
"properties": {
|
|
1917
|
+
"Name": {
|
|
1918
|
+
"type": "string"
|
|
1919
|
+
},
|
|
1920
|
+
"Source": {
|
|
1921
|
+
"type": "string"
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
},
|
|
1925
|
+
"ResponseSchemaInventory": {
|
|
1926
|
+
"title": "ResponseSchemaInventory",
|
|
1927
|
+
"required": [
|
|
1928
|
+
"Type",
|
|
1929
|
+
"Keys",
|
|
1930
|
+
"Fields"
|
|
1931
|
+
],
|
|
1932
|
+
"type": "object",
|
|
1933
|
+
"properties": {
|
|
1934
|
+
"Type": {
|
|
1935
|
+
"type": "string"
|
|
1936
|
+
},
|
|
1937
|
+
"Keys": {
|
|
1938
|
+
"type": "array",
|
|
1939
|
+
"items": {
|
|
1940
|
+
"type": "string"
|
|
1941
|
+
},
|
|
1942
|
+
"description": ""
|
|
1943
|
+
},
|
|
1944
|
+
"Fields": {
|
|
1945
|
+
"type": "array",
|
|
1946
|
+
"items": {
|
|
1947
|
+
"$ref": "#/components/schemas/ResponseSchemaField"
|
|
1948
|
+
},
|
|
1949
|
+
"description": ""
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
"ResponseSchemaModle": {
|
|
1954
|
+
"title": "ResponseSchemaModle",
|
|
1955
|
+
"required": [
|
|
1956
|
+
"Inventory"
|
|
1957
|
+
],
|
|
1958
|
+
"type": "object",
|
|
1959
|
+
"properties": {
|
|
1960
|
+
"Inventory": {
|
|
1961
|
+
"type": "array",
|
|
1962
|
+
"items": {
|
|
1963
|
+
"$ref": "#/components/schemas/ResponseSchemaInventory"
|
|
1964
|
+
},
|
|
1965
|
+
"description": ""
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1968
|
+
},
|
|
1969
|
+
"ValidationError": {
|
|
1970
|
+
"title": "ValidationError",
|
|
1971
|
+
"required": [
|
|
1972
|
+
"loc",
|
|
1973
|
+
"msg",
|
|
1974
|
+
"type"
|
|
1975
|
+
],
|
|
1976
|
+
"type": "object",
|
|
1977
|
+
"properties": {
|
|
1978
|
+
"loc": {
|
|
1979
|
+
"type": "array",
|
|
1980
|
+
"items": {
|
|
1981
|
+
"type": "string"
|
|
1982
|
+
},
|
|
1983
|
+
"description": ""
|
|
1984
|
+
},
|
|
1985
|
+
"msg": {
|
|
1986
|
+
"type": "string"
|
|
1987
|
+
},
|
|
1988
|
+
"type": {
|
|
1989
|
+
"type": "string"
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
},
|
|
1993
|
+
"UploadInventoryExist": {
|
|
1994
|
+
"title": "UploadInventoryExist",
|
|
1995
|
+
"type": "object",
|
|
1996
|
+
"properties": {
|
|
1997
|
+
"message": {
|
|
1998
|
+
"type": "string",
|
|
1999
|
+
"default": "Inventory <inventory-name> already exists"
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
},
|
|
2003
|
+
"UploadInventorySchemaNotFound": {
|
|
2004
|
+
"title": "UploadInventorySchemaNotFound",
|
|
2005
|
+
"type": "object",
|
|
2006
|
+
"properties": {
|
|
2007
|
+
"message": {
|
|
2008
|
+
"type": "string",
|
|
2009
|
+
"default": "Schema get failed"
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
},
|
|
2013
|
+
"UploadInventoryNotFound": {
|
|
2014
|
+
"title": "UploadInventoryNotFound",
|
|
2015
|
+
"type": "object",
|
|
2016
|
+
"properties": {
|
|
2017
|
+
"message": {
|
|
2018
|
+
"type": "string",
|
|
2019
|
+
"default": "Table does not exist"
|
|
2020
|
+
}
|
|
2021
|
+
}
|
|
2022
|
+
},
|
|
2023
|
+
"UploadInventoryEntryNotFound": {
|
|
2024
|
+
"title": "UploadInventoryEntryNotFound",
|
|
2025
|
+
"type": "object",
|
|
2026
|
+
"properties": {
|
|
2027
|
+
"message": {
|
|
2028
|
+
"type": "string",
|
|
2029
|
+
"default": "Inventory entry does not exist"
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
},
|
|
2033
|
+
"UploadSchemaExist": {
|
|
2034
|
+
"title": "UploadSchemaExist",
|
|
2035
|
+
"type": "object",
|
|
2036
|
+
"properties": {
|
|
2037
|
+
"message": {
|
|
2038
|
+
"type": "string",
|
|
2039
|
+
"default": "inventory schema exist"
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
},
|
|
2043
|
+
"UploadSchemaDoesNotExist": {
|
|
2044
|
+
"title": "UploadSchemaDoesNotExist",
|
|
2045
|
+
"type": "object",
|
|
2046
|
+
"properties": {
|
|
2047
|
+
"message": {
|
|
2048
|
+
"type": "string",
|
|
2049
|
+
"default": "inventory schema does not exist"
|
|
2050
|
+
}
|
|
2051
|
+
}
|
|
2052
|
+
},
|
|
2053
|
+
"UploadSchemaAdded": {
|
|
2054
|
+
"title": "UploadSchemaAdded",
|
|
2055
|
+
"type": "object",
|
|
2056
|
+
"properties": {
|
|
2057
|
+
"message": {
|
|
2058
|
+
"type": "string",
|
|
2059
|
+
"default": "inventory schema added"
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2063
|
+
"UploadSchemaUpdated": {
|
|
2064
|
+
"title": "UploadSchemaUpdated",
|
|
2065
|
+
"type": "object",
|
|
2066
|
+
"properties": {
|
|
2067
|
+
"message": {
|
|
2068
|
+
"type": "string",
|
|
2069
|
+
"default": "inventory schema updated"
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
},
|
|
2073
|
+
"UploadSchemaDeleted": {
|
|
2074
|
+
"title": "UploadSchemaDeleted",
|
|
2075
|
+
"type": "object",
|
|
2076
|
+
"properties": {
|
|
2077
|
+
"message": {
|
|
2078
|
+
"type": "string",
|
|
2079
|
+
"default": "inventory schema deleted"
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2082
|
+
},
|
|
2083
|
+
"BadRequestError": {
|
|
2084
|
+
"title": "BadRequestError",
|
|
2085
|
+
"type": "object",
|
|
2086
|
+
"properties": {
|
|
2087
|
+
"message": {
|
|
2088
|
+
"type": "string",
|
|
2089
|
+
"default": "Invalid Parameters"
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2093
|
+
"BadFileRequestError": {
|
|
2094
|
+
"title": "BadFileRequestError",
|
|
2095
|
+
"type": "object",
|
|
2096
|
+
"properties": {
|
|
2097
|
+
"message": {
|
|
2098
|
+
"type": "string",
|
|
2099
|
+
"default": "Could not process zip files, inserted []"
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
},
|
|
2103
|
+
"ResponseDataMessage": {
|
|
2104
|
+
"title": "ResponseDataMessage",
|
|
2105
|
+
"type": "object",
|
|
2106
|
+
"properties": {
|
|
2107
|
+
"message": {
|
|
2108
|
+
"type": "string"
|
|
2109
|
+
},
|
|
2110
|
+
"response": {
|
|
2111
|
+
"type": "object"
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
},
|
|
2115
|
+
"InventorySchemaPutRequest": {
|
|
2116
|
+
"title": "InventorySchemaPutRequest",
|
|
2117
|
+
"required": [
|
|
2118
|
+
"fields",
|
|
2119
|
+
"keys"
|
|
2120
|
+
],
|
|
2121
|
+
"type": "object",
|
|
2122
|
+
"properties": {
|
|
2123
|
+
"fields": {
|
|
2124
|
+
"minItems": 1,
|
|
2125
|
+
"type": "array",
|
|
2126
|
+
"items": {
|
|
2127
|
+
"$ref": "#/components/schemas/FieldItem"
|
|
2128
|
+
},
|
|
2129
|
+
"description": ""
|
|
2130
|
+
},
|
|
2131
|
+
"keys": {
|
|
2132
|
+
"type": "array",
|
|
2133
|
+
"items": {
|
|
2134
|
+
"type": "string"
|
|
2135
|
+
},
|
|
2136
|
+
"description": ""
|
|
2137
|
+
},
|
|
2138
|
+
"retention_in_days": {
|
|
2139
|
+
"type": "integer",
|
|
2140
|
+
"format": "int32"
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
},
|
|
2144
|
+
"InventorySchemaRequest": {
|
|
2145
|
+
"title": "InventorySchemaRequest",
|
|
2146
|
+
"required": [
|
|
2147
|
+
"type",
|
|
2148
|
+
"fields",
|
|
2149
|
+
"keys"
|
|
2150
|
+
],
|
|
2151
|
+
"type": "object",
|
|
2152
|
+
"properties": {
|
|
2153
|
+
"type": {
|
|
2154
|
+
"type": "string"
|
|
2155
|
+
},
|
|
2156
|
+
"fields": {
|
|
2157
|
+
"minItems": 1,
|
|
2158
|
+
"type": "array",
|
|
2159
|
+
"items": {
|
|
2160
|
+
"$ref": "#/components/schemas/FieldItem"
|
|
2161
|
+
},
|
|
2162
|
+
"description": ""
|
|
2163
|
+
},
|
|
2164
|
+
"keys": {
|
|
2165
|
+
"type": "array",
|
|
2166
|
+
"items": {
|
|
2167
|
+
"type": "string"
|
|
2168
|
+
},
|
|
2169
|
+
"description": ""
|
|
2170
|
+
},
|
|
2171
|
+
"retention_in_days": {
|
|
2172
|
+
"type": "integer",
|
|
2173
|
+
"format": "int32"
|
|
2174
|
+
}
|
|
2175
|
+
}
|
|
2176
|
+
},
|
|
2177
|
+
"FieldItem": {
|
|
2178
|
+
"title": "FieldItem",
|
|
2179
|
+
"required": [
|
|
2180
|
+
"name",
|
|
2181
|
+
"source"
|
|
2182
|
+
],
|
|
2183
|
+
"type": "object",
|
|
2184
|
+
"properties": {
|
|
2185
|
+
"name": {
|
|
2186
|
+
"type": "string"
|
|
2187
|
+
},
|
|
2188
|
+
"source": {
|
|
2189
|
+
"type": "string"
|
|
2190
|
+
}
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2193
|
+
"InventoryResponse": {
|
|
2194
|
+
"title": "InventoryResponse",
|
|
2195
|
+
"required": [
|
|
2196
|
+
"message"
|
|
2197
|
+
],
|
|
2198
|
+
"type": "object",
|
|
2199
|
+
"properties": {
|
|
2200
|
+
"message": {
|
|
2201
|
+
"type": "string"
|
|
2202
|
+
},
|
|
2203
|
+
"response": {
|
|
2204
|
+
"$ref": "#/components/schemas/InventorySchemaRequest"
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
},
|
|
2208
|
+
"InventoryResponseString": {
|
|
2209
|
+
"title": "InventoryResponseString",
|
|
2210
|
+
"type": "object",
|
|
2211
|
+
"properties": {
|
|
2212
|
+
"message": {
|
|
2213
|
+
"type": "string"
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
},
|
|
2217
|
+
"InventorySchemaListExport": {
|
|
2218
|
+
"title": "InventorySchemaListExport",
|
|
2219
|
+
"type": "object",
|
|
2220
|
+
"properties": {
|
|
2221
|
+
"inventory": {
|
|
2222
|
+
"type": "array",
|
|
2223
|
+
"items": {
|
|
2224
|
+
"type": "string"
|
|
2225
|
+
},
|
|
2226
|
+
"description": ""
|
|
2227
|
+
}
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2230
|
+
"Typeofencodejsoncsv": {
|
|
2231
|
+
"title": "Typeofencodejsoncsv",
|
|
2232
|
+
"enum": [
|
|
2233
|
+
"json"
|
|
2234
|
+
],
|
|
2235
|
+
"type": "string"
|
|
2236
|
+
},
|
|
2237
|
+
"V1InventoryFilesExportRequest": {
|
|
2238
|
+
"title": "V1InventoryFilesExportRequest",
|
|
2239
|
+
"type": "object",
|
|
2240
|
+
"properties": {
|
|
2241
|
+
"inventoryList": {
|
|
2242
|
+
"type": "array",
|
|
2243
|
+
"items": {
|
|
2244
|
+
"type": "string"
|
|
2245
|
+
},
|
|
2246
|
+
"description": ""
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
},
|
|
2252
|
+
"tags": [
|
|
2253
|
+
{
|
|
2254
|
+
"name": "Metastore Inventory System",
|
|
2255
|
+
"description": "Selector Software Metastore Inventory System"
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"name": "Metastore Inventory Names Download",
|
|
2259
|
+
"description": "Selector Software Metastore Inventory Names Download"
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"name": "Metastore Inventory Name Upload",
|
|
2263
|
+
"description": "Selector Software Metastore Inventory Name Upload"
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"name": "Metastore Inventory Name Update",
|
|
2267
|
+
"description": "Selector Software Metastore Inventory Name Update"
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"name": "Metastore Inventory Name Delete",
|
|
2271
|
+
"description": "Selector Software Metastore Inventory Name Delete"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"name": "Metastore Inventory Data Download",
|
|
2275
|
+
"description": "Selector Software Metastore Inventory Data Download"
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
"name": "Metastore Inventory Data Upload",
|
|
2279
|
+
"description": "Selector Software Metastore Inventory Data Upload"
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"name": "Metastore Inventory Data Edit",
|
|
2283
|
+
"description": "Selector Software Metastore Inventory Data Edit"
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"name": "Metastore Inventory Data Delete",
|
|
2287
|
+
"description": "Selector Software Metastore Inventory Data Delete"
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"name": "Metastore Inventory Bulk Data Upload",
|
|
2291
|
+
"description": "Selector Software Metastore Inventory Bulk Data Upload"
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
"name": "Metastore Inventory CSV Data Upload",
|
|
2295
|
+
"description": "Selector Software Metastore Inventory CSV Data Upload"
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"name": "Metastore Inventory Schema",
|
|
2299
|
+
"description": "Selector Software Metastore Inventory Schema Get"
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
"name": "Metastore Inventory Items",
|
|
2303
|
+
"description": "Selector Software Metastore Inventory Items Get"
|
|
2304
|
+
},
|
|
2305
|
+
{
|
|
2306
|
+
"name": "Metastore Inventory Schema Get",
|
|
2307
|
+
"description": ""
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"name": "Inventory schema creation",
|
|
2311
|
+
"description": ""
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
"name": "Inventory schema update",
|
|
2315
|
+
"description": ""
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"name": "Inventory Schema Delete",
|
|
2319
|
+
"description": ""
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"name": "Inventory Schema Delete Type",
|
|
2323
|
+
"description": ""
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
"name": "Metastore V2 Inventory Schema Get",
|
|
2327
|
+
"description": ""
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
"name": "Inventory V2 Schema Upload",
|
|
2331
|
+
"description": ""
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
"name": "Inventory V2 Schema Delete All",
|
|
2335
|
+
"description": ""
|
|
2336
|
+
},
|
|
2337
|
+
{
|
|
2338
|
+
"name": "Inventory V2 Schema Update",
|
|
2339
|
+
"description": ""
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
"name": "Inventory V2 Schema Delete Type",
|
|
2343
|
+
"description": ""
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
"name": "Inventory Schema File Upload",
|
|
2347
|
+
"description": ""
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"name": "Inventory Schema File Download",
|
|
2351
|
+
"description": ""
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
"name": "Metastore Inventory files import",
|
|
2355
|
+
"description": ""
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
"name": "Metastore Inventory files export",
|
|
2359
|
+
"description": ""
|
|
2360
|
+
},
|
|
2361
|
+
{
|
|
2362
|
+
"name": "Metastore Inventory csv file export",
|
|
2363
|
+
"description": ""
|
|
2364
|
+
}
|
|
2365
|
+
]
|
|
2366
|
+
}
|