|
183 | 183 | } |
184 | 184 | } |
185 | 185 | }, |
| 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 | + }, |
186 | 221 | "400": { |
187 | 222 | "description": "", |
188 | 223 | "content": { |
|
290 | 325 | } |
291 | 326 | }, |
292 | 327 | "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 | + }, |
293 | 340 | { |
294 | 341 | "name": "name", |
295 | 342 | "in": "query", |
|
725 | 772 | } |
726 | 773 | }, |
727 | 774 | "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 | + }, |
728 | 787 | { |
729 | 788 | "name": "appsToLink", |
730 | 789 | "in": "query", |
|
759 | 818 | "schema": { |
760 | 819 | "type": "object", |
761 | 820 | "properties": { |
| 821 | + "displayName": { |
| 822 | + "type": "string", |
| 823 | + "description": "Name of the table, e.g., `Invoices`", |
| 824 | + "example": "Invoices" |
| 825 | + }, |
762 | 826 | "fromUrl": { |
763 | 827 | "type": "string", |
764 | 828 | "format": "uri", |
|
838 | 902 | } |
839 | 903 | } |
840 | 904 | }, |
| 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 | + }, |
841 | 933 | "400": { |
842 | 934 | "description": "", |
843 | 935 | "content": { |
|
1016 | 1108 | } |
1017 | 1109 | }, |
1018 | 1110 | "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 | + }, |
1019 | 1123 | { |
1020 | 1124 | "name": "if-match", |
1021 | 1125 | "in": "header", |
|
2398 | 2502 | "description": "Deletes a row from a Big Table" |
2399 | 2503 | } |
2400 | 2504 | }, |
| 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 | + }, |
2401 | 2641 | "/stashes/{stashID}/{serial}": { |
2402 | 2642 | "put": { |
2403 | 2643 | "responses": { |
|
0 commit comments