Skip to content

Commit 9bf2454

Browse files
1 parent 2551bf2 commit 9bf2454

File tree

1 file changed

+240
-0
lines changed

1 file changed

+240
-0
lines changed

openapi/swagger.json

Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,41 @@
183183
}
184184
}
185185
},
186+
"202": {
187+
"description": "",
188+
"content": {
189+
"application/json": {
190+
"schema": {
191+
"type": "object",
192+
"properties": {
193+
"data": {
194+
"type": "object",
195+
"properties": {
196+
"tableID": {
197+
"type": "string",
198+
"description": "ID of the table, e.g., `2a1bad8b-cf7c-44437-b8c1-e3782df6`",
199+
"example": "2a1bad8b-cf7c-44437-b8c1-e3782df6"
200+
},
201+
"jobID": {
202+
"type": "string",
203+
"description": "The ID of the job handling the table creation"
204+
}
205+
},
206+
"required": [
207+
"tableID",
208+
"jobID"
209+
],
210+
"additionalProperties": false
211+
}
212+
},
213+
"required": [
214+
"data"
215+
],
216+
"additionalProperties": false
217+
}
218+
}
219+
}
220+
},
186221
"400": {
187222
"description": "",
188223
"content": {
@@ -290,6 +325,18 @@
290325
}
291326
},
292327
"parameters": [
328+
{
329+
"name": "x-glide-asynchronous",
330+
"in": "header",
331+
"schema": {
332+
"type": "string",
333+
"enum": [
334+
"true",
335+
"false"
336+
]
337+
},
338+
"required": false
339+
},
293340
{
294341
"name": "name",
295342
"in": "query",
@@ -725,6 +772,18 @@
725772
}
726773
},
727774
"parameters": [
775+
{
776+
"name": "x-glide-asynchronous",
777+
"in": "header",
778+
"schema": {
779+
"type": "string",
780+
"enum": [
781+
"true",
782+
"false"
783+
]
784+
},
785+
"required": false
786+
},
728787
{
729788
"name": "appsToLink",
730789
"in": "query",
@@ -759,6 +818,11 @@
759818
"schema": {
760819
"type": "object",
761820
"properties": {
821+
"displayName": {
822+
"type": "string",
823+
"description": "Name of the table, e.g., `Invoices`",
824+
"example": "Invoices"
825+
},
762826
"fromUrl": {
763827
"type": "string",
764828
"format": "uri",
@@ -838,6 +902,34 @@
838902
}
839903
}
840904
},
905+
"202": {
906+
"description": "",
907+
"content": {
908+
"application/json": {
909+
"schema": {
910+
"type": "object",
911+
"properties": {
912+
"data": {
913+
"type": "object",
914+
"properties": {
915+
"workflowID": {
916+
"type": "string"
917+
}
918+
},
919+
"required": [
920+
"workflowID"
921+
],
922+
"additionalProperties": false
923+
}
924+
},
925+
"required": [
926+
"data"
927+
],
928+
"additionalProperties": false
929+
}
930+
}
931+
}
932+
},
841933
"400": {
842934
"description": "",
843935
"content": {
@@ -1016,6 +1108,18 @@
10161108
}
10171109
},
10181110
"parameters": [
1111+
{
1112+
"name": "x-glide-asynchronous",
1113+
"in": "header",
1114+
"schema": {
1115+
"type": "string",
1116+
"enum": [
1117+
"true",
1118+
"false"
1119+
]
1120+
},
1121+
"required": false
1122+
},
10191123
{
10201124
"name": "if-match",
10211125
"in": "header",
@@ -2398,6 +2502,142 @@
23982502
"description": "Deletes a row from a Big Table"
23992503
}
24002504
},
2505+
"/jobs/{jobID}": {
2506+
"get": {
2507+
"responses": {
2508+
"200": {
2509+
"description": "",
2510+
"content": {
2511+
"application/json": {
2512+
"schema": {
2513+
"type": "object",
2514+
"properties": {
2515+
"data": {
2516+
"type": "object",
2517+
"properties": {
2518+
"status": {
2519+
"type": "string",
2520+
"enum": [
2521+
"running",
2522+
"completed",
2523+
"failed"
2524+
],
2525+
"description": "The current status of the job"
2526+
},
2527+
"result": {
2528+
"description": "The result of the job, if it is completed"
2529+
},
2530+
"error": {
2531+
"type": "object",
2532+
"properties": {
2533+
"message": {
2534+
"type": "string",
2535+
"description": "A message describing the error"
2536+
}
2537+
},
2538+
"required": [
2539+
"message"
2540+
],
2541+
"additionalProperties": false,
2542+
"description": "The error information, if the job failed"
2543+
}
2544+
},
2545+
"required": [
2546+
"status"
2547+
],
2548+
"additionalProperties": false
2549+
}
2550+
},
2551+
"required": [
2552+
"data"
2553+
],
2554+
"additionalProperties": false
2555+
}
2556+
}
2557+
}
2558+
},
2559+
"400": {
2560+
"description": "",
2561+
"content": {
2562+
"application/json": {
2563+
"schema": {
2564+
"type": "object",
2565+
"properties": {
2566+
"error": {
2567+
"type": "object",
2568+
"properties": {
2569+
"type": {
2570+
"type": "string"
2571+
},
2572+
"message": {
2573+
"type": "string"
2574+
}
2575+
},
2576+
"required": [
2577+
"type",
2578+
"message"
2579+
],
2580+
"additionalProperties": false
2581+
}
2582+
},
2583+
"required": [
2584+
"error"
2585+
],
2586+
"additionalProperties": false
2587+
}
2588+
}
2589+
}
2590+
},
2591+
"404": {
2592+
"description": "",
2593+
"content": {
2594+
"application/json": {
2595+
"schema": {
2596+
"type": "object",
2597+
"properties": {
2598+
"error": {
2599+
"type": "object",
2600+
"properties": {
2601+
"type": {
2602+
"type": "string",
2603+
"enum": [
2604+
"job_not_found"
2605+
]
2606+
},
2607+
"message": {
2608+
"type": "string"
2609+
}
2610+
},
2611+
"required": [
2612+
"type",
2613+
"message"
2614+
],
2615+
"additionalProperties": false
2616+
}
2617+
},
2618+
"required": [
2619+
"error"
2620+
],
2621+
"additionalProperties": false
2622+
}
2623+
}
2624+
}
2625+
}
2626+
},
2627+
"parameters": [
2628+
{
2629+
"name": "jobID",
2630+
"in": "path",
2631+
"schema": {
2632+
"type": "string",
2633+
"description": "The ID of the job to check"
2634+
},
2635+
"required": true
2636+
}
2637+
],
2638+
"description": "Check whether a job is finished, and get its result"
2639+
}
2640+
},
24012641
"/stashes/{stashID}/{serial}": {
24022642
"put": {
24032643
"responses": {

0 commit comments

Comments
 (0)