{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:azure-cosmos-db-tables/table-query-entities":{"get":{"operationId":"cloud_azure_cosmos_db_tables_table_query_entities","summary":"Queries entities under the given table.","description":"GET /{table}()","tags":["cloud"],"parameters":[{"name":"url","in":"query","required":true,"description":"The host name of the tables account, e.g. accountName.table.core.windows.net","schema":{"type":"string","description":"The host name of the tables account, e.g. accountName.table.core.windows.net"}},{"name":"DataServiceVersion","in":"query","required":true,"description":"DataServiceVersion header","schema":{"type":"string","enum":["3.0"],"description":"DataServiceVersion header"}},{"name":"x-ms-version","in":"query","required":true,"description":"The API version.","schema":{"type":"string","description":"The API version."}},{"name":"x-ms-client-request-id","in":"query","required":false,"description":"An opaque, globally-unique, client-generated string identifier for the request.","schema":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."}},{"name":"table","in":"query","required":true,"description":"The name of the table.","schema":{"type":"string","description":"The name of the table."}},{"name":"$format","in":"query","required":false,"description":"Specifies the metadata format for the response.","schema":{"type":"string","enum":["application/json;odata=nometadata","application/json;odata=minimalmetadata","application/json;odata=fullmetadata"],"description":"Specifies the metadata format for the response."}},{"name":"$top","in":"query","required":false,"description":"Specifies the maximum number of records to return.","schema":{"type":"integer","description":"Specifies the maximum number of records to return."}},{"name":"$select","in":"query","required":false,"description":"Select expression using OData notation. Limits the columns on each record to just those requested.","schema":{"type":"string","description":"Select expression using OData notation. Limits the columns on each record to just those requested."}},{"name":"$filter","in":"query","required":false,"description":"OData filter expression.","schema":{"type":"string","description":"OData filter expression."}},{"name":"timeout","in":"query","required":false,"description":"The timeout parameter is expressed in seconds.","schema":{"type":"integer","description":"The timeout parameter is expressed in seconds."}},{"name":"NextPartitionKey","in":"query","required":false,"description":"An entity partition key query continuation token from a previous call.","schema":{"type":"string","description":"An entity partition key query continuation token from a previous call."}},{"name":"NextRowKey","in":"query","required":false,"description":"An entity row key query continuation token from a previous call.","schema":{"type":"string","description":"An entity row key query continuation token from a previous call."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-cosmos-db-tables/table-query-entity-with-partition-and-row-key":{"get":{"operationId":"cloud_azure_cosmos_db_tables_table_query_entity_with_partition_and_row_key","summary":"Retrieve a single entity.","description":"GET /{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')","tags":["cloud"],"parameters":[{"name":"url","in":"query","required":true,"description":"The host name of the tables account, e.g. accountName.table.core.windows.net","schema":{"type":"string","description":"The host name of the tables account, e.g. accountName.table.core.windows.net"}},{"name":"DataServiceVersion","in":"query","required":true,"description":"DataServiceVersion header","schema":{"type":"string","enum":["3.0"],"description":"DataServiceVersion header"}},{"name":"x-ms-version","in":"query","required":true,"description":"The API version.","schema":{"type":"string","description":"The API version."}},{"name":"x-ms-client-request-id","in":"query","required":false,"description":"An opaque, globally-unique, client-generated string identifier for the request.","schema":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."}},{"name":"table","in":"query","required":true,"description":"The name of the table.","schema":{"type":"string","description":"The name of the table."}},{"name":"timeout","in":"query","required":false,"description":"The timeout parameter is expressed in seconds.","schema":{"type":"integer","description":"The timeout parameter is expressed in seconds."}},{"name":"$format","in":"query","required":false,"description":"Specifies the metadata format for the response.","schema":{"type":"string","enum":["application/json;odata=nometadata","application/json;odata=minimalmetadata","application/json;odata=fullmetadata"],"description":"Specifies the metadata format for the response."}},{"name":"$select","in":"query","required":false,"description":"Select expression using OData notation. Limits the columns on each record to just those requested.","schema":{"type":"string","description":"Select expression using OData notation. Limits the columns on each record to just those requested."}},{"name":"$filter","in":"query","required":false,"description":"OData filter expression.","schema":{"type":"string","description":"OData filter expression."}},{"name":"partitionKey","in":"query","required":true,"description":"The partition key of the entity.","schema":{"type":"string","description":"The partition key of the entity."}},{"name":"rowKey","in":"query","required":true,"description":"The row key of the entity.","schema":{"type":"string","description":"The row key of the entity."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-cosmos-db-tables/table-update-entity":{"post":{"operationId":"cloud_azure_cosmos_db_tables_table_update_entity","summary":"Update entity in a table.","description":"PUT /{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url","DataServiceVersion","x-ms-version","table","partitionKey","rowKey"],"properties":{"url":{"type":"string","description":"The host name of the tables account, e.g. accountName.table.core.windows.net"},"DataServiceVersion":{"type":"string","enum":["3.0"],"description":"DataServiceVersion header"},"x-ms-version":{"type":"string","description":"The API version."},"x-ms-client-request-id":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."},"table":{"type":"string","description":"The name of the table."},"timeout":{"type":"integer","description":"The timeout parameter is expressed in seconds."},"If-Match":{"type":"string","description":"Match condition for an entity to be deleted. If specified and a matching entity is not found, an error will be raised. To force an…"},"partitionKey":{"type":"string","description":"The partition key of the entity."},"rowKey":{"type":"string","description":"The row key of the entity."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-cosmos-db-tables/table-merge-entity":{"post":{"operationId":"cloud_azure_cosmos_db_tables_table_merge_entity","summary":"Merge entity in a table.","description":"PATCH /{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url","DataServiceVersion","x-ms-version","table","partitionKey","rowKey"],"properties":{"url":{"type":"string","description":"The host name of the tables account, e.g. accountName.table.core.windows.net"},"DataServiceVersion":{"type":"string","enum":["3.0"],"description":"DataServiceVersion header"},"x-ms-version":{"type":"string","description":"The API version."},"x-ms-client-request-id":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."},"table":{"type":"string","description":"The name of the table."},"timeout":{"type":"integer","description":"The timeout parameter is expressed in seconds."},"If-Match":{"type":"string","description":"Match condition for an entity to be deleted. If specified and a matching entity is not found, an error will be raised. To force an…"},"partitionKey":{"type":"string","description":"The partition key of the entity."},"rowKey":{"type":"string","description":"The row key of the entity."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-cosmos-db-tables/table-delete-entity":{"post":{"operationId":"cloud_azure_cosmos_db_tables_table_delete_entity","summary":"Deletes the specified entity in a table.","description":"DELETE /{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url","DataServiceVersion","x-ms-version","table","If-Match","partitionKey","rowKey"],"properties":{"url":{"type":"string","description":"The host name of the tables account, e.g. accountName.table.core.windows.net"},"DataServiceVersion":{"type":"string","enum":["3.0"],"description":"DataServiceVersion header"},"x-ms-version":{"type":"string","description":"The API version."},"x-ms-client-request-id":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."},"table":{"type":"string","description":"The name of the table."},"timeout":{"type":"integer","description":"The timeout parameter is expressed in seconds."},"If-Match":{"type":"string","description":"Match condition for an entity to be deleted. If specified and a matching entity is not found, an error will be raised. To force an…"},"partitionKey":{"type":"string","description":"The partition key of the entity."},"rowKey":{"type":"string","description":"The row key of the entity."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-cosmos-db-tables/table-insert-entity":{"post":{"operationId":"cloud_azure_cosmos_db_tables_table_insert_entity","summary":"Insert entity in a table.","description":"POST /{table}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url","DataServiceVersion","x-ms-version","table"],"properties":{"url":{"type":"string","description":"The host name of the tables account, e.g. accountName.table.core.windows.net"},"DataServiceVersion":{"type":"string","enum":["3.0"],"description":"DataServiceVersion header"},"x-ms-version":{"type":"string","description":"The API version."},"table":{"type":"string","description":"The name of the table."},"timeout":{"type":"integer","description":"The timeout parameter is expressed in seconds."},"$format":{"type":"string","enum":["application/json;odata=nometadata","application/json;odata=minimalmetadata","application/json;odata=fullmetadata"],"description":"Specifies the metadata format for the response."},"x-ms-client-request-id":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."},"Prefer":{"type":"string","enum":["return-no-content","return-content"],"description":"Specifies whether the response should include the inserted entity in the payload. Possible values are return-no-content and return-content."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-cosmos-db-tables/table-query":{"get":{"operationId":"cloud_azure_cosmos_db_tables_table_query","summary":"Queries tables under the given account.","description":"GET /Tables","tags":["cloud"],"parameters":[{"name":"url","in":"query","required":true,"description":"The host name of the tables account, e.g. accountName.table.core.windows.net","schema":{"type":"string","description":"The host name of the tables account, e.g. accountName.table.core.windows.net"}},{"name":"DataServiceVersion","in":"query","required":true,"description":"DataServiceVersion header","schema":{"type":"string","enum":["3.0"],"description":"DataServiceVersion header"}},{"name":"x-ms-version","in":"query","required":true,"description":"The API version.","schema":{"type":"string","description":"The API version."}},{"name":"x-ms-client-request-id","in":"query","required":false,"description":"An opaque, globally-unique, client-generated string identifier for the request.","schema":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."}},{"name":"$format","in":"query","required":false,"description":"Specifies the metadata format for the response.","schema":{"type":"string","enum":["application/json;odata=nometadata","application/json;odata=minimalmetadata","application/json;odata=fullmetadata"],"description":"Specifies the metadata format for the response."}},{"name":"$top","in":"query","required":false,"description":"Specifies the maximum number of records to return.","schema":{"type":"integer","description":"Specifies the maximum number of records to return."}},{"name":"$select","in":"query","required":false,"description":"Select expression using OData notation. Limits the columns on each record to just those requested.","schema":{"type":"string","description":"Select expression using OData notation. Limits the columns on each record to just those requested."}},{"name":"$filter","in":"query","required":false,"description":"OData filter expression.","schema":{"type":"string","description":"OData filter expression."}},{"name":"NextTableName","in":"query","required":false,"description":"A table query continuation token from a previous call.","schema":{"type":"string","description":"A table query continuation token from a previous call."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-cosmos-db-tables/table-create":{"post":{"operationId":"cloud_azure_cosmos_db_tables_table_create","summary":"Creates a new table under the given account.","description":"POST /Tables","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url","DataServiceVersion","x-ms-version","body"],"properties":{"url":{"type":"string","description":"The host name of the tables account, e.g. accountName.table.core.windows.net"},"DataServiceVersion":{"type":"string","enum":["3.0"],"description":"DataServiceVersion header"},"x-ms-version":{"type":"string","description":"The API version."},"x-ms-client-request-id":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."},"$format":{"type":"string","enum":["application/json;odata=nometadata","application/json;odata=minimalmetadata","application/json;odata=fullmetadata"],"description":"Specifies the metadata format for the response."},"Prefer":{"type":"string","enum":["return-no-content","return-content"],"description":"Specifies whether the response should include the created table in the payload. Possible values are return-no-content and return-content."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-cosmos-db-tables/table-delete":{"post":{"operationId":"cloud_azure_cosmos_db_tables_table_delete","summary":"Deletes an existing table.","description":"DELETE /Tables('{table}')","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url","x-ms-version","table"],"properties":{"url":{"type":"string","description":"The host name of the tables account, e.g. accountName.table.core.windows.net"},"x-ms-version":{"type":"string","description":"The API version."},"x-ms-client-request-id":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."},"table":{"type":"string","description":"The name of the table."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}