From f7706ca24f2856b4e37c256425cb9c0d12eacc38 Mon Sep 17 00:00:00 2001 From: Zihan Li Date: Mon, 1 Apr 2024 13:51:24 -0700 Subject: [PATCH 1/2] release postman collection --- ... Compute Pools API.postman_collection.json | 3625 +++++++ ...flake Database API.postman_collection.json | 7440 +++++++++++++ ...age Repository API.postman_collection.json | 2440 +++++ ...owflake Schema API.postman_collection.json | 3931 +++++++ ...flake Services API.postman_collection.json | 4683 ++++++++ ...wflake Session API.postman_collection.json | 1871 ++++ ...nowflake Table API.postman_collection.json | 9560 +++++++++++++++++ ...Snowflake Task API.postman_collection.json | 7042 ++++++++++++ ...lake Warehouse API.postman_collection.json | 5880 ++++++++++ .../TestEnv.postman_environment.json | 87 + 10 files changed, 46559 insertions(+) create mode 100644 private-preview/8.12/collection/Snowflake Compute Pools API.postman_collection.json create mode 100644 private-preview/8.12/collection/Snowflake Database API.postman_collection.json create mode 100644 private-preview/8.12/collection/Snowflake Image Repository API.postman_collection.json create mode 100644 private-preview/8.12/collection/Snowflake Schema API.postman_collection.json create mode 100644 private-preview/8.12/collection/Snowflake Services API.postman_collection.json create mode 100644 private-preview/8.12/collection/Snowflake Session API.postman_collection.json create mode 100644 private-preview/8.12/collection/Snowflake Table API.postman_collection.json create mode 100644 private-preview/8.12/collection/Snowflake Task API.postman_collection.json create mode 100644 private-preview/8.12/collection/Snowflake Warehouse API.postman_collection.json create mode 100644 private-preview/8.12/collection/TestEnv.postman_environment.json diff --git a/private-preview/8.12/collection/Snowflake Compute Pools API.postman_collection.json b/private-preview/8.12/collection/Snowflake Compute Pools API.postman_collection.json new file mode 100644 index 0000000..0bd737b --- /dev/null +++ b/private-preview/8.12/collection/Snowflake Compute Pools API.postman_collection.json @@ -0,0 +1,3625 @@ +{ + "info": { + "_postman_id": "a1c47394-218c-43e0-9cba-5f2c7dd46ba1", + "name": "Snowflake Compute Pools API", + "description": "The Snowflake Compute Pools API is a REST API that you can use to access, update, and perform certain actions on Compute Pool resources.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28868798", + "_collection_link": "https://snowflake.postman.co/workspace/PrPr-Fast-Follow-up~221950c9-2cfb-4efc-9682-eac740a73ea5/collection/28868798-a1c47394-218c-43e0-9cba-5f2c7dd46ba1?action=share&source=collection_link&creator=28868798" + }, + "item": [ + { + "name": "api", + "item": [ + { + "name": "v2", + "item": [ + { + "name": "compute-pools", + "item": [ + { + "name": "{name}", + "item": [ + { + "name": "Fetch a compute pool.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name", + "value": "KsnbGQ", + "description": "(Required) " + } + ] + }, + "description": "Fetch a compute pool using the SHOW command output." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create a (or alter an existing) compute pool.", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name", + "value": "KsnbGQ", + "description": "(Required) " + } + ] + }, + "description": "Create a (or alter an existing) compute pool. Even if the operation is just an alter, the full property set must be provided." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Delete a compute pool", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name", + "value": "KsnbGQ", + "description": "(Required) " + } + ] + }, + "description": "Delete a compute pool with the given name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a 404 failure if the drop is unsuccessful." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:resume", + "item": [ + { + "name": "Resume a compute pool", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:resume" + ] + }, + "description": "Resume a compute pool, if suspended. This is a no-op if it is already running." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:resume" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:resume" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:resume" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:resume" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:resume" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:resume" + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:resume" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:resume" + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:resume" + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:suspend", + "item": [ + { + "name": "Perform an action on a compute pool", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:suspend" + ] + }, + "description": "Suspend a compute pool." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:suspend" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:suspend" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:suspend" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:suspend" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:suspend" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:suspend" + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:suspend" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:suspend" + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:suspend" + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:stopallservices", + "item": [ + { + "name": "Stops all services on the compute pool.", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:stopallservices" + ] + }, + "description": "Stop all services in the compute pool." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:stopallservices" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:stopallservices" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:stopallservices" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:stopallservices" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:stopallservices" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:stopallservices" + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:stopallservices" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:stopallservices" + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools", + "{{name}}:stopallservices" + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "List compute pools", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "like", + "value": "", + "disabled": true + }, + { + "key": "startsWith", + "value": "", + "disabled": true + }, + { + "key": "showLimit", + "value": "", + "disabled": true + } + ] + }, + "description": "Lists the compute pools under the account." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"name\": \"\\\"8\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n },\n {\n \"name\": \"qh_LP\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"ACTIVE\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n }\n]" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create a compute pool", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"compute_pool_name\",\n \"instance_family\": \"CPU_X64_XS\",\n \"min_nodes\": 1,\n \"max_nodes\": 1,\n \"auto_resume\": true,\n \"comment\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "initiallySuspended", + "value": "", + "description": "Specifies whether the compute pool is created initially in the suspended state.", + "disabled": true + } + ] + }, + "description": "Create a compute pool, with standard create modifiers as query parameters. See the Compute Pool component definition for what is required to be provided in the request body." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists&initiallySuspended=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "initiallySuspended", + "value": "", + "description": "Specifies whether the compute pool is created initially in the suspended state." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists&initiallySuspended=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "initiallySuspended", + "value": "", + "description": "Specifies whether the compute pool is created initially in the suspended state." + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists&initiallySuspended=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "initiallySuspended", + "value": "", + "description": "Specifies whether the compute pool is created initially in the suspended state." + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists&initiallySuspended=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "initiallySuspended", + "value": "", + "description": "Specifies whether the compute pool is created initially in the suspended state." + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists&initiallySuspended=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "initiallySuspended", + "value": "", + "description": "Specifies whether the compute pool is created initially in the suspended state." + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists&initiallySuspended=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "initiallySuspended", + "value": "", + "description": "Specifies whether the compute pool is created initially in the suspended state." + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists&initiallySuspended=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "initiallySuspended", + "value": "", + "description": "Specifies whether the compute pool is created initially in the suspended state." + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists&initiallySuspended=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "initiallySuspended", + "value": "", + "description": "Specifies whether the compute pool is created initially in the suspended state." + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists&initiallySuspended=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "initiallySuspended", + "value": "", + "description": "Specifies whether the compute pool is created initially in the suspended state." + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"}\\\"\\\"Z\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists&initiallySuspended=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "compute-pools" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "initiallySuspended", + "value": "", + "description": "Specifies whether the compute pool is created initially in the suspended state." + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + } + ] + } + ] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "value", + "value": "Snowflake Token=\"{{sessionToken}}\"", + "type": "string" + }, + { + "key": "key", + "value": "Authorization", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "baseUrl", + "value": "https://org-account.snowflakecomputing.com" + }, + { + "key": "name", + "value": "KsnbGQ" + }, + { + "key": "name", + "value": "KsnbGQ" + }, + { + "key": "name", + "value": "KsnbGQ" + } + ] +} \ No newline at end of file diff --git a/private-preview/8.12/collection/Snowflake Database API.postman_collection.json b/private-preview/8.12/collection/Snowflake Database API.postman_collection.json new file mode 100644 index 0000000..18a6c1c --- /dev/null +++ b/private-preview/8.12/collection/Snowflake Database API.postman_collection.json @@ -0,0 +1,7440 @@ +{ + "info": { + "_postman_id": "d25e28cc-ac31-43aa-be51-da1091c41eb0", + "name": "Snowflake Database API", + "description": "The Snowflake Database API is a REST API that you can use to access, update, and perform certain actions on Database resource in Snowflake.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28868798", + "_collection_link": "https://snowflake.postman.co/workspace/PrPr-Fast-Follow-up~221950c9-2cfb-4efc-9682-eac740a73ea5/collection/28868798-d25e28cc-ac31-43aa-be51-da1091c41eb0?action=share&source=collection_link&creator=28868798" + }, + "item": [ + { + "name": "api", + "item": [ + { + "name": "v2", + "item": [ + { + "name": "databases", + "item": [ + { + "name": "from_share", + "item": [ + { + "name": "Create a database from a share.", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/from_share?createMode=errorIfExists&name=&share=&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + "from_share" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "name", + "value": "", + "description": "Name of the database to be created" + }, + { + "key": "share", + "value": "", + "description": "The share the database should be created from. Should be of the form \".\"." + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + }, + "description": "Create a database from a given share" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/from_share?createMode=errorIfExists&name=&share=&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + "from_share" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "name", + "value": "", + "description": "Name of the database to be created" + }, + { + "key": "share", + "value": "", + "description": "The share the database should be created from. Should be of the form \".\"." + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/from_share?createMode=errorIfExists&name=&share=&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + "from_share" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "name", + "value": "", + "description": "Name of the database to be created" + }, + { + "key": "share", + "value": "", + "description": "The share the database should be created from. Should be of the form \".\"." + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/from_share?createMode=errorIfExists&name=&share=&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + "from_share" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "name", + "value": "", + "description": "Name of the database to be created" + }, + { + "key": "share", + "value": "", + "description": "The share the database should be created from. Should be of the form \".\"." + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/from_share?createMode=errorIfExists&name=&share=&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + "from_share" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "name", + "value": "", + "description": "Name of the database to be created" + }, + { + "key": "share", + "value": "", + "description": "The share the database should be created from. Should be of the form \".\"." + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/from_share?createMode=errorIfExists&name=&share=&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + "from_share" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "name", + "value": "", + "description": "Name of the database to be created" + }, + { + "key": "share", + "value": "", + "description": "The share the database should be created from. Should be of the form \".\"." + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/from_share?createMode=errorIfExists&name=&share=&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + "from_share" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "name", + "value": "", + "description": "Name of the database to be created" + }, + { + "key": "share", + "value": "", + "description": "The share the database should be created from. Should be of the form \".\"." + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/from_share?createMode=errorIfExists&name=&share=&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + "from_share" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "name", + "value": "", + "description": "Name of the database to be created" + }, + { + "key": "share", + "value": "", + "description": "The share the database should be created from. Should be of the form \".\"." + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/from_share?createMode=errorIfExists&name=&share=&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + "from_share" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "name", + "value": "", + "description": "Name of the database to be created" + }, + { + "key": "share", + "value": "", + "description": "The share the database should be created from. Should be of the form \".\"." + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/from_share?createMode=errorIfExists&name=&share=&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + "from_share" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "name", + "value": "", + "description": "Name of the database to be created" + }, + { + "key": "share", + "value": "", + "description": "The share the database should be created from. Should be of the form \".\"." + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/from_share?createMode=errorIfExists&name=&share=&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + "from_share" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "name", + "value": "", + "description": "Name of the database to be created" + }, + { + "key": "share", + "value": "", + "description": "The share the database should be created from. Should be of the form \".\"." + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}", + "item": [ + { + "name": "clone", + "item": [ + { + "name": "Clone a database", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"T\",\n \"point_of_time\": {\n \"point_of_time_type\": \"eiusmod commodo\",\n \"reference\": \"culpa dolor\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/clone?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ], + "variable": [ + { + "key": "name", + "value": "\"C9\"\"{Nm\"\"Nh3\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Clone an existing database, with modifiers as query parameters. See the database definition for what is required to be provided in the request body. (Cloning not currently supported)" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"T\",\n \"point_of_time\": {\n \"point_of_time_type\": \"eiusmod commodo\",\n \"reference\": \"culpa dolor\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/clone?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"T\",\n \"point_of_time\": {\n \"point_of_time_type\": \"eiusmod commodo\",\n \"reference\": \"culpa dolor\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/clone?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"T\",\n \"point_of_time\": {\n \"point_of_time_type\": \"eiusmod commodo\",\n \"reference\": \"culpa dolor\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/clone?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"T\",\n \"point_of_time\": {\n \"point_of_time_type\": \"eiusmod commodo\",\n \"reference\": \"culpa dolor\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/clone?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"T\",\n \"point_of_time\": {\n \"point_of_time_type\": \"eiusmod commodo\",\n \"reference\": \"culpa dolor\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/clone?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"T\",\n \"point_of_time\": {\n \"point_of_time_type\": \"eiusmod commodo\",\n \"reference\": \"culpa dolor\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/clone?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"T\",\n \"point_of_time\": {\n \"point_of_time_type\": \"eiusmod commodo\",\n \"reference\": \"culpa dolor\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/clone?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"T\",\n \"point_of_time\": {\n \"point_of_time_type\": \"eiusmod commodo\",\n \"reference\": \"culpa dolor\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/clone?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"T\",\n \"point_of_time\": {\n \"point_of_time_type\": \"eiusmod commodo\",\n \"reference\": \"culpa dolor\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/clone?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"T\",\n \"point_of_time\": {\n \"point_of_time_type\": \"eiusmod commodo\",\n \"reference\": \"culpa dolor\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/clone?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "replication:enable", + "item": [ + { + "name": "Enable database replication.", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:enable?ignore_edition_check=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:enable" + ], + "query": [ + { + "key": "ignore_edition_check", + "value": "", + "description": "Allows replicating data to accounts on lower editions. Please see https://docs.snowflake.com/en/sql-reference/sql/alter-database for full description." + } + ], + "variable": [ + { + "key": "name", + "value": "\"C9\"\"{Nm\"\"Nh3\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Promotes a local database to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary (i.e. replica) database." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:enable?ignore_edition_check=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:enable" + ], + "query": [ + { + "key": "ignore_edition_check", + "value": "", + "description": "Allows replicating data to accounts on lower editions. Please see https://docs.snowflake.com/en/sql-reference/sql/alter-database for full description." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:enable?ignore_edition_check=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:enable" + ], + "query": [ + { + "key": "ignore_edition_check", + "value": "", + "description": "Allows replicating data to accounts on lower editions. Please see https://docs.snowflake.com/en/sql-reference/sql/alter-database for full description." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:enable?ignore_edition_check=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:enable" + ], + "query": [ + { + "key": "ignore_edition_check", + "value": "", + "description": "Allows replicating data to accounts on lower editions. Please see https://docs.snowflake.com/en/sql-reference/sql/alter-database for full description." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:enable?ignore_edition_check=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:enable" + ], + "query": [ + { + "key": "ignore_edition_check", + "value": "", + "description": "Allows replicating data to accounts on lower editions. Please see https://docs.snowflake.com/en/sql-reference/sql/alter-database for full description." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:enable?ignore_edition_check=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:enable" + ], + "query": [ + { + "key": "ignore_edition_check", + "value": "", + "description": "Allows replicating data to accounts on lower editions. Please see https://docs.snowflake.com/en/sql-reference/sql/alter-database for full description." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:enable?ignore_edition_check=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:enable" + ], + "query": [ + { + "key": "ignore_edition_check", + "value": "", + "description": "Allows replicating data to accounts on lower editions. Please see https://docs.snowflake.com/en/sql-reference/sql/alter-database for full description." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:enable?ignore_edition_check=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:enable" + ], + "query": [ + { + "key": "ignore_edition_check", + "value": "", + "description": "Allows replicating data to accounts on lower editions. Please see https://docs.snowflake.com/en/sql-reference/sql/alter-database for full description." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:enable?ignore_edition_check=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:enable" + ], + "query": [ + { + "key": "ignore_edition_check", + "value": "", + "description": "Allows replicating data to accounts on lower editions. Please see https://docs.snowflake.com/en/sql-reference/sql/alter-database for full description." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:enable?ignore_edition_check=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:enable" + ], + "query": [ + { + "key": "ignore_edition_check", + "value": "", + "description": "Allows replicating data to accounts on lower editions. Please see https://docs.snowflake.com/en/sql-reference/sql/alter-database for full description." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:enable?ignore_edition_check=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:enable" + ], + "query": [ + { + "key": "ignore_edition_check", + "value": "", + "description": "Allows replicating data to accounts on lower editions. Please see https://docs.snowflake.com/en/sql-reference/sql/alter-database for full description." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "replication:disable", + "item": [ + { + "name": "Disable database replication.", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:disable" + ], + "variable": [ + { + "key": "name", + "value": "\"C9\"\"{Nm\"\"Nh3\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Disables replication for this primary database, meaning no replica of this database (i.e. secondary database) in another account can be refreshed. Any secondary databases remain linked to the primary database, but requests to refresh a secondary database are denied." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "replication:refresh", + "item": [ + { + "name": "Refresh database replications.", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:refresh", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:refresh" + ], + "variable": [ + { + "key": "name", + "value": "\"C9\"\"{Nm\"\"Nh3\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Refreshes a secondary database from a snapshot of its primary database. A snapshot includes changes to the objects and data." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:refresh", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:refresh" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:refresh", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:refresh" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:refresh", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:refresh" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:refresh", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:refresh" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:refresh", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:refresh" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:refresh", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:refresh" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:refresh", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:refresh" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:refresh", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:refresh" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:refresh", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:refresh" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/replication:refresh", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "replication:refresh" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "failover:enable", + "item": [ + { + "name": "Enable database failover.", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:enable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:enable" + ], + "variable": [ + { + "key": "name", + "value": "\"C9\"\"{Nm\"\"Nh3\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Specifies a comma-separated list of accounts in your organization where a replica of this primary database can be promoted to serve as the primary database." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:enable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:enable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:enable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:enable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:enable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:enable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:enable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:enable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:enable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:enable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:enable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:enable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:enable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:enable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:enable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:enable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:enable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:enable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:enable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:enable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "failover:disable", + "item": [ + { + "name": "Disable database failover.", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:disable" + ], + "variable": [ + { + "key": "name", + "value": "\"C9\"\"{Nm\"\"Nh3\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Disables failover for this primary database, meaning no replica of this database (i.e. secondary database) can be promoted to serve as the primary database." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accounts\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:disable" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "failover:primary", + "item": [ + { + "name": "Set database as primary.", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:primary", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:primary" + ], + "variable": [ + { + "key": "name", + "value": "\"C9\"\"{Nm\"\"Nh3\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Promotes the specified secondary (replica) database to serve as the primary database." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:primary", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:primary" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:primary", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:primary" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:primary", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:primary" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:primary", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:primary" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:primary", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:primary" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:primary", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:primary" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:primary", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:primary" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:primary", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:primary" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:primary", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:primary" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name/failover:primary", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name", + "failover:primary" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "fetch Database", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name", + "value": "\"C9\"\"{Nm\"\"Nh3\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Fetch a database." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create a (or alter an existing) database.", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name", + "value": "\"C9\"\"{Nm\"\"Nh3\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Create a (or alter an existing) database. Even if the operation is just an alter, the full property set must be provided." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Delete a database.", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the database should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "name", + "value": "\"C9\"\"{Nm\"\"Nh3\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Delete a database with the given name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the database should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the database should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the database should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the database should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the database should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the database should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the database should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the database should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the database should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "List databases", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "like", + "value": "", + "disabled": true + }, + { + "key": "startsWith", + "value": "", + "disabled": true + }, + { + "key": "showLimit", + "value": "", + "disabled": true + }, + { + "key": "fromName", + "value": "", + "disabled": true + }, + { + "key": "history", + "value": "", + "disabled": true + } + ] + }, + "description": "Lists the accessible databases." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases?like=&startsWith=&showLimit=&fromName=&history=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"name\": \"\\\"\\\"\\\"6\\\"\\\"\\\"\\\"\\\"\\\"5]\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n },\n {\n \"name\": \"qRJ9VStDWd\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n }\n]" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases?like=&startsWith=&showLimit=&fromName=&history=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases?like=&startsWith=&showLimit=&fromName=&history=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases?like=&startsWith=&showLimit=&fromName=&history=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases?like=&startsWith=&showLimit=&fromName=&history=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases?like=&startsWith=&showLimit=&fromName=&history=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases?like=&startsWith=&showLimit=&fromName=&history=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases?like=&startsWith=&showLimit=&fromName=&history=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases?like=&startsWith=&showLimit=&fromName=&history=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create a database", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"db1\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported.", + "disabled": true + } + ] + }, + "description": "Create a database, with modifiers as query parameters. See the database definition for what is required to be provided in the request body. (Cloning not currently supported)" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"o1\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"origin\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"kind\": \"\",\n \"budget\": \"\",\n \"owner_role_type\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases?createMode=errorIfExists&kind=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of database. At the time of writing this transient and permanent (represented by the empty string) are supported." + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + } + ] + } + ] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "value", + "value": "Snowflake Token=\"{{sessionToken}}\"", + "type": "string" + }, + { + "key": "key", + "value": "Authorization", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "baseUrl", + "value": "https://org-account.snowflakecomputing.com" + }, + { + "key": "token", + "value": "", + "type": "default" + } + ] +} \ No newline at end of file diff --git a/private-preview/8.12/collection/Snowflake Image Repository API.postman_collection.json b/private-preview/8.12/collection/Snowflake Image Repository API.postman_collection.json new file mode 100644 index 0000000..5a7aeb0 --- /dev/null +++ b/private-preview/8.12/collection/Snowflake Image Repository API.postman_collection.json @@ -0,0 +1,2440 @@ +{ + "info": { + "_postman_id": "5d3493db-15b9-4693-aa80-5deaae573cb9", + "name": "Snowflake Image Repository API", + "description": "The Snowflake Image Repository API is a REST API that you can use to access, update, and perform certain actions on Image Repository resource in Snowflake.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28868798", + "_collection_link": "https://snowflake.postman.co/workspace/PrPr-Fast-Follow-up~221950c9-2cfb-4efc-9682-eac740a73ea5/collection/28868798-5d3493db-15b9-4693-aa80-5deaae573cb9?action=share&source=collection_link&creator=28868798" + }, + "item": [ + { + "name": "api", + "item": [ + { + "name": "v2", + "item": [ + { + "name": "databases", + "item": [ + { + "name": "{database}", + "item": [ + { + "name": "schemas", + "item": [ + { + "name": "{schema}", + "item": [ + { + "name": "image-repositories", + "item": [ + { + "name": "{name}", + "item": [ + { + "name": "Fetch an image repository.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "variable": [ + { + "key": "database", + "value": "\"){k\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"){k\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"){k\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Fetch an image repository using the SHOW command output." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"\\\"F\\\"\\\"y'\\\"\",\n \"database_name\": \"\\\"\\\"\\\"U\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Delete an image repository", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database", + "value": "\"){k\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"){k\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"){k\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Delete an image repository with the given name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "List image repositories", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "like", + "value": "", + "disabled": true + } + ], + "variable": [ + { + "key": "database", + "value": "REST_DB", + "description": "(Required) " + }, + { + "key": "schema", + "value": "test_schema", + "description": "(Required) " + } + ] + }, + "description": "Lists the image repositories under the database and schema." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "like", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"l\\\"\",\n \"database_name\": \"kYC9Mf2$p\",\n \"schema_name\": \"\\\"\\\"\\\"\\\"\\\"980\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n },\n {\n \"name\": \"rTdekk\",\n \"database_name\": \"lB\",\n \"schema_name\": \"AS2WrFwA\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n }\n]" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "like", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "like", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "like", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "like", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "like", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "like", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "like", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "like", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "like", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create an image repository", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"imageRepoName\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=orReplace", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "createMode", + "value": "orReplace" + } + ], + "variable": [ + { + "key": "database", + "value": "REST_DB", + "description": "(Required) " + }, + { + "key": "schema", + "value": "TEST_SCHEMA", + "description": "(Required) " + } + ] + }, + "description": "Create an image repository, with standard create modifiers as query parameters. See the ImageRepository component definition for what is required to be provided in the request body." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"F\\\"\\\"y'\\\"\",\n \"database_name\": \"\\\"\\\"\\\"U\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"F\\\"\\\"y'\\\"\",\n \"database_name\": \"\\\"\\\"\\\"U\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"F\\\"\\\"y'\\\"\",\n \"database_name\": \"\\\"\\\"\\\"U\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"F\\\"\\\"y'\\\"\",\n \"database_name\": \"\\\"\\\"\\\"U\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"F\\\"\\\"y'\\\"\",\n \"database_name\": \"\\\"\\\"\\\"U\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"F\\\"\\\"y'\\\"\",\n \"database_name\": \"\\\"\\\"\\\"U\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"F\\\"\\\"y'\\\"\",\n \"database_name\": \"\\\"\\\"\\\"U\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"F\\\"\\\"y'\\\"\",\n \"database_name\": \"\\\"\\\"\\\"U\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"F\\\"\\\"y'\\\"\",\n \"database_name\": \"\\\"\\\"\\\"U\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"F\\\"\\\"y'\\\"\",\n \"database_name\": \"\\\"\\\"\\\"U\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "image-repositories" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "Authorization", + "type": "string" + }, + { + "key": "value", + "value": "Snowflake Token=\"{{sessionToken}}\"", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "baseUrl", + "value": "https://org-account.snowflakecomputing.com" + } + ] +} \ No newline at end of file diff --git a/private-preview/8.12/collection/Snowflake Schema API.postman_collection.json b/private-preview/8.12/collection/Snowflake Schema API.postman_collection.json new file mode 100644 index 0000000..65b5322 --- /dev/null +++ b/private-preview/8.12/collection/Snowflake Schema API.postman_collection.json @@ -0,0 +1,3931 @@ +{ + "info": { + "_postman_id": "9850c095-518c-4c16-98e6-1cab8e172b90", + "name": "Snowflake Schema API", + "description": "The Snowflake Schema API is a REST API that you can use to access, update, and perform certain actions on Schema resource in Snowflake.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28868798", + "_collection_link": "https://snowflake.postman.co/workspace/PrPr-Fast-Follow-up~221950c9-2cfb-4efc-9682-eac740a73ea5/collection/28868798-9850c095-518c-4c16-98e6-1cab8e172b90?action=share&source=collection_link&creator=28868798" + }, + "item": [ + { + "name": "api", + "item": [ + { + "name": "v2", + "item": [ + { + "name": "databases", + "item": [ + { + "name": "{database}", + "item": [ + { + "name": "schemas", + "item": [ + { + "name": "{name}", + "item": [ + { + "name": "clone", + "item": [ + { + "name": "Clone a schema", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"k9Nd4\",\n \"point_of_time\": {\n \"point_of_time_type\": \"in exercitation in enim\",\n \"reference\": \"deserunt ut sint sit\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name/clone?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database", + "value": "KW", + "description": "(Required) " + }, + { + "key": "name", + "value": "KW", + "description": "(Required) " + } + ] + }, + "description": "Clone an existing schema, with modifiers as query parameters. See the schema definition for what is required to be provided in the request body. (Cloning not currently supported)" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"k9Nd4\",\n \"point_of_time\": {\n \"point_of_time_type\": \"in exercitation in enim\",\n \"reference\": \"deserunt ut sint sit\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name/clone?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"k9Nd4\",\n \"point_of_time\": {\n \"point_of_time_type\": \"in exercitation in enim\",\n \"reference\": \"deserunt ut sint sit\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name/clone?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"k9Nd4\",\n \"point_of_time\": {\n \"point_of_time_type\": \"in exercitation in enim\",\n \"reference\": \"deserunt ut sint sit\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name/clone?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"k9Nd4\",\n \"point_of_time\": {\n \"point_of_time_type\": \"in exercitation in enim\",\n \"reference\": \"deserunt ut sint sit\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name/clone?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"k9Nd4\",\n \"point_of_time\": {\n \"point_of_time_type\": \"in exercitation in enim\",\n \"reference\": \"deserunt ut sint sit\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name/clone?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"k9Nd4\",\n \"point_of_time\": {\n \"point_of_time_type\": \"in exercitation in enim\",\n \"reference\": \"deserunt ut sint sit\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name/clone?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"k9Nd4\",\n \"point_of_time\": {\n \"point_of_time_type\": \"in exercitation in enim\",\n \"reference\": \"deserunt ut sint sit\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name/clone?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"k9Nd4\",\n \"point_of_time\": {\n \"point_of_time_type\": \"in exercitation in enim\",\n \"reference\": \"deserunt ut sint sit\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name/clone?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"k9Nd4\",\n \"point_of_time\": {\n \"point_of_time_type\": \"in exercitation in enim\",\n \"reference\": \"deserunt ut sint sit\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name/clone?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"k9Nd4\",\n \"point_of_time\": {\n \"point_of_time_type\": \"in exercitation in enim\",\n \"reference\": \"deserunt ut sint sit\"\n },\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name/clone?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name", + "clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "fetch Schema", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database", + "value": "KW", + "description": "(Required) " + }, + { + "key": "name", + "value": "KW", + "description": "(Required) " + } + ] + }, + "description": "Fetch a schema." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create a (or alter an existing) schema.", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database", + "value": "KW", + "description": "(Required) " + }, + { + "key": "name", + "value": "KW", + "description": "(Required) " + } + ] + }, + "description": "Create a (or alter an existing) schema. Even if the operation is just an alter, the full property set must be provided." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Delete a schema.", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false", + "disabled": true + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the schema should not be droppped if there are existing foreign key references. Returns a warning instead.", + "disabled": true + } + ], + "variable": [ + { + "key": "database", + "value": "REST_DB", + "description": "(Required) " + }, + { + "key": "name", + "value": "TEST_SCHEMA", + "description": "(Required) " + } + ] + }, + "description": "Delete a schema with the given name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the schema should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the schema should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the schema should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the schema should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the schema should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the schema should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the schema should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the schema should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:name?ifExists=false&restrict=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "restrict", + "value": "false", + "description": "Specifies whether the schema should not be droppped if there are existing foreign key references. Returns a warning instead." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "List schemas", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "like", + "value": "", + "disabled": true + }, + { + "key": "startsWith", + "value": "", + "disabled": true + }, + { + "key": "showLimit", + "value": "", + "disabled": true + }, + { + "key": "fromName", + "value": "", + "disabled": true + }, + { + "key": "history", + "value": "false", + "description": "Includes dropped schemas that have not yet been purged.", + "disabled": true + } + ], + "variable": [ + { + "key": "database", + "value": "REST_DB", + "description": "(Required) " + } + ] + }, + "description": "Lists the accessible schemas." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?like=&startsWith=&showLimit=&fromName=&history=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "false", + "description": "Includes dropped schemas that have not yet been purged." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"name\": \"\\\"f\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n },\n {\n \"name\": \"Dz_bSe\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n }\n]" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?like=&startsWith=&showLimit=&fromName=&history=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "false", + "description": "Includes dropped schemas that have not yet been purged." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?like=&startsWith=&showLimit=&fromName=&history=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "false", + "description": "Includes dropped schemas that have not yet been purged." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?like=&startsWith=&showLimit=&fromName=&history=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "false", + "description": "Includes dropped schemas that have not yet been purged." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?like=&startsWith=&showLimit=&fromName=&history=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "false", + "description": "Includes dropped schemas that have not yet been purged." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?like=&startsWith=&showLimit=&fromName=&history=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "false", + "description": "Includes dropped schemas that have not yet been purged." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?like=&startsWith=&showLimit=&fromName=&history=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "false", + "description": "Includes dropped schemas that have not yet been purged." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?like=&startsWith=&showLimit=&fromName=&history=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "false", + "description": "Includes dropped schemas that have not yet been purged." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?like=&startsWith=&showLimit=&fromName=&history=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "false", + "description": "Includes dropped schemas that have not yet been purged." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create a schema", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"TEST_SCHEMA\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?createMode=orReplace", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "createMode", + "value": "orReplace" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported.", + "disabled": true + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner.", + "disabled": true + } + ], + "variable": [ + { + "key": "database", + "value": "REST_DB", + "description": "(Required) " + } + ] + }, + "description": "Create a schema, with modifiers as query parameters. See the schema definition for what is required to be provided in the request body. (Cloning not currently supported)" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"9\\\"\\\"VY\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"database_name\": \"\",\n \"owner\": \"\",\n \"comment\": \"\",\n \"options\": \"\",\n \"retention_time\": \"\",\n \"dropped_on\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"log_level\": \"\",\n \"pipe_execution_paused\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"trace_level\": \"\",\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas?createMode=errorIfExists&kind=&with_managed_access=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "kind", + "value": "", + "description": "Type of schema. At the time of writing this transient and permanent (represented by the empty string) are supported." + }, + { + "key": "with_managed_access", + "value": "false", + "description": "Specifies a managed schema. Managed access schemas centralize privilege management with the schema owner." + } + ], + "variable": [ + { + "key": "database" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "Authorization", + "type": "string" + }, + { + "key": "value", + "value": "Snowflake Token=\"{{sessionToken}}\"", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "baseUrl", + "value": "https://org-account.snowflakecomputing.com" + }, + { + "key": "token", + "value": "", + "type": "default" + } + ] +} \ No newline at end of file diff --git a/private-preview/8.12/collection/Snowflake Services API.postman_collection.json b/private-preview/8.12/collection/Snowflake Services API.postman_collection.json new file mode 100644 index 0000000..279187b --- /dev/null +++ b/private-preview/8.12/collection/Snowflake Services API.postman_collection.json @@ -0,0 +1,4683 @@ +{ + "info": { + "_postman_id": "a70c6360-d60f-446c-ac70-98bc31b7ff2f", + "name": "Snowflake Services API", + "description": "The Snowflake Services API is a REST API that you can use to access, update, and perform certain actions on Services resource in a Snowflake database.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28868798", + "_collection_link": "https://snowflake.postman.co/workspace/PrPr-Fast-Follow-up~221950c9-2cfb-4efc-9682-eac740a73ea5/collection/28868798-a70c6360-d60f-446c-ac70-98bc31b7ff2f?action=share&source=collection_link&creator=28868798" + }, + "item": [ + { + "name": "api", + "item": [ + { + "name": "v2", + "item": [ + { + "name": "databases", + "item": [ + { + "name": "{database}", + "item": [ + { + "name": "schemas", + "item": [ + { + "name": "{schema}", + "item": [ + { + "name": "services", + "item": [ + { + "name": "{name}", + "item": [ + { + "name": "logs", + "item": [ + { + "name": "Fetch the logs for a given service.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/logs?instanceId=&containerName=&numLines=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "logs" + ], + "query": [ + { + "key": "instanceId", + "value": "", + "description": "(Required) ID of the service instance, starting with 0." + }, + { + "key": "containerName", + "value": "", + "description": "(Required) Container name as specified in the service specification file." + }, + { + "key": "numLines", + "value": "", + "description": "Number of trailing log lines to retrieve." + } + ], + "variable": [ + { + "key": "database", + "value": "ukygwG", + "description": "(Required) " + }, + { + "key": "schema", + "value": "ukygwG", + "description": "(Required) " + }, + { + "key": "name", + "value": "ukygwG", + "description": "(Required) " + } + ] + }, + "description": "Fetch the logs for a service." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/logs?instanceId=&containerName=&numLines=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "logs" + ], + "query": [ + { + "key": "instanceId", + "value": "", + "description": "(Required) ID of the service instance, starting with 0." + }, + { + "key": "containerName", + "value": "", + "description": "(Required) Container name as specified in the service specification file." + }, + { + "key": "numLines", + "value": "", + "description": "Number of trailing log lines to retrieve." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"system$get_service_logs\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/logs?instanceId=&containerName=&numLines=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "logs" + ], + "query": [ + { + "key": "instanceId", + "value": "", + "description": "(Required) ID of the service instance, starting with 0." + }, + { + "key": "containerName", + "value": "", + "description": "(Required) Container name as specified in the service specification file." + }, + { + "key": "numLines", + "value": "", + "description": "Number of trailing log lines to retrieve." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/logs?instanceId=&containerName=&numLines=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "logs" + ], + "query": [ + { + "key": "instanceId", + "value": "", + "description": "(Required) ID of the service instance, starting with 0." + }, + { + "key": "containerName", + "value": "", + "description": "(Required) Container name as specified in the service specification file." + }, + { + "key": "numLines", + "value": "", + "description": "Number of trailing log lines to retrieve." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/logs?instanceId=&containerName=&numLines=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "logs" + ], + "query": [ + { + "key": "instanceId", + "value": "", + "description": "(Required) ID of the service instance, starting with 0." + }, + { + "key": "containerName", + "value": "", + "description": "(Required) Container name as specified in the service specification file." + }, + { + "key": "numLines", + "value": "", + "description": "Number of trailing log lines to retrieve." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/logs?instanceId=&containerName=&numLines=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "logs" + ], + "query": [ + { + "key": "instanceId", + "value": "", + "description": "(Required) ID of the service instance, starting with 0." + }, + { + "key": "containerName", + "value": "", + "description": "(Required) Container name as specified in the service specification file." + }, + { + "key": "numLines", + "value": "", + "description": "Number of trailing log lines to retrieve." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/logs?instanceId=&containerName=&numLines=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "logs" + ], + "query": [ + { + "key": "instanceId", + "value": "", + "description": "(Required) ID of the service instance, starting with 0." + }, + { + "key": "containerName", + "value": "", + "description": "(Required) Container name as specified in the service specification file." + }, + { + "key": "numLines", + "value": "", + "description": "Number of trailing log lines to retrieve." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/logs?instanceId=&containerName=&numLines=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "logs" + ], + "query": [ + { + "key": "instanceId", + "value": "", + "description": "(Required) ID of the service instance, starting with 0." + }, + { + "key": "containerName", + "value": "", + "description": "(Required) Container name as specified in the service specification file." + }, + { + "key": "numLines", + "value": "", + "description": "Number of trailing log lines to retrieve." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/logs?instanceId=&containerName=&numLines=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "logs" + ], + "query": [ + { + "key": "instanceId", + "value": "", + "description": "(Required) ID of the service instance, starting with 0." + }, + { + "key": "containerName", + "value": "", + "description": "(Required) Container name as specified in the service specification file." + }, + { + "key": "numLines", + "value": "", + "description": "Number of trailing log lines to retrieve." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/logs?instanceId=&containerName=&numLines=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "logs" + ], + "query": [ + { + "key": "instanceId", + "value": "", + "description": "(Required) ID of the service instance, starting with 0." + }, + { + "key": "containerName", + "value": "", + "description": "(Required) Container name as specified in the service specification file." + }, + { + "key": "numLines", + "value": "", + "description": "Number of trailing log lines to retrieve." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "status", + "item": [ + { + "name": "Fetch the status for a given service.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/status?timeout=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "status" + ], + "query": [ + { + "key": "timeout", + "value": "", + "description": "Number of seconds to wait for the service to reach a steady state (for example, READY) before returning the status. If the service does not reach a steady state within the specified time, Snowflake returns the current state." + } + ], + "variable": [ + { + "key": "database", + "value": "ukygwG", + "description": "(Required) " + }, + { + "key": "schema", + "value": "ukygwG", + "description": "(Required) " + }, + { + "key": "name", + "value": "ukygwG", + "description": "(Required) " + } + ] + }, + "description": "Fetch the status for a service." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/status?timeout=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "status" + ], + "query": [ + { + "key": "timeout", + "value": "", + "description": "Number of seconds to wait for the service to reach a steady state (for example, READY) before returning the status. If the service does not reach a steady state within the specified time, Snowflake returns the current state." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"system$get_service_status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/status?timeout=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "status" + ], + "query": [ + { + "key": "timeout", + "value": "", + "description": "Number of seconds to wait for the service to reach a steady state (for example, READY) before returning the status. If the service does not reach a steady state within the specified time, Snowflake returns the current state." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/status?timeout=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "status" + ], + "query": [ + { + "key": "timeout", + "value": "", + "description": "Number of seconds to wait for the service to reach a steady state (for example, READY) before returning the status. If the service does not reach a steady state within the specified time, Snowflake returns the current state." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/status?timeout=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "status" + ], + "query": [ + { + "key": "timeout", + "value": "", + "description": "Number of seconds to wait for the service to reach a steady state (for example, READY) before returning the status. If the service does not reach a steady state within the specified time, Snowflake returns the current state." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/status?timeout=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "status" + ], + "query": [ + { + "key": "timeout", + "value": "", + "description": "Number of seconds to wait for the service to reach a steady state (for example, READY) before returning the status. If the service does not reach a steady state within the specified time, Snowflake returns the current state." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/status?timeout=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "status" + ], + "query": [ + { + "key": "timeout", + "value": "", + "description": "Number of seconds to wait for the service to reach a steady state (for example, READY) before returning the status. If the service does not reach a steady state within the specified time, Snowflake returns the current state." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/status?timeout=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "status" + ], + "query": [ + { + "key": "timeout", + "value": "", + "description": "Number of seconds to wait for the service to reach a steady state (for example, READY) before returning the status. If the service does not reach a steady state within the specified time, Snowflake returns the current state." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/status?timeout=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "status" + ], + "query": [ + { + "key": "timeout", + "value": "", + "description": "Number of seconds to wait for the service to reach a steady state (for example, READY) before returning the status. If the service does not reach a steady state within the specified time, Snowflake returns the current state." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name/status?timeout=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name", + "status" + ], + "query": [ + { + "key": "timeout", + "value": "", + "description": "Number of seconds to wait for the service to reach a steady state (for example, READY) before returning the status. If the service does not reach a steady state within the specified time, Snowflake returns the current state." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "Fetch a service.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "variable": [ + { + "key": "database", + "value": "ukygwG", + "description": "(Required) " + }, + { + "key": "schema", + "value": "ukygwG", + "description": "(Required) " + }, + { + "key": "name", + "value": "ukygwG", + "description": "(Required) " + } + ] + }, + "description": "Fetch a Service." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"\\\"%\\\"\\\"2;!\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"V\\\"\\\"g3F\\\"\\\"N\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"6\\\"\\\"V\\\"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"fjoO\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Delete a service", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database", + "value": "ukygwG", + "description": "(Required) " + }, + { + "key": "schema", + "value": "ukygwG", + "description": "(Required) " + }, + { + "key": "name", + "value": "ukygwG", + "description": "(Required) " + } + ] + }, + "description": "Delete a service with the given name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:resume", + "item": [ + { + "name": "Resume a service", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database", + "value": "ukygwG", + "description": "(Required) " + }, + { + "key": "schema", + "value": "ukygwG", + "description": "(Required) " + } + ] + }, + "description": "Resume a service." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:suspend", + "item": [ + { + "name": "Suspend a service", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database", + "value": "ukygwG", + "description": "(Required) " + }, + { + "key": "schema", + "value": "ukygwG", + "description": "(Required) " + } + ] + }, + "description": "Suspend a service." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "List services", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database", + "value": "ukygwG", + "description": "(Required) " + }, + { + "key": "schema", + "value": "ukygwG", + "description": "(Required) " + } + ] + }, + "description": "Lists the services under the database and schema." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"name\": \"\\\"\\\"\\\"\\\"\\\"1\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"N\\\"\\\"N\\\"\\\"\\\"\\\"O<_\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"=m#,\\\"\\\"\\\"\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n },\n {\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"8\\\"\\\"\\\"\\\"\\\"\\\"Sdu\\\"\",\n \"comment\": \"\",\n \"database_name\": \"qSyghc1\",\n \"schema_name\": \"\\\"/\\\"\\\"v\\\"\\\"5\\\"\\\"\\\"\\\"Oi\\\"\\\"!\\\"\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n }\n]" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create a service", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"service_name\",\n \"compute_pool\": \"compute_pool_name\",\n \"spec\": {\n \"spec_type\": \"from_inline\",\n \"spec_text\": \"$$ spec:\\n containers:\\n - name: main\\n image: fake\\n $$\"\n }\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database", + "value": "REST_DB", + "description": "(Required) " + }, + { + "key": "schema", + "value": "TEST_SCHEMA", + "description": "(Required) " + } + ] + }, + "description": "Create a service, with standard create modifiers as query parameters. See the Service component definition for what is required to be provided in the request body." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"%\\\"\\\"2;!\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"V\\\"\\\"g3F\\\"\\\"N\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"6\\\"\\\"V\\\"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"fjoO\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"%\\\"\\\"2;!\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"V\\\"\\\"g3F\\\"\\\"N\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"6\\\"\\\"V\\\"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"fjoO\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"%\\\"\\\"2;!\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"V\\\"\\\"g3F\\\"\\\"N\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"6\\\"\\\"V\\\"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"fjoO\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"%\\\"\\\"2;!\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"V\\\"\\\"g3F\\\"\\\"N\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"6\\\"\\\"V\\\"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"fjoO\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"%\\\"\\\"2;!\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"V\\\"\\\"g3F\\\"\\\"N\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"6\\\"\\\"V\\\"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"fjoO\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"%\\\"\\\"2;!\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"V\\\"\\\"g3F\\\"\\\"N\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"6\\\"\\\"V\\\"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"fjoO\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"%\\\"\\\"2;!\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"V\\\"\\\"g3F\\\"\\\"N\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"6\\\"\\\"V\\\"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"fjoO\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"%\\\"\\\"2;!\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"V\\\"\\\"g3F\\\"\\\"N\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"6\\\"\\\"V\\\"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"fjoO\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"%\\\"\\\"2;!\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"V\\\"\\\"g3F\\\"\\\"N\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"6\\\"\\\"V\\\"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"fjoO\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"%\\\"\\\"2;!\\\"\",\n \"compute_pool\": \"\",\n \"spec\": {\n \"spec_type\": \"\"\n },\n \"external_access_integrations\": [\n \"\",\n \"\"\n ],\n \"auto_resume\": \"\",\n \"min_instances\": \"\",\n \"max_instances\": \"\",\n \"query_warehouse\": \"\\\"V\\\"\\\"g3F\\\"\\\"N\\\"\",\n \"comment\": \"\",\n \"database_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"6\\\"\\\"V\\\"\\\"\\\"\\\"\\\"\",\n \"schema_name\": \"fjoO\",\n \"owner\": \"\",\n \"dns_name\": \"\",\n \"created_on\": \"\",\n \"updated_on\": \"\",\n \"resumed_on\": \"\",\n \"owner_role_type\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/services?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "services" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "value", + "value": "Snowflake Token=\"{{sessionToken}}\"", + "type": "string" + }, + { + "key": "key", + "value": "Authorization", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "baseUrl", + "value": "https://org-account.snowflakecomputing.com" + }, + { + "key": "name", + "value": "ukygwG" + }, + { + "key": "name", + "value": "ukygwG" + } + ] +} \ No newline at end of file diff --git a/private-preview/8.12/collection/Snowflake Session API.postman_collection.json b/private-preview/8.12/collection/Snowflake Session API.postman_collection.json new file mode 100644 index 0000000..08d9508 --- /dev/null +++ b/private-preview/8.12/collection/Snowflake Session API.postman_collection.json @@ -0,0 +1,1871 @@ +{ + "info": { + "_postman_id": "12160131-018d-4ff5-8c7d-c6f3262ddb58", + "name": "Snowflake Session API", + "description": "The Snowflake Session API is a REST API that you can use to manage Snowflake sessions and session tokens.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28868798", + "_collection_link": "https://snowflake.postman.co/workspace/PrPr-Fast-Follow-up~221950c9-2cfb-4efc-9682-eac740a73ea5/collection/28868798-12160131-018d-4ff5-8c7d-c6f3262ddb58?action=share&source=collection_link&creator=28868798" + }, + "item": [ + { + "name": "api", + "item": [ + { + "name": "v2", + "item": [ + { + "name": "sessions", + "item": [ + { + "name": "{sessionId}", + "item": [ + { + "name": "Close a session", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId", + "value": "", + "description": "(Required) " + } + ] + }, + "description": "Close the current session" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{sessionId}:refresh-token", + "item": [ + { + "name": "Request new session tokens", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + }, + "description": "Request new session tokens by providing the master token." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"token\": \"\",\n \"validityInSeconds\": \"\",\n \"masterToken\": \"\",\n \"masterValidityInSeconds\": \"\",\n \"sessionId\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"sessionToken\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions", + "{{sessionId}}:refresh-token" + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "Create a session", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = pm.response.json();", + "pm.environment.set(\"sessionToken\", jsonData[\"token\"]);", + "pm.environment.set(\"masterToken\", jsonData[\"masterToken\"])", + "pm.environment.set(\"sessionId\", jsonData[\"sessionId\"])" + ], + "type": "text/javascript" + } + } + ], + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{bearerToken}}", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + }, + "description": "Create a session, with keys pairs or Oath authentication methods." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roleName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"token\": \"\",\n \"validityInSeconds\": \"\",\n \"masterToken\": \"\",\n \"masterValidityInSeconds\": \"\",\n \"sessionId\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roleName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roleName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roleName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roleName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roleName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roleName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roleName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roleName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roleName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "X-Snowflake-Authorization-Token-Type", + "value": "KEYPAIR_JWT" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: bearer", + "key": "Authorization", + "value": "Bearer " + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roleName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "sessions" + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + } + ] + } + ] + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "{{bearerToken}}", + "type": "string" + } + ] + }, + "variable": [ + { + "key": "baseUrl", + "value": "https://org-account.snowflakecomputing.com" + }, + { + "key": "sessionId", + "value": "" + } + ] +} \ No newline at end of file diff --git a/private-preview/8.12/collection/Snowflake Table API.postman_collection.json b/private-preview/8.12/collection/Snowflake Table API.postman_collection.json new file mode 100644 index 0000000..aa0e857 --- /dev/null +++ b/private-preview/8.12/collection/Snowflake Table API.postman_collection.json @@ -0,0 +1,9560 @@ +{ + "info": { + "_postman_id": "36b8436f-7860-4f4c-a5dc-5cbdbd7c1989", + "name": "Snowflake Table API", + "description": "The Snowflake Table API is a REST API that you can use to access, update, and perform certain actions on Tables resource in a Snowflake database.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28868798", + "_collection_link": "https://snowflake.postman.co/workspace/PrPr-Fast-Follow-up~221950c9-2cfb-4efc-9682-eac740a73ea5/collection/28868798-36b8436f-7860-4f4c-a5dc-5cbdbd7c1989?action=share&source=collection_link&creator=28868798" + }, + "item": [ + { + "name": "api", + "item": [ + { + "name": "v2", + "item": [ + { + "name": "databases", + "item": [ + { + "name": "{database}", + "item": [ + { + "name": "schemas", + "item": [ + { + "name": "{schema}", + "item": [ + { + "name": "tables", + "item": [ + { + "name": "{name}", + "item": [ + { + "name": "parameters", + "item": [ + { + "name": "effective", + "item": [ + { + "name": "Fetch the effective parameters of a table.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name/parameters/effective", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name", + "parameters", + "effective" + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Fetch the effective parameters of a table." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name/parameters/effective", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name", + "parameters", + "effective" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"deserunt31\": true,\n \"ut__bb\": false\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name/parameters/effective", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name", + "parameters", + "effective" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name/parameters/effective", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name", + "parameters", + "effective" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name/parameters/effective", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name", + "parameters", + "effective" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name/parameters/effective", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name", + "parameters", + "effective" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name/parameters/effective", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name", + "parameters", + "effective" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name/parameters/effective", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name", + "parameters", + "effective" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name/parameters/effective", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name", + "parameters", + "effective" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name/parameters/effective", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name", + "parameters", + "effective" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + } + ] + }, + { + "name": "Fetch a table.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Fetch a Table using the describe command output." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create a (or alter an existing) table.", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Create a (or alter an existing) table. Even if the operation is just an alter, the full property set must be provided." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Successful", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Delete a table", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Delete a table with the given name." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:clone", + "item": [ + { + "name": "Clone table", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"point_of_time\": {\n \"point_of_time_type\": \"reprehenderit cupidatat proident magna\",\n \"reference\": \"ex Lorem\"\n },\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:clone?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Create a new table by cloning from the specified resource" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"point_of_time\": {\n \"point_of_time_type\": \"reprehenderit cupidatat proident magna\",\n \"reference\": \"ex Lorem\"\n },\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:clone?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"point_of_time\": {\n \"point_of_time_type\": \"reprehenderit cupidatat proident magna\",\n \"reference\": \"ex Lorem\"\n },\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:clone?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"point_of_time\": {\n \"point_of_time_type\": \"reprehenderit cupidatat proident magna\",\n \"reference\": \"ex Lorem\"\n },\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:clone?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"point_of_time\": {\n \"point_of_time_type\": \"reprehenderit cupidatat proident magna\",\n \"reference\": \"ex Lorem\"\n },\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:clone?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"point_of_time\": {\n \"point_of_time_type\": \"reprehenderit cupidatat proident magna\",\n \"reference\": \"ex Lorem\"\n },\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:clone?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"point_of_time\": {\n \"point_of_time_type\": \"reprehenderit cupidatat proident magna\",\n \"reference\": \"ex Lorem\"\n },\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:clone?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"point_of_time\": {\n \"point_of_time_type\": \"reprehenderit cupidatat proident magna\",\n \"reference\": \"ex Lorem\"\n },\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:clone?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"point_of_time\": {\n \"point_of_time_type\": \"reprehenderit cupidatat proident magna\",\n \"reference\": \"ex Lorem\"\n },\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:clone?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"point_of_time\": {\n \"point_of_time_type\": \"reprehenderit cupidatat proident magna\",\n \"reference\": \"ex Lorem\"\n },\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:clone?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:clone" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:create_like", + "item": [ + { + "name": "Create a table like this existing one", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:create_like?createMode=errorIfExists©Grants=false&newTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:create_like" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Create a new table like the specified resource, but empty" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:create_like?createMode=errorIfExists©Grants=false&newTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:create_like" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:create_like?createMode=errorIfExists©Grants=false&newTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:create_like" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:create_like?createMode=errorIfExists©Grants=false&newTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:create_like" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:create_like?createMode=errorIfExists©Grants=false&newTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:create_like" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:create_like?createMode=errorIfExists©Grants=false&newTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:create_like" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:create_like?createMode=errorIfExists©Grants=false&newTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:create_like" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:create_like?createMode=errorIfExists©Grants=false&newTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:create_like" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:create_like?createMode=errorIfExists©Grants=false&newTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:create_like" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:create_like?createMode=errorIfExists©Grants=false&newTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:create_like" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:undrop", + "item": [ + { + "name": "Undrop a table", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:undrop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:undrop" + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Undrop specified table" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:undrop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:undrop" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:undrop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:undrop" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:undrop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:undrop" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:undrop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:undrop" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:undrop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:undrop" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:undrop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:undrop" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:undrop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:undrop" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:undrop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:undrop" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:undrop", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:undrop" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:suspend_recluster", + "item": [ + { + "name": "Suspend recluster of a table", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:suspend_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:suspend_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Suspend recluster of a table" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:suspend_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:suspend_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:suspend_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:suspend_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:suspend_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:suspend_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:suspend_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:suspend_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:suspend_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:suspend_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:suspend_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:suspend_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:suspend_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:suspend_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:suspend_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:suspend_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:suspend_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:suspend_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:resume_recluster", + "item": [ + { + "name": "Resume recluster of a table", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:resume_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:resume_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Resume recluster of a table" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:resume_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:resume_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:resume_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:resume_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:resume_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:resume_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:resume_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:resume_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:resume_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:resume_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:resume_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:resume_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:resume_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:resume_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:resume_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:resume_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:resume_recluster?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:resume_recluster" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:rename", + "item": [ + { + "name": "Rename a table", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:rename?ifExists=false&newName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "newName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Rename a table" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:rename?ifExists=false&newName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "newName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Location", + "value": "", + "description": { + "content": "", + "type": "text/plain" + } + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:rename?ifExists=false&newName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "newName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:rename?ifExists=false&newName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "newName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:rename?ifExists=false&newName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "newName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:rename?ifExists=false&newName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "newName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:rename?ifExists=false&newName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "newName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:rename?ifExists=false&newName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "newName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:rename?ifExists=false&newName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "newName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:rename?ifExists=false&newName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "newName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:swapwith", + "item": [ + { + "name": "Swap with another table", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:swapwith?ifExists=false&targetTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:swapwith" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "targetTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Swap with another table" + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:swapwith?ifExists=false&targetTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:swapwith" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "targetTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Location", + "value": "", + "description": { + "content": "", + "type": "text/plain" + } + }, + { + "key": "X-destination-location", + "value": "", + "description": { + "content": "", + "type": "text/plain" + } + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:swapwith?ifExists=false&targetTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:swapwith" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "targetTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:swapwith?ifExists=false&targetTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:swapwith" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "targetTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:swapwith?ifExists=false&targetTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:swapwith" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "targetTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:swapwith?ifExists=false&targetTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:swapwith" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "targetTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:swapwith?ifExists=false&targetTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:swapwith" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "targetTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:swapwith?ifExists=false&targetTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:swapwith" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "targetTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:swapwith?ifExists=false&targetTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:swapwith" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "targetTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables/{{name}}:swapwith?ifExists=false&targetTableName=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables", + "{{name}}:swapwith" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + }, + { + "key": "targetTableName", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "List tables", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "like", + "value": "", + "disabled": true + }, + { + "key": "startsWith", + "value": "", + "disabled": true + }, + { + "key": "showLimit", + "value": "", + "disabled": true + }, + { + "key": "fromName", + "value": "", + "disabled": true + }, + { + "key": "history", + "value": "", + "disabled": true + }, + { + "key": "deep", + "value": "", + "disabled": true + } + ], + "variable": [ + { + "key": "database", + "value": "REST_DB", + "description": "(Required) " + }, + { + "key": "schema", + "value": "TEST_SCHEMA", + "description": "(Required) " + } + ] + }, + "description": "Lists the tables under the database and schema." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?like=&startsWith=&showLimit=&fromName=&history=&deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + }, + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n },\n {\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n }\n]" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?like=&startsWith=&showLimit=&fromName=&history=&deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + }, + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?like=&startsWith=&showLimit=&fromName=&history=&deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + }, + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?like=&startsWith=&showLimit=&fromName=&history=&deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + }, + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?like=&startsWith=&showLimit=&fromName=&history=&deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + }, + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?like=&startsWith=&showLimit=&fromName=&history=&deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + }, + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?like=&startsWith=&showLimit=&fromName=&history=&deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + }, + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?like=&startsWith=&showLimit=&fromName=&history=&deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + }, + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?like=&startsWith=&showLimit=&fromName=&history=&deep=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + }, + { + "key": "fromName", + "value": "" + }, + { + "key": "history", + "value": "" + }, + { + "key": "deep", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create a table (clone and undrop are separate subresources)", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"table_name\",\n \"columns\": [\n {\n \"name\": \"id\",\n \"datatype\": \"INT\",\n \"nullable\": false\n },\n {\n \"name\": \"name\",\n \"datatype\": \"VARCHAR(255)\"\n },\n {\n \"name\": \"email\",\n \"datatype\": \"VARCHAR(255)\",\n \"nullable\": false\n },\n {\n \"name\": \"created_at\",\n \"datatype\": \"DATETIME\"\n }\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false", + "disabled": true + } + ], + "variable": [ + { + "key": "database", + "value": "REST_DB", + "description": "(Required) " + }, + { + "key": "schema", + "value": "TEST_SCHEMA", + "description": "(Required) " + } + ] + }, + "description": "Create a table." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables?createMode=errorIfExists©Grants=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "tables:as_select", + "item": [ + { + "name": "Create a table using the result of the specified select query", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:as_select?createMode=errorIfExists©Grants=false&select_query=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:as_select" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "select_query", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Create a table as select." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:as_select?createMode=errorIfExists©Grants=false&select_query=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:as_select" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "select_query", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:as_select?createMode=errorIfExists©Grants=false&select_query=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:as_select" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "select_query", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:as_select?createMode=errorIfExists©Grants=false&select_query=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:as_select" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "select_query", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:as_select?createMode=errorIfExists©Grants=false&select_query=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:as_select" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "select_query", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:as_select?createMode=errorIfExists©Grants=false&select_query=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:as_select" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "select_query", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:as_select?createMode=errorIfExists©Grants=false&select_query=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:as_select" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "select_query", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:as_select?createMode=errorIfExists©Grants=false&select_query=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:as_select" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "select_query", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:as_select?createMode=errorIfExists©Grants=false&select_query=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:as_select" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "select_query", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:as_select?createMode=errorIfExists©Grants=false&select_query=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:as_select" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "select_query", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"kind\": \"\",\n \"cluster_by\": [\n \"\",\n \"\"\n ],\n \"enable_schema_evolution\": \"\",\n \"change_tracking\": \"\",\n \"data_retention_time_in_days\": \"\",\n \"max_data_extension_time_in_days\": \"\",\n \"default_ddl_collation\": \"\",\n \"columns\": [\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n },\n {\n \"name\": \"\",\n \"datatype\": \"\",\n \"nullable\": true,\n \"collate\": \"\",\n \"default\": \"\",\n \"autoincrement\": \"\",\n \"autoincrement_start\": \"\",\n \"autoincrement_increment\": \"\",\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\"\n }\n ],\n \"constraints\": [\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n },\n {\n \"name\": \"\",\n \"column_names\": [\n \"\",\n \"\"\n ],\n \"constraint_type\": \"\"\n }\n ],\n \"comment\": \"\",\n \"created_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"rows\": \"\",\n \"bytes\": \"\",\n \"owner\": \"\",\n \"dropped_on\": \"\",\n \"automatic_clustering\": \"\",\n \"search_optimization\": \"\",\n \"search_optimization_progress\": \"\",\n \"search_optimization_bytes\": \"\",\n \"owner_role_type\": \"\",\n \"budget\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:as_select?createMode=errorIfExists©Grants=false&select_query=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:as_select" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "select_query", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "tables:using_template", + "item": [ + { + "name": "Create a table using the templates specified in staged files", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:using_template?createMode=errorIfExists©Grants=false&newTableName=&template=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:using_template" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + }, + { + "key": "template", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"", + "description": "(Required) " + } + ] + }, + "description": "Create a table using template." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:using_template?createMode=errorIfExists©Grants=false&newTableName=&template=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:using_template" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + }, + { + "key": "template", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:using_template?createMode=errorIfExists©Grants=false&newTableName=&template=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:using_template" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + }, + { + "key": "template", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:using_template?createMode=errorIfExists©Grants=false&newTableName=&template=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:using_template" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + }, + { + "key": "template", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:using_template?createMode=errorIfExists©Grants=false&newTableName=&template=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:using_template" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + }, + { + "key": "template", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:using_template?createMode=errorIfExists©Grants=false&newTableName=&template=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:using_template" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + }, + { + "key": "template", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:using_template?createMode=errorIfExists©Grants=false&newTableName=&template=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:using_template" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + }, + { + "key": "template", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:using_template?createMode=errorIfExists©Grants=false&newTableName=&template=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:using_template" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + }, + { + "key": "template", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:using_template?createMode=errorIfExists©Grants=false&newTableName=&template=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:using_template" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + }, + { + "key": "template", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:using_template?createMode=errorIfExists©Grants=false&newTableName=&template=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:using_template" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + }, + { + "key": "template", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tables:using_template?createMode=errorIfExists©Grants=false&newTableName=&template=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tables:using_template" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + }, + { + "key": "copyGrants", + "value": "false" + }, + { + "key": "newTableName", + "value": "", + "description": "(Required) " + }, + { + "key": "template", + "value": "", + "description": "(Required) " + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "Authorization", + "type": "string" + }, + { + "key": "value", + "value": "Snowflake Token=\"{{sessionToken}}\"", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "baseUrl", + "value": "https://org-account.snowflakecomputing.com" + }, + { + "key": "name", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"" + }, + { + "key": "name", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"" + }, + { + "key": "name", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"" + }, + { + "key": "name", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"" + }, + { + "key": "name", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"" + }, + { + "key": "name", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"" + }, + { + "key": "name", + "value": "\"u\"\"\"\"~F2\"\"\"\"\"\"']\"" + } + ] +} \ No newline at end of file diff --git a/private-preview/8.12/collection/Snowflake Task API.postman_collection.json b/private-preview/8.12/collection/Snowflake Task API.postman_collection.json new file mode 100644 index 0000000..021e820 --- /dev/null +++ b/private-preview/8.12/collection/Snowflake Task API.postman_collection.json @@ -0,0 +1,7042 @@ +{ + "info": { + "_postman_id": "a115ddfd-7c28-48ba-8ff2-3e9e29474a41", + "name": "Snowflake Task API", + "description": "The Snowflake Task API is a REST API that you can use to access, update, and perform certain actions on task resources in a Snowflake database.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28868798", + "_collection_link": "https://snowflake.postman.co/workspace/PrPr-Fast-Follow-up~221950c9-2cfb-4efc-9682-eac740a73ea5/collection/28868798-a115ddfd-7c28-48ba-8ff2-3e9e29474a41?action=share&source=collection_link&creator=28868798" + }, + "item": [ + { + "name": "api", + "item": [ + { + "name": "v2", + "item": [ + { + "name": "databases", + "item": [ + { + "name": "{database}", + "item": [ + { + "name": "schemas", + "item": [ + { + "name": "{schema}", + "item": [ + { + "name": "tasks", + "item": [ + { + "name": "{name}", + "item": [ + { + "name": "dependents", + "item": [ + { + "name": "Fetch the dependent tasks of a task", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "dependents" + ], + "variable": [ + { + "key": "database", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "This operation returns a list of the dependent tasks of the task with identifier {name}." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "dependents" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"name\": \"fWu4\",\n \"definition\": \"\",\n \"warehouse\": \"dV\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"nostrud_8\": false,\n \"aliquip__d\": false\n },\n \"session_parameters\": {\n \"nostrud3f8\": 22755800.201501667\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n {\n \"name\": \"\\\"\\\"\\\"\\\"\\\".\\\"\\\"U\\\"\\\":\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"o3szi7wpOd\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"in_6\": \"est consequat aliqua\",\n \"exa\": 17448603\n },\n \"session_parameters\": {\n \"occaecat_5\": \"Excepteur n\",\n \"nulla_bd\": 92080234.07344571\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"started\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n }\n]" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "dependents" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "dependents" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "dependents" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "dependents" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "dependents" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "dependents" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "dependents" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "dependents" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "dependents" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "current_graphs", + "item": [ + { + "name": "Get the graph runs that are executing or scheduled for the task for the next 8 days.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "current_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "This function returns details for graph runs that are currently executing or are next scheduled to run within the next 8 days." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "current_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"root_task_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"state\": \"FAILED\",\n \"scheduled_time\": \"\",\n \"next_scheduled_time\": \"\",\n \"root_task_id\": \"\",\n \"graph_version\": \"\",\n \"run_id\": \"\",\n \"first_error_task_name\": \"\",\n \"first_error_code\": \"\",\n \"first_error_message\": \"\",\n \"query_start_time\": \"\",\n \"completed_time\": \"\"\n },\n {\n \"root_task_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"state\": \"CANCELLED\",\n \"scheduled_time\": \"\",\n \"next_scheduled_time\": \"\",\n \"root_task_id\": \"\",\n \"graph_version\": \"\",\n \"run_id\": \"\",\n \"first_error_task_name\": \"\",\n \"first_error_code\": \"\",\n \"first_error_message\": \"\",\n \"query_start_time\": \"\",\n \"completed_time\": \"\"\n }\n]" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "current_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "current_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "current_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "current_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "current_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "current_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "current_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "current_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "current_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "complete_graphs", + "item": [ + { + "name": "Get the graph runs that are completed for the task.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "complete_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "", + "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." + }, + { + "key": "errorOnly", + "value": "", + "description": "Whether to only return results for tasks runs that have failed. Default is false." + } + ], + "variable": [ + { + "key": "database", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "This function returns details for graph runs that are completed." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "complete_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "", + "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." + }, + { + "key": "errorOnly", + "value": "", + "description": "Whether to only return results for tasks runs that have failed. Default is false." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"root_task_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"state\": \"FAILED\",\n \"scheduled_time\": \"\",\n \"next_scheduled_time\": \"\",\n \"root_task_id\": \"\",\n \"graph_version\": \"\",\n \"run_id\": \"\",\n \"first_error_task_name\": \"\",\n \"first_error_code\": \"\",\n \"first_error_message\": \"\",\n \"query_start_time\": \"\",\n \"completed_time\": \"\"\n },\n {\n \"root_task_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"state\": \"CANCELLED\",\n \"scheduled_time\": \"\",\n \"next_scheduled_time\": \"\",\n \"root_task_id\": \"\",\n \"graph_version\": \"\",\n \"run_id\": \"\",\n \"first_error_task_name\": \"\",\n \"first_error_code\": \"\",\n \"first_error_message\": \"\",\n \"query_start_time\": \"\",\n \"completed_time\": \"\"\n }\n]" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "complete_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "", + "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." + }, + { + "key": "errorOnly", + "value": "", + "description": "Whether to only return results for tasks runs that have failed. Default is false." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "complete_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "", + "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." + }, + { + "key": "errorOnly", + "value": "", + "description": "Whether to only return results for tasks runs that have failed. Default is false." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "complete_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "", + "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." + }, + { + "key": "errorOnly", + "value": "", + "description": "Whether to only return results for tasks runs that have failed. Default is false." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "complete_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "", + "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." + }, + { + "key": "errorOnly", + "value": "", + "description": "Whether to only return results for tasks runs that have failed. Default is false." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "complete_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "", + "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." + }, + { + "key": "errorOnly", + "value": "", + "description": "Whether to only return results for tasks runs that have failed. Default is false." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "complete_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "", + "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." + }, + { + "key": "errorOnly", + "value": "", + "description": "Whether to only return results for tasks runs that have failed. Default is false." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "complete_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "", + "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." + }, + { + "key": "errorOnly", + "value": "", + "description": "Whether to only return results for tasks runs that have failed. Default is false." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "complete_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "", + "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." + }, + { + "key": "errorOnly", + "value": "", + "description": "Whether to only return results for tasks runs that have failed. Default is false." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name", + "complete_graphs" + ], + "query": [ + { + "key": "resultLimit", + "value": "", + "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." + }, + { + "key": "errorOnly", + "value": "", + "description": "Whether to only return results for tasks runs that have failed. Default is false." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "Fetch a task", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Fetch a task using the describe command output." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create a (or alter an existing) task", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Create a (or alter an existing) task. Even if the operation is just an alter, the full property set must be provided." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Delete a task", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "name", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Delete a task with the task name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + }, + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:execute", + "item": [ + { + "name": "Execute a task object.", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:execute" + ], + "query": [ + { + "key": "retryLast", + "value": "false", + "description": "Retry the last failed run of the DAG." + } + ], + "variable": [ + { + "key": "database", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Execute a task -- this is equivalent to EXECUTE IMMEDIATE." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:execute" + ], + "query": [ + { + "key": "retryLast", + "value": "false", + "description": "Retry the last failed run of the DAG." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:execute" + ], + "query": [ + { + "key": "retryLast", + "value": "false", + "description": "Retry the last failed run of the DAG." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:execute" + ], + "query": [ + { + "key": "retryLast", + "value": "false", + "description": "Retry the last failed run of the DAG." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:execute" + ], + "query": [ + { + "key": "retryLast", + "value": "false", + "description": "Retry the last failed run of the DAG." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:execute" + ], + "query": [ + { + "key": "retryLast", + "value": "false", + "description": "Retry the last failed run of the DAG." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:execute" + ], + "query": [ + { + "key": "retryLast", + "value": "false", + "description": "Retry the last failed run of the DAG." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:execute" + ], + "query": [ + { + "key": "retryLast", + "value": "false", + "description": "Retry the last failed run of the DAG." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:execute" + ], + "query": [ + { + "key": "retryLast", + "value": "false", + "description": "Retry the last failed run of the DAG." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:execute" + ], + "query": [ + { + "key": "retryLast", + "value": "false", + "description": "Retry the last failed run of the DAG." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:execute" + ], + "query": [ + { + "key": "retryLast", + "value": "false", + "description": "Retry the last failed run of the DAG." + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:resume", + "item": [ + { + "name": "Resume a suspended task.", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Resumes a suspended task object. This is equivalento an ALTER TASK ... RESUME." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:resume" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:suspend", + "item": [ + { + "name": "Suspends a running task.", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Suspends a running task. This is equivalent to an ALTER TASK ... SUSPEND." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks", + "{{name}}:suspend" + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "List tasks", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Lists tasks under the database and schema, with show options as query parameters." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"name\": \"fWu4\",\n \"definition\": \"\",\n \"warehouse\": \"dV\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"nostrud_8\": false,\n \"aliquip__d\": false\n },\n \"session_parameters\": {\n \"nostrud3f8\": 22755800.201501667\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n {\n \"name\": \"\\\"\\\"\\\"\\\"\\\".\\\"\\\"U\\\"\\\":\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"o3szi7wpOd\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"in_6\": \"est consequat aliqua\",\n \"exa\": 17448603\n },\n \"session_parameters\": {\n \"occaecat_5\": \"Excepteur n\",\n \"nulla_bd\": 92080234.07344571\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"started\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n }\n]" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "rootOnly", + "value": "false" + }, + { + "key": "like", + "value": "" + }, + { + "key": "startsWith", + "value": "" + }, + { + "key": "showLimit", + "value": "" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Create a task", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + }, + { + "key": "schema", + "value": "\"\"\"\"\"\"\"\"\"\"", + "description": "(Required) " + } + ] + }, + "description": "Create a task, with standard create modifiers as query parameters. See the Task component definition for what is required to be provided in the request body." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\\\"\\\"\\\"zaX3\\\"\\\"D\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\"\\\"\\\"go\\\"\\\"\\\"\\\"\\\"\\\"Ane\\\"\",\n \"schedule\": {\n \"schedule_type\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"eiusmod_6ae\": -31230176.483643398,\n \"tempor__f\": \"exercitation cupidatat laborum eiusmod\"\n },\n \"session_parameters\": {\n \"magna_4\": -95061975,\n \"nulla_5\": -54116813.73612733,\n \"deserunt711\": true\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "databases", + ":database", + "schemas", + ":schema", + "tasks" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ], + "variable": [ + { + "key": "database" + }, + { + "key": "schema" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "Authorization", + "type": "string" + }, + { + "key": "value", + "value": "Snowflake Token=\"{{sessionToken}}\"", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "baseUrl", + "value": "https://org-account.snowflakecomputing.com" + }, + { + "key": "name", + "value": "\"\"\"\"\"\"\"\"\"\"" + }, + { + "key": "name", + "value": "\"\"\"\"\"\"\"\"\"\"" + }, + { + "key": "name", + "value": "\"\"\"\"\"\"\"\"\"\"" + } + ] +} \ No newline at end of file diff --git a/private-preview/8.12/collection/Snowflake Warehouse API.postman_collection.json b/private-preview/8.12/collection/Snowflake Warehouse API.postman_collection.json new file mode 100644 index 0000000..1f33202 --- /dev/null +++ b/private-preview/8.12/collection/Snowflake Warehouse API.postman_collection.json @@ -0,0 +1,5880 @@ +{ + "info": { + "_postman_id": "ceb89b74-b220-45f6-90eb-251b635f71f0", + "name": "Snowflake Warehouse API", + "description": "The Snowflake Warehouse API is a REST API that you can use to access, customize and manage virtual warehouse in a Snowflake account.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28868798", + "_collection_link": "https://snowflake.postman.co/workspace/PrPr-Fast-Follow-up~221950c9-2cfb-4efc-9682-eac740a73ea5/collection/28868798-ceb89b74-b220-45f6-90eb-251b635f71f0?action=share&source=collection_link&creator=28868798" + }, + "item": [ + { + "name": "api", + "item": [ + { + "name": "v2", + "item": [ + { + "name": "warehouses", + "item": [ + { + "name": "{name}", + "item": [ + { + "name": "Describe warehouse", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name", + "value": "\"C:\"", + "description": "(Required) " + } + ] + }, + "description": "Describes the warehouse, show information of the chosen warehouse. Equivalent to DESCRIBE WAREHOUSE in SQL." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gone. This error is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gone", + "code": 410, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "Drop warehouse", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name", + "value": "\"C:\"", + "description": "(Required) " + } + ] + }, + "description": "Removes the specified virtual warehouse from the system. Equivalent to DROP WAREHOUSE in SQL." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gone. This error is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gone", + "code": 410, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "update properties of the warehouse", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name", + "value": "\"C:\"", + "description": "(Required) " + } + ] + }, + "description": "Specifies one or more properties/parameters to set for the warehouse. If one parameter is not specified, it will be unset, which means it will be reset to default." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gone. This error is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gone", + "code": 410, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/:name?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + ":name" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ], + "variable": [ + { + "key": "name" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:resume", + "item": [ + { + "name": "resume warehouse", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + }, + "description": "Bring current warehouse to a usable ‘Running’ state by provisioning compute resources if current warehouse is suspended." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gone. This error is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Gone", + "code": 410, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:resume?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:resume" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:suspend", + "item": [ + { + "name": "suspend warehouse", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + }, + "description": "Remove all compute nodes from a warehouse and put the warehouse into a ‘Suspended’ state if current warehouse is not suspended." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gone. This error is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Gone", + "code": 410, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:suspend?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:suspend" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:rename", + "item": [ + { + "name": "update and rename warehouse", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + }, + "description": "Specifies a new identifier for the warehouse; must be unique for current account." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gone. This error is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Gone", + "code": 410, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:rename?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:rename" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:abort", + "item": [ + { + "name": "abort all queries", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + }, + "description": "Aborts all the queries currently running or queued on the warehouse." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gone. This error is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Gone", + "code": 410, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:abort?ifExists=false", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:abort" + ], + "query": [ + { + "key": "ifExists", + "value": "false" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "{name}:use", + "item": [ + { + "name": "use current warehouse for session", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + }, + "description": "Specifies the active/current warehouse for the session." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gone. This error is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "Gone", + "code": 410, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses/{{name}}:use", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses", + "{{name}}:use" + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "Create or replace warehouse", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"myWarehouse\",\n \"warehouse_size\": \"SMALL\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + }, + "description": "Create a virtual warehouse. Equivalent to CREATE WAREHOUSE in SQL." + }, + "response": [ + { + "name": "Successful", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"status\": \"\"\n}" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gone. This error is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + } + }, + "status": "Gone", + "code": 410, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"p\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"true\",\n \"resource_monitor\": \"CWEM\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"deserunt0f\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?createMode=errorIfExists", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "createMode", + "value": "errorIfExists" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + }, + { + "name": "List warehouse", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "", + "disabled": true + } + ] + }, + "description": "Show a list of warehouse filtered by pattern. Equivalent to SHOW WAREHOUSE in SQL." + }, + "response": [ + { + "name": "successful", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"name\": \"UY6CN5h0v2\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"false\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"false\",\n \"resource_monitor\": \"\\\"\\\"\\\"\\\"\\\"J\\\"\\\")\\\"\\\"^\\\"\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"adipisicing9\": \"\",\n \"tempor_3bf\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n },\n {\n \"name\": \"\\\"t\\\"\\\"\\\"\\\"oV\\\"\\\"\\\"\\\"(\\\"\\\"Bu\\\"\",\n \"warehouse_type\": \"\",\n \"warehouse_size\": \"\",\n \"wait_for_completion\": \"true\",\n \"max_cluster_count\": \"\",\n \"min_cluster_count\": \"\",\n \"scaling_policy\": \"\",\n \"auto_suspend\": \"\",\n \"auto_resume\": \"true\",\n \"initially_suspended\": \"false\",\n \"resource_monitor\": \"\\\"% \\\"\\\"%w[@>\\\"\\\"a\\\"\",\n \"comment\": \"\",\n \"enable_query_acceleration\": \"false\",\n \"query_acceleration_max_scale_factor\": \"\",\n \"max_concurrency_level\": \"\",\n \"statement_queued_timeout_in_seconds\": \"\",\n \"statement_timeout_in_seconds\": \"\",\n \"tags\": {\n \"fugiatf4f\": \"\",\n \"officia_8\": \"\"\n },\n \"type\": \"\",\n \"size\": \"\",\n \"state\": \"\",\n \"started_clusters\": \"\",\n \"running\": \"\",\n \"queued\": \"\",\n \"is_default\": \"\",\n \"is_current\": \"\",\n \"available\": \"\",\n \"provisioning\": \"\",\n \"quiescing\": \"\",\n \"other\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\",\n \"budget\": \"\",\n \"kind\": \"\"\n }\n]" + }, + { + "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "Unauthorized", + "code": 401, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "Forbidden", + "code": 403, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gone. This error is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "Gone", + "code": 410, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "Too Many Requests", + "code": 429, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "Service Unavailable", + "code": 503, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + }, + { + "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/api/v2/warehouses?like=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "api", + "v2", + "warehouses" + ], + "query": [ + { + "key": "like", + "value": "" + } + ] + } + }, + "status": "Gateway Timeout", + "code": 504, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" + } + ] + } + ] + } + ] + } + ] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "Authorization", + "type": "string" + }, + { + "key": "value", + "value": "Snowflake Token=\"{{sessionToken}}\"", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "baseUrl", + "value": "https://org-account.snowflakecomputing.com" + }, + { + "key": "name", + "value": "\"C:\"" + }, + { + "key": "name", + "value": "\"C:\"" + }, + { + "key": "name", + "value": "\"C:\"" + }, + { + "key": "name", + "value": "\"C:\"" + }, + { + "key": "name", + "value": "\"C:\"" + } + ] +} \ No newline at end of file diff --git a/private-preview/8.12/collection/TestEnv.postman_environment.json b/private-preview/8.12/collection/TestEnv.postman_environment.json new file mode 100644 index 0000000..0753a4c --- /dev/null +++ b/private-preview/8.12/collection/TestEnv.postman_environment.json @@ -0,0 +1,87 @@ +{ + "id": "50c76094-4718-4e29-89be-e14caf344f88", + "name": "TestEnv", + "values": [ + { + "key": "bearerToken", + "value": "", + "type": "any", + "enabled": true + }, + { + "key": "baseUrl", + "value": "https://account.snowflakecomputing.com", + "type": "default", + "enabled": true + }, + { + "key": "sessionToken", + "value": "", + "type": "any", + "enabled": true + }, + { + "key": "masterToken", + "value": "", + "type": "any", + "enabled": true + }, + { + "key": "sessionId", + "value": "", + "type": "any", + "enabled": true + }, + { + "key": "database", + "value": "test_db", + "type": "default", + "enabled": true + }, + { + "key": "schema", + "value": "test_sc", + "type": "default", + "enabled": true + }, + { + "key": "warehouse", + "value": "test_wh", + "type": "default", + "enabled": true + }, + { + "key": "task_name", + "value": "test_task", + "type": "default", + "enabled": true + }, + { + "key": "image_repository_name", + "value": "test_image_repository", + "type": "default", + "enabled": true + }, + { + "key": "compute_pool_name", + "value": "test_compute_pool", + "type": "default", + "enabled": true + }, + { + "key": "service_name", + "value": "test_service", + "type": "default", + "enabled": true + }, + { + "key": "table_name", + "value": "test_table", + "type": "default", + "enabled": true + } + ], + "_postman_variable_scope": "environment", + "_postman_exported_at": "2024-04-01T20:49:56.224Z", + "_postman_exported_using": "Postman/10.21.14" +} \ No newline at end of file From c89ea3daab745a28a9895eae9e859538a5e47eee Mon Sep 17 00:00:00 2001 From: Zihan Li Date: Mon, 1 Apr 2024 13:52:56 -0700 Subject: [PATCH 2/2] remove staled specs and collections --- ... Compute Pools API.postman_collection.json | 3137 ------- ...e Repositories API.postman_collection.json | 2484 ------ ...flake Sessions API.postman_collection.json | 2027 ----- ...nowflake Tasks API.postman_collection.json | 7237 ----------------- .../TestEnv.postman_environment.json | 75 - .../2023-11-13-private-preview/common.yaml | 310 - .../compute-pools.yaml | 307 - .../image-repositories.yaml | 195 - .../2023-11-13-private-preview/sessions.yaml | 175 - .../2023-11-13-private-preview/tasks.yaml | 641 -- 10 files changed, 16588 deletions(-) delete mode 100644 collection/private-preview/2023-11-13-private-preview/Snowflake Compute Pools API.postman_collection.json delete mode 100644 collection/private-preview/2023-11-13-private-preview/Snowflake Image Repositories API.postman_collection.json delete mode 100644 collection/private-preview/2023-11-13-private-preview/Snowflake Sessions API.postman_collection.json delete mode 100644 collection/private-preview/2023-11-13-private-preview/Snowflake Tasks API.postman_collection.json delete mode 100644 collection/private-preview/2023-11-13-private-preview/TestEnv.postman_environment.json delete mode 100644 specification/private-preview/2023-11-13-private-preview/common.yaml delete mode 100644 specification/private-preview/2023-11-13-private-preview/compute-pools.yaml delete mode 100644 specification/private-preview/2023-11-13-private-preview/image-repositories.yaml delete mode 100644 specification/private-preview/2023-11-13-private-preview/sessions.yaml delete mode 100644 specification/private-preview/2023-11-13-private-preview/tasks.yaml diff --git a/collection/private-preview/2023-11-13-private-preview/Snowflake Compute Pools API.postman_collection.json b/collection/private-preview/2023-11-13-private-preview/Snowflake Compute Pools API.postman_collection.json deleted file mode 100644 index 8ec591d..0000000 --- a/collection/private-preview/2023-11-13-private-preview/Snowflake Compute Pools API.postman_collection.json +++ /dev/null @@ -1,3137 +0,0 @@ -{ - "info": { - "_postman_id": "991bc617-04b4-4650-9bed-01b35e8b33ff", - "name": "Snowflake Compute Pools API", - "description": "The Snowflake Compute Pools API is a REST API that you can use to access, update, and perform certain actions on Compute Pool resources.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "28868798", - "_collection_link": "https://snowflake.postman.co/workspace/SnowApi-Demo~576e3337-09c5-4d42-a068-1fb91ebec0b9/collection/28868798-991bc617-04b4-4650-9bed-01b35e8b33ff?action=share&source=collection_link&creator=28868798" - }, - "item": [ - { - "name": "api", - "item": [ - { - "name": "v2", - "item": [ - { - "name": "compute-pools", - "item": [ - { - "name": "{name}", - "item": [ - { - "name": "Fetch a compute pool.", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "variable": [ - { - "key": "name", - "value": "{{compute_pool_name}}", - "description": "(Required) " - } - ] - }, - "description": "Fetch a compute pool using the SHOW command output." - }, - "response": [ - { - "name": "successful", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"name\": \"CZ82wIQJ\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"hYkM0DuY\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"SUSPENDED\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - }, - { - "name": "Delete a compute pool", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "name", - "value": "{{compute_pool_name}}", - "description": "(Required) " - } - ] - }, - "description": "Delete a compute pool with the given name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a 404 failure if the drop is unsuccessful." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "name" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "{name}:resume", - "item": [ - { - "name": "Resume a compute pool", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:resume" - ] - }, - "description": "Resume a compute pool, if suspended. This is a no-op if it is already running." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:resume" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:resume" - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:resume" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:resume" - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:resume" - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:resume" - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:resume" - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:resume" - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:resume" - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "{name}:suspend", - "item": [ - { - "name": "Perform an action on a compute pool", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:suspend" - ] - }, - "description": "Suspend a compute pool." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:suspend" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:suspend" - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:suspend" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:suspend" - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:suspend" - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:suspend" - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:suspend" - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:suspend" - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:suspend" - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "{name}:stopallservices", - "item": [ - { - "name": "Stops all services on the compute pool.", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:stopallservices" - ] - }, - "description": "Stop all services in the compute pool." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:stopallservices" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:stopallservices" - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:stopallservices" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:stopallservices" - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:stopallservices" - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:stopallservices" - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:stopallservices" - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:stopallservices" - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools/{{name}}:stopallservices", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools", - "{{name}}:stopallservices" - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "List compute pools", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?like=%computePoolName%&startsWith=compute%&showLimit=10", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "like", - "value": "%computePoolName%" - }, - { - "key": "startsWith", - "value": "compute%" - }, - { - "key": "showLimit", - "value": "10" - } - ] - }, - "description": "Lists the compute pools under the account." - }, - "response": [ - { - "name": "successful", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n {\n \"name\": \"_dBj\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"jprqFqc\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n },\n {\n \"name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\\\"\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"\\\",\\\"\\\"\\\"\\\"#\\\"\\\"\\\"\\\"\\\"\\\"F\\\"\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"RESIZING\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n }\n]" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - }, - { - "name": "Create a compute pool", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"{{compute_pool_name}}\",\n \"instance_family\": \"family\",\n \"min_nodes\": 3,\n \"max_nodes\": 10,\n \"auto_resume\": true,\n \"auto_suspend_secs\": 10\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=ifNotExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "createMode", - "value": "ifNotExists" - } - ] - }, - "description": "Create a compute pool, with standard create modifiers as query parameters. See the Compute Pool component definition for what is required to be provided in the request body." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CZ82wIQJ\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"hYkM0DuY\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"SUSPENDED\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CZ82wIQJ\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"hYkM0DuY\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"SUSPENDED\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CZ82wIQJ\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"hYkM0DuY\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"SUSPENDED\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CZ82wIQJ\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"hYkM0DuY\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"SUSPENDED\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CZ82wIQJ\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"hYkM0DuY\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"SUSPENDED\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CZ82wIQJ\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"hYkM0DuY\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"SUSPENDED\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CZ82wIQJ\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"hYkM0DuY\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"SUSPENDED\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ] - } - }, - "status": "Conflict", - "code": 409, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CZ82wIQJ\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"hYkM0DuY\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"SUSPENDED\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CZ82wIQJ\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"hYkM0DuY\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"SUSPENDED\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"CZ82wIQJ\",\n \"instance_family\": \"\",\n \"min_nodes\": \"\",\n \"max_nodes\": \"\",\n \"warehouse\": \"hYkM0DuY\",\n \"auto_resume\": \"\",\n \"comment\": \"\",\n \"state\": \"SUSPENDED\",\n \"num_services\": \"\",\n \"auto_suspend_secs\": \"\",\n \"active_nodes\": \"\",\n \"idle_nodes\": \"\",\n \"created_on\": \"\",\n \"resumed_on\": \"\",\n \"updated_on\": \"\",\n \"owner\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/compute-pools?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "compute-pools" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - } - ] - } - ] - } - ], - "variable": [ - { - "key": "baseUrl", - "value": "https://org-account.snowflakecomputing.com" - }, - { - "key": "name", - "value": "gVWQ" - }, - { - "key": "name", - "value": "gVWQ" - }, - { - "key": "name", - "value": "gVWQ" - } - ] -} \ No newline at end of file diff --git a/collection/private-preview/2023-11-13-private-preview/Snowflake Image Repositories API.postman_collection.json b/collection/private-preview/2023-11-13-private-preview/Snowflake Image Repositories API.postman_collection.json deleted file mode 100644 index e1b5b53..0000000 --- a/collection/private-preview/2023-11-13-private-preview/Snowflake Image Repositories API.postman_collection.json +++ /dev/null @@ -1,2484 +0,0 @@ -{ - "info": { - "_postman_id": "8fc545f0-179f-47d8-b439-2bc97d3f9ede", - "name": "Snowflake Image Repositories API", - "description": "The Snowflake Image Repositories API is a REST API that you can use to access, update, and perform certain actions on Image Repository resources in Snowflake.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "28868798", - "_collection_link": "https://snowflake.postman.co/workspace/SnowApi-Demo~576e3337-09c5-4d42-a068-1fb91ebec0b9/collection/28868798-8fc545f0-179f-47d8-b439-2bc97d3f9ede?action=share&source=collection_link&creator=28868798" - }, - "item": [ - { - "name": "api", - "item": [ - { - "name": "v2", - "item": [ - { - "name": "databases", - "item": [ - { - "name": "{database}", - "item": [ - { - "name": "schemas", - "item": [ - { - "name": "{schema}", - "item": [ - { - "name": "image-repositories", - "item": [ - { - "name": "{name}", - "item": [ - { - "name": "Fetch an image repository.", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - }, - { - "key": "name", - "value": "{{image_repository_name}}", - "description": "(Required) " - } - ] - }, - "description": "Fetch an image repository using the SHOW command output." - }, - "response": [ - { - "name": "successful", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"w~\\\"\\\"z\\\"\\\"\\\"\",\n \"database_name\": \"J\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - }, - { - "name": "Delete an image repository", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - }, - { - "key": "name", - "value": "{{image_repository_name}}", - "description": "(Required) " - } - ] - }, - "description": "Delete an image repository with the given name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "List image repositories", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=%imageRepositoryName%", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "like", - "value": "%imageRepositoryName%" - } - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - } - ] - }, - "description": "Lists the image repositories under the database and schema." - }, - "response": [ - { - "name": "successful", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "like", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n {\n \"name\": \"_QI7\",\n \"database_name\": \"\\\",\\\"\",\n \"schema_name\": \"\\\"\\\"\\\"\\\"\\\"\\\"\\\"YB\\\"\\\"\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n },\n {\n \"name\": \"NxVOOv\",\n \"database_name\": \"\\\"n\\\"\\\"\\\"\\\"\\\"\\\"k\\\"\\\"\\\"\\\"Q\\\"\\\"r\\\"\",\n \"schema_name\": \"VoNKPUq\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n }\n]" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "like", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "like", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "like", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "like", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "like", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "like", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Conflict", - "code": 409, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "like", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "like", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?like=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "like", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - }, - { - "name": "Create an image repository", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"{{image_repository_name}}\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=orReplace", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "createMode", - "value": "orReplace" - } - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - } - ] - }, - "description": "Create an image repository, with standard create modifiers as query parameters. See the ImageRepository component definition for what is required to be provided in the request body." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"w~\\\"\\\"z\\\"\\\"\\\"\",\n \"database_name\": \"J\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"w~\\\"\\\"z\\\"\\\"\\\"\",\n \"database_name\": \"J\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"w~\\\"\\\"z\\\"\\\"\\\"\",\n \"database_name\": \"J\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"w~\\\"\\\"z\\\"\\\"\\\"\",\n \"database_name\": \"J\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"w~\\\"\\\"z\\\"\\\"\\\"\",\n \"database_name\": \"J\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"w~\\\"\\\"z\\\"\\\"\\\"\",\n \"database_name\": \"J\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"w~\\\"\\\"z\\\"\\\"\\\"\",\n \"database_name\": \"J\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Conflict", - "code": 409, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"w~\\\"\\\"z\\\"\\\"\\\"\",\n \"database_name\": \"J\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"w~\\\"\\\"z\\\"\\\"\\\"\",\n \"database_name\": \"J\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"\\\"\\\"\\\"\\\"\\\"w~\\\"\\\"z\\\"\\\"\\\"\",\n \"database_name\": \"J\",\n \"schema_name\": \"\\\"\\\"\\\"9\\\"\\\"\\\"\",\n \"created_on\": \"\",\n \"repository_url\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/image-repositories?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "image-repositories" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ], - "variable": [ - { - "key": "baseUrl", - "value": "https://org-account.snowflakecomputing.com" - } - ] -} \ No newline at end of file diff --git a/collection/private-preview/2023-11-13-private-preview/Snowflake Sessions API.postman_collection.json b/collection/private-preview/2023-11-13-private-preview/Snowflake Sessions API.postman_collection.json deleted file mode 100644 index b0cdce9..0000000 --- a/collection/private-preview/2023-11-13-private-preview/Snowflake Sessions API.postman_collection.json +++ /dev/null @@ -1,2027 +0,0 @@ -{ - "info": { - "_postman_id": "5b5d94f2-fcac-4032-a88c-16783d9fd9a3", - "name": "Snowflake Sessions API", - "description": "The Snowflake Sessions API is a REST API that you can use to manage Snowflake sessions and session tokens.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "28868798", - "_collection_link": "https://snowflake.postman.co/workspace/SnowApi-Demo~576e3337-09c5-4d42-a068-1fb91ebec0b9/collection/28868798-5b5d94f2-fcac-4032-a88c-16783d9fd9a3?action=share&source=collection_link&creator=28868798" - }, - "item": [ - { - "name": "api", - "item": [ - { - "name": "v2", - "item": [ - { - "name": "sessions", - "item": [ - { - "name": "{sessionId}", - "item": [ - { - "name": "Close a session", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "", - "pm.environment.set(\"sessionToken\", \"\");", - "pm.environment.set(\"masterToken\", \"\")", - "pm.environment.set(\"sessionId\", \"\")", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId", - "value": "{{sessionId}}", - "description": "(Required) " - } - ] - }, - "description": "Close the current session" - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "{sessionId}:refresh-token", - "item": [ - { - "name": "Request new session tokens", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "", - "var jsonData = pm.response.json();", - "pm.environment.set(\"sessionToken\", jsonData[\"token\"]);", - "pm.environment.set(\"masterToken\", jsonData[\"masterToken\"])", - "pm.environment.set(\"sessionId\", jsonData[\"sessionId\"])", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{masterToken}}\"", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"sessionToken\": \"{{sessionToken}}\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - }, - "description": "Request new session tokens by providing the master token." - }, - "response": [ - { - "name": "successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"masterToken\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"token\": \"\",\n \"validityInSeconds\": \"\",\n \"masterToken\": \"\",\n \"masterValidityInSeconds\": \"\",\n \"sessionId\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"masterToken\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"masterToken\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"masterToken\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"masterToken\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"masterToken\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"masterToken\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - } - }, - "status": "Conflict", - "code": 409, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"masterToken\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"masterToken\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"masterToken\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Sfc-Session", - "value": "" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"masterToken\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions/{{sessionId}}:refresh-token", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions", - "{{sessionId}}:refresh-token" - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "Create a session", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "", - "var jsonData = pm.response.json();", - "pm.environment.set(\"sessionToken\", jsonData[\"token\"]);", - "pm.environment.set(\"masterToken\", jsonData[\"masterToken\"])", - "pm.environment.set(\"sessionId\", jsonData[\"sessionId\"])", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{bearerToken}}", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"sysadmin\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - }, - "description": "Create a session, with keys pairs or Oath authentication methods." - }, - "response": [ - { - "name": "successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"token\": \"\",\n \"validityInSeconds\": \"\",\n \"masterToken\": \"\",\n \"masterValidityInSeconds\": \"\",\n \"sessionId\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - } - }, - "status": "Conflict", - "code": 409, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "X-Snowflake-Authorization-Token-Type", - "value": "KEYPAIR_JWT" - }, - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - }, - { - "description": "Added as a part of security scheme: bearer", - "key": "Authorization", - "value": "Bearer " - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roleName\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "sessions" - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - } - ] - } - ] - } - ], - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "{{bearerToken}}", - "type": "string" - } - ] - }, - "variable": [ - { - "key": "baseUrl", - "value": "https://org-account.snowflakecomputing.com" - }, - { - "key": "sessionId", - "value": "" - } - ] -} \ No newline at end of file diff --git a/collection/private-preview/2023-11-13-private-preview/Snowflake Tasks API.postman_collection.json b/collection/private-preview/2023-11-13-private-preview/Snowflake Tasks API.postman_collection.json deleted file mode 100644 index 62beadb..0000000 --- a/collection/private-preview/2023-11-13-private-preview/Snowflake Tasks API.postman_collection.json +++ /dev/null @@ -1,7237 +0,0 @@ -{ - "info": { - "_postman_id": "1af61c08-a610-4705-b19c-4760742b5dca", - "name": "Snowflake Tasks API", - "description": "The Snowflake Tasks API is a REST API that you can use to access, update, and perform certain actions on Task resources in a Snowflake database.\n\nContact Support:\n Name: Snowflake, Inc.\n Email: support@snowflake.com", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "28868798", - "_collection_link": "https://snowflake.postman.co/workspace/SnowApi-Demo~576e3337-09c5-4d42-a068-1fb91ebec0b9/collection/28868798-1af61c08-a610-4705-b19c-4760742b5dca?action=share&source=collection_link&creator=28868798" - }, - "item": [ - { - "name": "api", - "item": [ - { - "name": "v2", - "item": [ - { - "name": "databases", - "item": [ - { - "name": "{database}", - "item": [ - { - "name": "schemas", - "item": [ - { - "name": "{schema}", - "item": [ - { - "name": "tasks", - "item": [ - { - "name": "{name}", - "item": [ - { - "name": "dependents", - "item": [ - { - "name": "Fetch the dependent tasks of a task", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "dependents" - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - }, - { - "key": "name", - "value": "{{task_name}}", - "description": "(Required) " - } - ] - }, - "description": "This operation returns a list of the dependent tasks of the task with identifier {name}." - }, - "response": [ - { - "name": "successful", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "dependents" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n {\n \"name\": \"Pw$SP9KZSr\",\n \"definition\": \"\",\n \"warehouse\": \"WBzQP_2\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"Ut_293\": -93287673.26920931,\n \"cupidatatf0d\": \"qui fugiat in \",\n \"quis1\": \"aliqua enim eiusmod consequat cupidatat\",\n \"Ut_0\": \"incididunt ullamco dolore in commodo\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"started\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n {\n \"name\": \"gTq9T\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\":((\\\"\\\"4\\\"\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"culpa182\": -36841827.82457221,\n \"consectetur_f2\": \"Ut anim\",\n \"officia_aa\": -66193433.51332709\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n }\n]" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "dependents" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "dependents" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "dependents" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "dependents" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "dependents" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "dependents" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "dependents" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "dependents" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/dependents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "dependents" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "current_graphs", - "item": [ - { - "name": "Get the graph runs that are executing or scheduled for the task for the next 8 days.", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "current_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - }, - { - "key": "name", - "value": "{{task_name}}", - "description": "(Required) " - } - ] - }, - "description": "This function returns details for graph runs that are currently executing or are next scheduled to run within the next 8 days." - }, - "response": [ - { - "name": "successful", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "current_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n {\n \"root_task_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"state\": \"EXECUTING\",\n \"scheduled_time\": \"\",\n \"next_scheduled_time\": \"\",\n \"root_task_id\": \"\",\n \"graph_version\": \"\",\n \"run_id\": \"\",\n \"first_error_task_name\": \"\",\n \"first_error_code\": \"\",\n \"first_error_message\": \"\",\n \"query_start_time\": \"\",\n \"completed_time\": \"\"\n },\n {\n \"root_task_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"state\": \"EXECUTING\",\n \"scheduled_time\": \"\",\n \"next_scheduled_time\": \"\",\n \"root_task_id\": \"\",\n \"graph_version\": \"\",\n \"run_id\": \"\",\n \"first_error_task_name\": \"\",\n \"first_error_code\": \"\",\n \"first_error_message\": \"\",\n \"query_start_time\": \"\",\n \"completed_time\": \"\"\n }\n]" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "current_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "current_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "current_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "current_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "current_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "current_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "current_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "current_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/current_graphs?resultLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "current_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "complete_graphs", - "item": [ - { - "name": "Get the graph runs that are completed for the task.", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=1000&errorOnly=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "complete_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "1000", - "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." - }, - { - "key": "errorOnly", - "value": "false", - "description": "Whether to only return results for tasks runs that have failed. Default is false." - } - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - }, - { - "key": "name", - "value": "{{task_name}}", - "description": "(Required) " - } - ] - }, - "description": "This function returns details for graph runs that are completed." - }, - "response": [ - { - "name": "successful", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "complete_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "", - "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." - }, - { - "key": "errorOnly", - "value": "", - "description": "Whether to only return results for tasks runs that have failed. Default is false." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n {\n \"root_task_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"state\": \"EXECUTING\",\n \"scheduled_time\": \"\",\n \"next_scheduled_time\": \"\",\n \"root_task_id\": \"\",\n \"graph_version\": \"\",\n \"run_id\": \"\",\n \"first_error_task_name\": \"\",\n \"first_error_code\": \"\",\n \"first_error_message\": \"\",\n \"query_start_time\": \"\",\n \"completed_time\": \"\"\n },\n {\n \"root_task_name\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\",\n \"state\": \"EXECUTING\",\n \"scheduled_time\": \"\",\n \"next_scheduled_time\": \"\",\n \"root_task_id\": \"\",\n \"graph_version\": \"\",\n \"run_id\": \"\",\n \"first_error_task_name\": \"\",\n \"first_error_code\": \"\",\n \"first_error_message\": \"\",\n \"query_start_time\": \"\",\n \"completed_time\": \"\"\n }\n]" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "complete_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "", - "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." - }, - { - "key": "errorOnly", - "value": "", - "description": "Whether to only return results for tasks runs that have failed. Default is false." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "complete_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "", - "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." - }, - { - "key": "errorOnly", - "value": "", - "description": "Whether to only return results for tasks runs that have failed. Default is false." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "complete_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "", - "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." - }, - { - "key": "errorOnly", - "value": "", - "description": "Whether to only return results for tasks runs that have failed. Default is false." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "complete_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "", - "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." - }, - { - "key": "errorOnly", - "value": "", - "description": "Whether to only return results for tasks runs that have failed. Default is false." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "complete_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "", - "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." - }, - { - "key": "errorOnly", - "value": "", - "description": "Whether to only return results for tasks runs that have failed. Default is false." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "complete_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "", - "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." - }, - { - "key": "errorOnly", - "value": "", - "description": "Whether to only return results for tasks runs that have failed. Default is false." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "complete_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "", - "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." - }, - { - "key": "errorOnly", - "value": "", - "description": "Whether to only return results for tasks runs that have failed. Default is false." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "complete_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "", - "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." - }, - { - "key": "errorOnly", - "value": "", - "description": "Whether to only return results for tasks runs that have failed. Default is false." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name/complete_graphs?resultLimit=&errorOnly=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name", - "complete_graphs" - ], - "query": [ - { - "key": "resultLimit", - "value": "", - "description": "Number of results to return, at most. Default is 1000, valid range is 1 to 10000." - }, - { - "key": "errorOnly", - "value": "", - "description": "Whether to only return results for tasks runs that have failed. Default is false." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "Fetch a task", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - }, - { - "key": "name", - "value": "{{task_name}}", - "description": "(Required) " - } - ] - }, - "description": "Fetch a task using the describe command output." - }, - "response": [ - { - "name": "successful", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - }, - { - "name": "Create a (or alter an existing) task", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"{{task_name}}\",\n \"warehouse\": \"{{warehouse}}\",\n \"definition\": \"select 1\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?createMode=orReplace", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "createMode", - "value": "orReplace" - } - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - }, - { - "key": "name", - "value": "{{task_name}}", - "description": "(Required) " - } - ] - }, - "description": "Create a (or alter an existing) task. Even if the operation is just an alter, the full property set must be provided." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - }, - { - "name": "Delete a task", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=true", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "true" - } - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - }, - { - "key": "name", - "value": "{{task_name}}", - "description": "(Required) " - } - ] - }, - "description": "Delete a task with the task name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/:name?ifExists=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - ":name" - ], - "query": [ - { - "key": "ifExists", - "value": "false" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - }, - { - "key": "name" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "{name}:execute", - "item": [ - { - "name": "Execute a task object.", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:execute" - ], - "query": [ - { - "key": "retryLast", - "value": "false", - "description": "Retry the last failed run of the DAG." - } - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - } - ] - }, - "description": "Execute a task -- this is equivalent to EXECUTE IMMEDIATE." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:execute" - ], - "query": [ - { - "key": "retryLast", - "value": "false", - "description": "Retry the last failed run of the DAG." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:execute" - ], - "query": [ - { - "key": "retryLast", - "value": "false", - "description": "Retry the last failed run of the DAG." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:execute" - ], - "query": [ - { - "key": "retryLast", - "value": "false", - "description": "Retry the last failed run of the DAG." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:execute" - ], - "query": [ - { - "key": "retryLast", - "value": "false", - "description": "Retry the last failed run of the DAG." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:execute" - ], - "query": [ - { - "key": "retryLast", - "value": "false", - "description": "Retry the last failed run of the DAG." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:execute" - ], - "query": [ - { - "key": "retryLast", - "value": "false", - "description": "Retry the last failed run of the DAG." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:execute" - ], - "query": [ - { - "key": "retryLast", - "value": "false", - "description": "Retry the last failed run of the DAG." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:execute" - ], - "query": [ - { - "key": "retryLast", - "value": "false", - "description": "Retry the last failed run of the DAG." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:execute" - ], - "query": [ - { - "key": "retryLast", - "value": "false", - "description": "Retry the last failed run of the DAG." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:execute?retryLast=false", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:execute" - ], - "query": [ - { - "key": "retryLast", - "value": "false", - "description": "Retry the last failed run of the DAG." - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "{name}:resume", - "item": [ - { - "name": "Resume a suspended task.", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:resume" - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - } - ] - }, - "description": "Resumes a suspended task object. This is equivalento an ALTER TASK ... RESUME." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:resume" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:resume" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:resume" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:resume" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:resume" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:resume" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:resume" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:resume" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:resume" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:resume", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:resume" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "{name}:suspend", - "item": [ - { - "name": "Suspends a running task.", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:suspend" - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - } - ] - }, - "description": "Suspends a running task. This is equivalent to an ALTER TASK ... SUSPEND." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:suspend" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:suspend" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:suspend" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:suspend" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:suspend" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:suspend" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:suspend" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:suspend" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:suspend" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks/{{name}}:suspend", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks", - "{{name}}:suspend" - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - }, - { - "name": "List tasks", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false", - "disabled": true - }, - { - "key": "like", - "value": "%taskName%", - "disabled": true - }, - { - "key": "startsWith", - "value": "task%", - "disabled": true - }, - { - "key": "showLimit", - "value": "10", - "disabled": true - } - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - } - ] - }, - "description": "Lists tasks under the database and schema, with show options as query parameters." - }, - "response": [ - { - "name": "successful", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false" - }, - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "[\n {\n \"name\": \"Pw$SP9KZSr\",\n \"definition\": \"\",\n \"warehouse\": \"WBzQP_2\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"Ut_293\": -93287673.26920931,\n \"cupidatatf0d\": \"qui fugiat in \",\n \"quis1\": \"aliqua enim eiusmod consequat cupidatat\",\n \"Ut_0\": \"incididunt ullamco dolore in commodo\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"started\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n },\n {\n \"name\": \"gTq9T\",\n \"definition\": \"\",\n \"warehouse\": \"\\\"\\\"\\\":((\\\"\\\"4\\\"\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"culpa182\": -36841827.82457221,\n \"consectetur_f2\": \"Ut anim\",\n \"officia_aa\": -66193433.51332709\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n }\n]" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false" - }, - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false" - }, - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false" - }, - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false" - }, - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false" - }, - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false" - }, - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Conflict", - "code": 409, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false" - }, - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false" - }, - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false" - }, - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json" - } - ], - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?rootOnly=false&like=&startsWith=&showLimit=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "rootOnly", - "value": "false" - }, - { - "key": "like", - "value": "" - }, - { - "key": "startsWith", - "value": "" - }, - { - "key": "showLimit", - "value": "" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - }, - { - "name": "Create a task", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "Snowflake Token=\"{{sessionToken}}\"", - "type": "string" - }, - { - "key": "in", - "value": "header", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"{{task_name}}\",\n \"definition\": \"select 1\",\n \"warehouse\": \"{{warehouse}}\",\n \"predecessors\": [\n \"task1\",\n \"task2\",\n \"task3\"\n ],\n \"user_task_timeout_ms\": 10,\n \"condition\": \"SYSTEM$GET_PREDECESSOR_RETURN_VALUE('test_task') != 'VALIDATION'\",\n \"allow_overlapping_execution\": false,\n \"database_name\": \"{{database}}\",\n \"schema_name\": \"{{schema}}\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=orReplace", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "orReplace" - } - ], - "variable": [ - { - "key": "database", - "value": "{{database}}", - "description": "(Required) " - }, - { - "key": "schema", - "value": "{{schema}}", - "description": "(Required) " - } - ] - }, - "description": "Create a task, with standard create modifiers as query parameters. See the Task component definition for what is required to be provided in the request body." - }, - "response": [ - { - "name": "Successful", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"status\": \"\"\n}" - }, - { - "name": "Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the r", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Unauthorized", - "code": 401, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Forbidden", - "code": 403, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Method Not Allowed", - "code": 405, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the ", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Conflict", - "code": 409, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Too Many Requests", - "code": 429, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Service Unavailable", - "code": 503, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - }, - { - "name": "Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended.", - "originalRequest": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "Accept", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"mga_vVk\",\n \"definition\": \"\",\n \"warehouse\": \"sYG7\",\n \"schedule\": {\n \"minutes\": \"\"\n },\n \"comment\": \"\",\n \"config\": {\n \"dolor_\": \"eiusmod dolor consequat sed\"\n },\n \"predecessors\": [\n \"\",\n \"\"\n ],\n \"user_task_managed_initial_warehouse_size\": \"\",\n \"user_task_timeout_ms\": \"\",\n \"suspend_task_after_num_failures\": \"\",\n \"condition\": \"\",\n \"allow_overlapping_execution\": \"\",\n \"error_integration\": \"\",\n \"created_on\": \"\",\n \"id\": \"\",\n \"owner\": \"\",\n \"owner_role_type\": \"\",\n \"state\": \"suspended\",\n \"last_committed_on\": \"\",\n \"last_suspended_on\": \"\",\n \"database_name\": \"\",\n \"schema_name\": \"\"\n}", - "options": { - "raw": { - "headerFamily": "json", - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/api/v2/databases/:database/schemas/:schema/tasks?createMode=errorIfExists", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "api", - "v2", - "databases", - ":database", - "schemas", - ":schema", - "tasks" - ], - "query": [ - { - "key": "createMode", - "value": "errorIfExists" - } - ], - "variable": [ - { - "key": "database" - }, - { - "key": "schema" - } - ] - } - }, - "status": "Gateway Timeout", - "code": 504, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"message\": \"\",\n \"error_code\": \"\",\n \"request_id\": \"\"\n}" - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ], - "variable": [ - { - "key": "baseUrl", - "value": "https://org-account.snowflakecomputing.com" - }, - { - "key": "name", - "value": "c" - }, - { - "key": "name", - "value": "c" - }, - { - "key": "name", - "value": "c" - } - ] -} \ No newline at end of file diff --git a/collection/private-preview/2023-11-13-private-preview/TestEnv.postman_environment.json b/collection/private-preview/2023-11-13-private-preview/TestEnv.postman_environment.json deleted file mode 100644 index a748371..0000000 --- a/collection/private-preview/2023-11-13-private-preview/TestEnv.postman_environment.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "id": "53c4683e-0b55-435c-923f-35d54b971019", - "name": "TestEnv", - "values": [ - { - "key": "bearerToken", - "value": "", - "type": "any", - "enabled": true - }, - { - "key": "baseUrl", - "value": "https://org-account.snowflakecomputing.com", - "type": "default", - "enabled": true - }, - { - "key": "sessionToken", - "value": "", - "type": "any", - "enabled": true - }, - { - "key": "masterToken", - "value": "", - "type": "any", - "enabled": true - }, - { - "key": "sessionId", - "value": "", - "type": "any", - "enabled": true - }, - { - "key": "database", - "value": "test_db", - "type": "default", - "enabled": true - }, - { - "key": "schema", - "value": "test_sc", - "type": "default", - "enabled": true - }, - { - "key": "warehouse", - "value": "test_wh", - "type": "default", - "enabled": true - }, - { - "key": "task_name", - "value": "test_task", - "type": "default", - "enabled": true - }, - { - "key": "image_repository_name", - "value": "test_image_repository", - "type": "default", - "enabled": true - }, - { - "key": "compute_pool_name", - "value": "test_compute_pool", - "type": "default", - "enabled": true - } - ], - "_postman_variable_scope": "environment", - "_postman_exported_at": "2023-11-14T20:53:33.869Z", - "_postman_exported_using": "Postman/10.20.0" -} \ No newline at end of file diff --git a/specification/private-preview/2023-11-13-private-preview/common.yaml b/specification/private-preview/2023-11-13-private-preview/common.yaml deleted file mode 100644 index 7ed12a6..0000000 --- a/specification/private-preview/2023-11-13-private-preview/common.yaml +++ /dev/null @@ -1,310 +0,0 @@ -components: - schemas: - description: If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. - Identifier: - type: string - pattern: '^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$' - ErrorResponse: - type: object - properties: - message: - type: string - description: "Error message returned by server" - error_code: - type: string - description: "Error code" - request_id: - type: string - description: "Unique request id" - example: - message: "Compilation error!" - error_code: "390189" - request_id: "01afef9d-0607-0550-0001-dd270c3902d7" - SuccessResponse: - type: object - description: "Schema for all the success response returned by server" - properties: - status: - type: string - description: "Message returned by server" - example: - status: "Request successfully completed" - Clone: - type: object - description: When cloning an obejct we need the source's name and a point of time that we want to clone at. - properties: - source: - $ref: './common.yaml#/components/schemas/Identifier' - point_of_time: - $ref: '#/components/schemas/PointOfTime' - required: - - "source" - PointOfTime: - type: object - required: - - point_of_time_type - properties: - point_of_time_type: - type: string - reference: - type: string - description: The relation to the point of time. - At the time of writing at and before are supported. - when: - type: string - description: The actual description of the point of time. - discriminator: - propertyName: point_of_time_type - mapping: - timestamp: PointOfTimeTimestamp - offset: PointOfTimeOffset - statement: PointOfTimeStatement - PointOfTimeTimestamp: - description: A point of time that is identified by a timestamp. - allOf: - - $ref: '#/components/schemas/PointOfTime' - PointOfTimeOffset: - description: A point of time that is identified by an offset in reference to right now. - allOf: - - $ref: '#/components/schemas/PointOfTime' - PointOfTimeStatement: - description: A point of time that is identified by when a statement was executed. - allOf: - - $ref: '#/components/schemas/PointOfTime' - parameters: - database: - name: database - required: true - in: 'path' - schema: - example: TEST_DB - $ref: './common.yaml#/components/schemas/Identifier' - schema: - name: schema - required: true - in: 'path' - schema: - example: TEST_SCHEMA - $ref: './common.yaml#/components/schemas/Identifier' - name: - name: name - required: true - in: 'path' - schema: - example: TEST_NAME - $ref: './common.yaml#/components/schemas/Identifier' - tag: - name: 'tag' - in: 'query' - schema: - type: object - example: TEST_TAG - additionalProperties: true - createMode: - name: 'createMode' - in: 'query' - schema: - type: string - enum: [errorIfExists, orReplace, ifNotExists] - example: errorIfExists - default: errorIfExists - ifExists: - name: 'ifExists' - in: 'query' - schema: - type: boolean - example: false - default: false - like: - name: 'like' - in: 'query' - schema: - type: string - example: "test_%" - startsWith: - name: 'startsWith' - in: 'query' - schema: - type: string - example: "test" - rootOnly: - name: 'rootOnly' - in: 'query' - schema: - type: boolean - example: false - default: false - showLimit: - name: 'showLimit' - in: 'query' - schema: - type: integer - example: 10 - fromName: - name: 'fromName' - in: 'query' - schema: - type: string - example: "from_test" - sessionId: - name: 'sessionId' - required: true - in: path - schema: - type: integer - format: uuid - example: 524514326772799 - content-type: - name: 'Content-Type' - in: header - schema: - type: string - enum: ['application/json'] - accept: - name: 'Accept' - in: header - schema: - type: string - enum: ['application/json'] - x-snowflake-authorization-token-type: - name: 'X-Snowflake-Authorization-Token-Type' - in: header - schema: - type: string - enum: ['KEYPAIR_JWT'] - x-sfc-session: - name: 'X-Sfc-Session' - in: header - required: false - schema: - type: string - description: Snowflake Session Token - example: "ver:3-hint:1000-ABCD=" - securitySchemes: - keyPair: - type: http - scheme: bearer - bearerFormat: JWT - description: Set X-Snowflake-Authorization-Token-Type to KEYPAIR_JWT if the token is a key pair authn JWT. - ExternalOAuth: - type: http - scheme: bearer - bearerFormat: JWT - description: Configure External Oauth with Snowflake (refer to docs). Set X-Snowflake-Authorization-Token-Type to OAUTH and set the Token to auth token received from the external Auth server. - snowflakeOAuth: - type: oauth2 - flows: - implicit: - authorizationUrl: /oauth/authorize - scopes: {} - responses: - '200SuccessResponse': - description: Successful - content: - application/json: - schema: - $ref: '#/components/schemas/SuccessResponse' - - '201SuccessCreatedResponse': - description: Successfully create new resource on server. - content: - application/json: - schema: - $ref: '#/components/schemas/SuccessResponse' - - '202SuccessAcceptedResponse': - description: Successfully accept the request, but it is not completed yet. - content: - application/json: - schema: - $ref: '#/components/schemas/SuccessResponse' - - '400BadRequest': - description: >- - Bad Request. The request payload is invalid or malformed. This happens if the application didn't send the correct request payload. The response body may include the error code and message indicating the actual cause. The application must reconstruct the request body for retry. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '401Unauthorized': - description: >- - Unauthorized. The request is not authorized. This happens if the attached access token is invalid or missing. The response body may include the error code and message indicating the actual cause, e.g., expired, invalid token. The application must obtain a new access token for retry. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '403Forbidden': - description: >- - Forbidden. The request is forbidden. This can also happen if the request is made even if the API is not enabled. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '404NotFound': - description: >- - Not Found. The request endpoint is not valid. This happens if the API endpoint does not exist, or if the API is not enabled. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '405MethodNotAllowed': - description: >- - Method Not Allowed. The request method doesn't match the supported API. This happens, for example, if the application calls the API with GET method but the endpoint accepts only POST. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '409Conflict': - description: >- - Conflict. The requested operation could not be performed due to a conflicting state that could not be resolved. This usually happens when a CREATE request was performed when there is a pre-existing resource with the same name, and also without one of the options orReplace/ifNotExists. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '410Gone': - description: >- - Gone. This error is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '415UnsupportedMediaType': - description: >- - The request header Content-Type includes an unsupported media type. The API supports application/json only. If none specified, the request payload is taken as JSON, but if any other media type is specified, this error is returned. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '429LimitExceeded': - description: >- - Limit Exceeded. The number of requests hit the rate limit. The application must slow down the frequency of hitting the API endpoints. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500InternalServerError': - description: >- - Internal Server Error. The server hit an unrecoverable system error. The response body may include the error code and message for further guidance. The application owner may need to reach out the customer support. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '503ServiceUnavailable': - description: >- - Service Unavailable. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '504GatewayTimeout': - description: >- - Gateway Timeout. The request was not processed due to server side timeouts. The application may retry with backoff. The jittered backoff is recommended. - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - - security: - - keyPair: [] - - ExternalOAuth: [] - - snowflakeOAuth: [] diff --git a/specification/private-preview/2023-11-13-private-preview/compute-pools.yaml b/specification/private-preview/2023-11-13-private-preview/compute-pools.yaml deleted file mode 100644 index 1a885ea..0000000 --- a/specification/private-preview/2023-11-13-private-preview/compute-pools.yaml +++ /dev/null @@ -1,307 +0,0 @@ -openapi: 3.0.0 -servers: - - description: Snowflake Compute Pools API - url: https://org-account.snowflakecomputing.com -info: - version: 0.0.1 - title: Snowflake Compute Pools API - description: >- - The Snowflake Compute Pools API is a REST API that you can use to access, update, and perform certain actions on Compute Pool resources. - contact: - name: Snowflake, Inc. - url: https://snowflake.com - email: support@snowflake.com -paths: - /api/v2/compute-pools: - get: - summary: List compute pools - tags: - - compute-pool - description: Lists the compute pools under the account. - operationId: fetchComputePools - parameters: - - $ref: 'common.yaml#/components/parameters/like' - - $ref: 'common.yaml#/components/parameters/startsWith' - - $ref: 'common.yaml#/components/parameters/showLimit' - responses: - '200': - description: successful - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ComputePool' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - post: - summary: Create a compute pool - tags: - - compute-pool - description: Create a compute pool, with standard create modifiers - as query parameters. See the Compute Pool component definition - for what is required to be provided in the request body. - operationId: createComputePool - parameters: - - $ref: 'common.yaml#/components/parameters/createMode' - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ComputePool' - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '409': - $ref: 'common.yaml#/components/responses/409Conflict' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/compute-pools/{name}: - get: - summary: Fetch a compute pool. - tags: - - compute-pool - description: Fetch a compute pool using the SHOW command output. - operationId: fetchComputePool - parameters: - - $ref: 'common.yaml#/components/parameters/name' - responses: - '200': - description: successful - content: - application/json: - schema: - $ref: '#/components/schemas/ComputePool' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - delete: - parameters: - - $ref: 'common.yaml#/components/parameters/name' - - $ref: 'common.yaml#/components/parameters/ifExists' - summary: Delete a compute pool - tags: - - compute-pool - description: Delete a compute pool with the given name. If ifExists is used, the operation will - succeed even if the object does not exist. Otherwise, there will be a 404 failure - if the drop is unsuccessful. - operationId: deleteComputePool - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/compute-pools/{name}:resume: - post: - summary: Resume a compute pool - tags: - - compute-pool - description: Resume a compute pool, if suspended. This is a no-op if it is already running. - operationId: resumeComputePool - parameters: - - $ref: 'common.yaml#/components/parameters/name' - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/compute-pools/{name}:suspend: - post: - summary: Perform an action on a compute pool - tags: - - compute-pool - description: Suspend a compute pool. - operationId: suspendComputePool - parameters: - - $ref: 'common.yaml#/components/parameters/name' - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/compute-pools/{name}:stopallservices: - post: - summary: Stops all services on the compute pool. - tags: - - compute-pool - description: Stop all services in the compute pool. - operationId: stopAllServicesInComputePool - parameters: - - $ref: 'common.yaml#/components/parameters/name' - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' -components: - schemas: - ComputePool: - type: object - properties: - name: - $ref: './common.yaml#/components/schemas/Identifier' - warehouse: - $ref: './common.yaml#/components/schemas/Identifier' - min_nodes: - type: integer - max_nodes: - type: integer - instance_family: - type: string - auto_resume: - type: boolean - comment: - type: string - state: - type: string - readOnly: true - enum: [UNKNOWN, STARTING, IDLE, ACTIVE, STOPPING, SUSPENDED, RESIZING] - num_services: - type: integer - readOnly: true - auto_suspend_secs: - type: integer - format: int64 - active_nodes: - type: integer - readOnly: true - idle_nodes: - type: integer - readOnly: true - created_on: - type: string - format: date-time - readOnly: true - resumed_on: - type: string - format: date-time - readOnly: true - updated_on: - type: string - format: date-time - readOnly: true - owner: - type: string - readOnly: true - example: - name: compute_pool_name - warehouse: test_wh - min_nodes: 4 - max_nodes: 5 - instance_family: compute_pool_family - auto_resume: false - comment: test_comment - state: STARTING - num_services: 1 - auto_suspend_secs: 10 - active_nodes: 2 - idle_nodes: 2 - created_on: "YYYY-MM-DDTHH:MI:SS.FF6" - updated_on: "YYYY-MM-DDTHH:MI:SS.FF6" - resumed_on: "YYYY-MM-DDTHH:MI:SS.FF6" - owner: POOL_ADMIN - required: - - name - - instance_family - - min_nodes - - max_nodes -tags: - - name: compute-pool diff --git a/specification/private-preview/2023-11-13-private-preview/image-repositories.yaml b/specification/private-preview/2023-11-13-private-preview/image-repositories.yaml deleted file mode 100644 index 67a7689..0000000 --- a/specification/private-preview/2023-11-13-private-preview/image-repositories.yaml +++ /dev/null @@ -1,195 +0,0 @@ -openapi: 3.0.0 -servers: - - description: Snowflake Image Repositories API - url: https://org-account.snowflakecomputing.com -info: - version: 0.0.1 - title: Snowflake Image Repositories API - description: >- - The Snowflake Image Repositories API is a REST API that you can use to access, update, and perform certain actions on Image Repository resources in Snowflake. - contact: - name: Snowflake, Inc. - url: https://snowflake.com - email: support@snowflake.com -paths: - /api/v2/databases/{database}/schemas/{schema}/image-repositories: - get: - summary: List image repositories - tags: - - image-repository - description: Lists the image repositories under the database and schema. - operationId: listImageRepositories - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/like' - responses: - '200': - description: successful - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/ImageRepository' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '409': - $ref: 'common.yaml#/components/responses/409Conflict' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - post: - summary: Create an image repository - tags: - - image-repository - description: Create an image repository, with standard create modifiers - as query parameters. See the ImageRepository component definition - for what is required to be provided in the request body. - operationId: createImageRepository - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/createMode' - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ImageRepository' - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '409': - $ref: 'common.yaml#/components/responses/409Conflict' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/databases/{database}/schemas/{schema}/image-repositories/{name}: - get: - summary: Fetch an image repository. - tags: - - image-repository - description: Fetch an image repository using the SHOW command output. - operationId: fetchImageRepository - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/name' - responses: - '200': - description: successful - content: - application/json: - schema: - $ref: '#/components/schemas/ImageRepository' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - delete: - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/name' - - $ref: 'common.yaml#/components/parameters/ifExists' - summary: Delete an image repository - tags: - - image-repository - description: Delete an image repository with the given name. If ifExists is used, the operation will - succeed even if the object does not exist. Otherwise, there will be a failure - if the drop is unsuccessful. - operationId: deleteImageRepository - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' -components: - schemas: - ImageRepository: - type: object - properties: - name: - $ref: './common.yaml#/components/schemas/Identifier' - database_name: - $ref: './common.yaml#/components/schemas/Identifier' - readOnly: true - schema_name: - $ref: './common.yaml#/components/schemas/Identifier' - readOnly: true - created_on: - type: string - format: date-time - readOnly: true - repository_url: - type: string - readOnly: true - owner: - type: string - readOnly: true - owner_role_type: - type: string - readOnly: true - example: - name: image_repository_name - database_name: test_db - schema_name: test_schema - created_on: "YYYY-MM-DDTHH:MI:SS.FF6" - repository_url: https://www.snowflake.com - owner: IMAGE_ADMIN - owner_role_type: ADMIN - required: - - name -tags: - - name: image-repository diff --git a/specification/private-preview/2023-11-13-private-preview/sessions.yaml b/specification/private-preview/2023-11-13-private-preview/sessions.yaml deleted file mode 100644 index e53e790..0000000 --- a/specification/private-preview/2023-11-13-private-preview/sessions.yaml +++ /dev/null @@ -1,175 +0,0 @@ -openapi: 3.0.0 -servers: - - url: https://org-account.snowflakecomputing.com - description: Snowflake Sessions API -info: - title: Snowflake Sessions API - version: 0.0.1 - description: >- - The Snowflake Sessions API is a REST API that you can use to manage Snowflake sessions and session tokens. - contact: - name: Snowflake, Inc. - url: https://www.snowflake.com - email: support@snowflake.com -security: - - NONE: [] - - bearerAuth: [] -paths: - /api/v2/sessions: - post: - summary: Create a session - tags: - - session - description: Create a session, with keys pairs or Oath authentication methods. - operationId: createSession - security: - - bearerAuth: [] - parameters: - - $ref: 'common.yaml#/components/parameters/content-type' - - $ref: 'common.yaml#/components/parameters/accept' - - $ref: 'common.yaml#/components/parameters/x-snowflake-authorization-token-type' - requestBody: - required: false - content: - application/json: - schema: - $ref: '#/components/schemas/CreateSessionRequest' - responses: - '200': - description: successful - content: - application/json: - schema: - $ref: '#/components/schemas/CreateSessionResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '409': - $ref: 'common.yaml#/components/responses/409Conflict' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/sessions/{sessionId}: - delete: - summary: Close a session - tags: - - session - description: Close the current session - operationId: deleteSession - parameters: - - $ref: 'common.yaml#/components/parameters/sessionId' - - $ref: 'common.yaml#/components/parameters/content-type' - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - - /api/v2/sessions/{sessionId}:refresh-token: - post: - summary: Request new session tokens - tags: - - session - description: Request new session tokens by providing the master token. - operationId: requestSessionToken - parameters: - - $ref: 'common.yaml#/components/parameters/sessionId' - - $ref: 'common.yaml#/components/parameters/content-type' - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/TokenRequest' - responses: - '200': - description: successful - content: - application/json: - schema: - $ref: '#/components/schemas/CreateSessionResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '409': - $ref: 'common.yaml#/components/responses/409Conflict' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - -components: - securitySchemes: - bearerAuth: - $ref: 'common.yaml#/components/securitySchemes/keyPair' - schemas: - CreateSessionResponse: - type: object - properties: - token: - type: string - readOnly: true - validityInSeconds: - type: integer - readOnly: true - masterToken: - type: string - readOnly: true - masterValidityInSeconds: - type: integer - readOnly: true - sessionId: - type: integer - readOnly: true - CreateSessionRequest: - type: object - properties: - roleName: - type: string - TokenRequest: - type: object - properties: - sessionToken: - type: string - -tags: - - name: session diff --git a/specification/private-preview/2023-11-13-private-preview/tasks.yaml b/specification/private-preview/2023-11-13-private-preview/tasks.yaml deleted file mode 100644 index dc55006..0000000 --- a/specification/private-preview/2023-11-13-private-preview/tasks.yaml +++ /dev/null @@ -1,641 +0,0 @@ -openapi: 3.0.0 -servers: - - description: Snowflake Tasks API - url: https://org-account.snowflakecomputing.com -info: - version: 0.0.1 - title: Snowflake Tasks API - description: >- - The Snowflake Tasks API is a REST API that you can use to access, update, and perform certain actions on Task resources in a Snowflake database. - contact: - name: Snowflake, Inc. - url: https://snowflake.com - email: support@snowflake.com -paths: - /api/v2/databases/{database}/schemas/{schema}/tasks: - get: - summary: List tasks - tags: - - task - description: Lists tasks under the database and schema, with show options as query parameters. - operationId: listTasks - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/rootOnly' - - $ref: 'common.yaml#/components/parameters/like' - - $ref: 'common.yaml#/components/parameters/startsWith' - - $ref: 'common.yaml#/components/parameters/showLimit' - responses: - '200': - description: successful - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Task' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '409': - $ref: 'common.yaml#/components/responses/409Conflict' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - post: - - summary: Create a task - tags: - - task - description: Create a task, with standard create modifiers - as query parameters. See the Task component definition - for what is required to be provided in the request body. - operationId: createTask - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/createMode' - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Task' - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '409': - $ref: 'common.yaml#/components/responses/409Conflict' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/databases/{database}/schemas/{schema}/tasks/{name}: - get: - summary: Fetch a task - tags: - - task - description: Fetch a task using the describe command output. - operationId: fetchTask - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/name' - responses: - '200': - description: successful - content: - application/json: - schema: - $ref: '#/components/schemas/Task' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - put: - summary: Create a (or alter an existing) task - tags: - - task - description: Create a (or alter an existing) task. Even if the operation - is just an alter, the full property set must be provided. - operationId: createOrAlterTask - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/name' - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Task' - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - delete: - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/name' - - $ref: 'common.yaml#/components/parameters/ifExists' - summary: Delete a task - tags: - - task - description: Delete a task with the task name. If ifExists is used, the operation will - succeed even if the object does not exist. Otherwise, there will be a failure - if the drop is unsuccessful. - operationId: deleteTask - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/databases/{database}/schemas/{schema}/tasks/{name}:execute: - post: - summary: Execute a task object. - tags: - - task - description: Execute a task -- this is equivalent to EXECUTE IMMEDIATE. - operationId: executeTask - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/name' - - name: retryLast - in: query - description: Retry the last failed run of the DAG. - schema: - type: boolean - default: false - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/databases/{database}/schemas/{schema}/tasks/{name}:resume: - post: - summary: Resume a suspended task. - tags: - - task - description: Resumes a suspended task object. This is equivalento an ALTER TASK ... RESUME. - operationId: resumeTask - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/name' - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/databases/{database}/schemas/{schema}/tasks/{name}:suspend: - post: - summary: Suspends a running task. - tags: - - task - description: Suspends a running task. This is equivalent to an ALTER TASK ... SUSPEND. - operationId: suspendTask - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/name' - responses: - '200': - $ref: 'common.yaml#/components/responses/200SuccessResponse' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/databases/{database}/schemas/{schema}/tasks/{name}/dependents: - get: - summary: Fetch the dependent tasks of a task - tags: - - task - description: This operation returns a list of the dependent tasks of the task with identifier {name}. - operationId: fetchTaskDependents - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/name' - responses: - '200': - description: successful - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Task' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/databases/{database}/schemas/{schema}/tasks/{name}/current_graphs: - get: - summary: Get the graph runs that are executing or scheduled for the task for the next 8 days. - tags: - - task - description: This function returns details for graph runs that are currently executing or are next scheduled to run within the next 8 days. - operationId: getCurrentGraphs - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/name' - - in: query - name: resultLimit - schema: - type: integer - description: Number of results to return, at most. Default is 1000, valid range is 1 to 10000. - responses: - '200': - description: successful - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/TaskRun' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' - /api/v2/databases/{database}/schemas/{schema}/tasks/{name}/complete_graphs: - get: - summary: Get the graph runs that are completed for the task. - tags: - - task - description: This function returns details for graph runs that are completed. - operationId: getCompleteGraphs - parameters: - - $ref: 'common.yaml#/components/parameters/database' - - $ref: 'common.yaml#/components/parameters/schema' - - $ref: 'common.yaml#/components/parameters/name' - - in: query - name: resultLimit - schema: - type: integer - description: Number of results to return, at most. Default is 1000, valid range is 1 to 10000. - - in: query - name: errorOnly - schema: - type: boolean - description: Whether to only return results for tasks runs that have failed. Default is false. - responses: - '200': - description: successful - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/TaskRun' - '400': - $ref: 'common.yaml#/components/responses/400BadRequest' - '401': - $ref: 'common.yaml#/components/responses/401Unauthorized' - '403': - $ref: 'common.yaml#/components/responses/403Forbidden' - '404': - $ref: 'common.yaml#/components/responses/404NotFound' - '405': - $ref: 'common.yaml#/components/responses/405MethodNotAllowed' - '429': - $ref: 'common.yaml#/components/responses/429LimitExceeded' - '500': - $ref: 'common.yaml#/components/responses/500InternalServerError' - '503': - $ref: 'common.yaml#/components/responses/503ServiceUnavailable' - '504': - $ref: 'common.yaml#/components/responses/504GatewayTimeout' -components: - schemas: - TaskRun: - type: object - properties: - root_task_name: - type: string - readOnly: true - database_name: - type: string - readOnly: true - schema_name: - type: string - readOnly: true - state: - type: string - enum: [SCHEDULED, EXECUTING, SUCCEEDED, FAILED, CANCELLED] - readOnly: true - first_error_task_name: - type: string - readOnly: true - first_error_code: - type: integer - readOnly: true - first_error_message: - type: string - readOnly: true - scheduled_time: - type: string - format: date-time - readOnly: true - query_start_time: - type: string - format: date-time - readOnly: true - next_scheduled_time: - type: string - format: date-time - readOnly: true - completed_time: - type: string - format: date-time - readOnly: true - root_task_id: - type: string - readOnly: true - graph_version: - type: integer - readOnly: true - run_id: - type: integer - readOnly: true - example: - root_task_name: root_task - database_name: test_db - schema_name: test_schema - state: SCHEDULED - first_error_task_name: test_task - first_error_code: 0 - first_error_message: ERROR - scheduled_time: "YYYY-MM-DDTHH24:MI:SS.FF6" - query_start_time: "YYYY-MM-DDTHH24:MI:SS.FF6" - next_scheduled_time: "YYYY-MM-DDTHH24:MI:SS.FF6" - completed_time: "YYYY-MM-DDTHH24:MI:SS.FF6" - root_task_id: 0 - graph_version: 0 - run_id: 0 - required: - - root_task_name - - database_name - - schema_name - - state - - scheduled_time - - next_scheduled_time - - root_task_id - - graph_version - - run_id - Task: - type: object - properties: - name: - $ref: './common.yaml#/components/schemas/Identifier' - warehouse: - $ref: './common.yaml#/components/schemas/Identifier' - schedule: - oneOf: - - $ref: '#/components/schemas/MinutesSchedule' - - $ref: '#/components/schemas/CronSchedule' - discriminator: - propertyName: schedule_type - mapping: - CRON_TYPE: '#/components/schemas/CronSchedule' - MINUTES_TYPE: '#/components/schemas/MinutesSchedule' - comment: - type: string - config: - type: object - additionalProperties: true - description: Task Config - definition: - type: string - predecessors: - type: array - items: - type: string - user_task_managed_initial_warehouse_size: - type: string - user_task_timeout_ms: - type: integer - suspend_task_after_num_failures: - type: integer - condition: - type: string - allow_overlapping_execution: - type: boolean - error_integration: - type: string - created_on: - type: string - format: date-time - readOnly: true - id: - type: string - readOnly: true - owner: - type: string - readOnly: true - owner_role_type: - type: string - readOnly: true - state: - type: string - readOnly: true - enum: [started, suspended] - last_committed_on: - type: string - readOnly: true - format: date-time - last_suspended_on: - type: string - readOnly: true - format: date-time - database_name: - type: string - readOnly: true - schema_name: - type: string - readOnly: true - example: - name: task_name - warehouse: test_wh - schedule: - schedule_type: MINUTES_TYPE - minutes: 10 - comment: test_comment - config: '$${"output_dir": "/temp/test_directory/", "learning_rate": 0.1}$$' - definition: this task does... - predecessors: [ task1, task2, task3 ] - user_task_managed_initial_warehouse_size: XSMALL - user_task_timeout_ms: 10 - suspend_task_after_num_failures: 3 - condition: select 1 - allow_overlapping_execution: false - error_integration: my_notification_int - created_on: "YYYY-MM-DDTHH:MI:SS.FF6" - id: task_id - owner: TASK_ADMIN - owner_role_type: ADMIN - state: started - last_committed_on: "YYYY-MM-DDTHH:MI:SS.FF6" - last_suspended_on: "YYYY-MM-DDTHH:MI:SS.FF6" - database_name: TESTDB - schema_name: TESTSCHEMA - required: - - name - - definition - CronSchedule: - type: object - properties: - cron_expr: - type: string - timezone: - type: string - example: - cron_expr: "* * * * ? *" - timezone: america/los_angeles - required: - - cron_expr - - timezone - MinutesSchedule: - type: object - properties: - minutes: - type: integer - example: - minutes: 10 - required: - - minutes -externalDocs: - description: Streams and Tasks Reference - url: https://docs.snowflake.com/en/sql-reference/commands-stream -tags: - - name: task