{"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/analytics:googleapis-datastore/datastore-projects-allocate-ids":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_allocate_ids","summary":"Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.","description":"POST /v1/projects/{projectId}:allocateIds","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","body"],"properties":{"projectId":{"type":"string","description":"Required. The ID of the project against which to make the request."},"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/analytics:googleapis-datastore/datastore-projects-begin-transaction":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_begin_transaction","summary":"Begins a new transaction.","description":"POST /v1/projects/{projectId}:beginTransaction","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","body"],"properties":{"projectId":{"type":"string","description":"Required. The ID of the project against which to make the request."},"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/analytics:googleapis-datastore/datastore-projects-commit":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_commit","summary":"Commits a transaction, optionally creating, deleting or modifying some entities.","description":"POST /v1/projects/{projectId}:commit","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","body"],"properties":{"projectId":{"type":"string","description":"Required. The ID of the project against which to make the request."},"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/analytics:googleapis-datastore/datastore-projects-export":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_export","summary":"Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage system, such as…","description":"POST /v1/projects/{projectId}:export","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","body"],"properties":{"projectId":{"type":"string","description":"Required. Project ID against which to make the request."},"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/analytics:googleapis-datastore/datastore-projects-import":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_import","summary":"Imports entities into Google Cloud Datastore. Existing entities with the same key are overwritten. The…","description":"POST /v1/projects/{projectId}:import","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","body"],"properties":{"projectId":{"type":"string","description":"Required. Project ID against which to make the request."},"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/analytics:googleapis-datastore/datastore-projects-lookup":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_lookup","summary":"Looks up entities by key.","description":"POST /v1/projects/{projectId}:lookup","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","body"],"properties":{"projectId":{"type":"string","description":"Required. The ID of the project against which to make the request."},"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/analytics:googleapis-datastore/datastore-projects-reserve-ids":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_reserve_ids","summary":"Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore.","description":"POST /v1/projects/{projectId}:reserveIds","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","body"],"properties":{"projectId":{"type":"string","description":"Required. The ID of the project against which to make the request."},"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/analytics:googleapis-datastore/datastore-projects-rollback":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_rollback","summary":"Rolls back a transaction.","description":"POST /v1/projects/{projectId}:rollback","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","body"],"properties":{"projectId":{"type":"string","description":"Required. The ID of the project against which to make the request."},"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/analytics:googleapis-datastore/datastore-projects-run-aggregation-query":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_run_aggregation_query","summary":"Runs an aggregation query.","description":"POST /v1/projects/{projectId}:runAggregationQuery","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","body"],"properties":{"projectId":{"type":"string","description":"Required. The ID of the project against which to make the request."},"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/analytics:googleapis-datastore/datastore-projects-run-query":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_run_query","summary":"Queries for entities.","description":"POST /v1/projects/{projectId}:runQuery","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","body"],"properties":{"projectId":{"type":"string","description":"Required. The ID of the project against which to make the request."},"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/analytics:googleapis-datastore/datastore-projects-indexes-list":{"get":{"operationId":"analytics_googleapis_datastore_datastore_projects_indexes_list","summary":"Lists the indexes that match the specified filters. Datastore uses an eventually consistent query to fetch…","description":"GET /v1/projects/{projectId}/indexes","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"schema":{"type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of items to return. If zero, then all results will be returned.","schema":{"type":"integer","description":"The maximum number of items to return. If zero, then all results will be returned."}},{"name":"pageToken","in":"query","required":false,"description":"The next_page_token value returned from a previous List request, if any.","schema":{"type":"string","description":"The next_page_token value returned from a previous List request, if any."}},{"name":"projectId","in":"query","required":true,"description":"Project ID against which to make the request.","schema":{"type":"string","description":"Project ID against which to make the request."}}],"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/analytics:googleapis-datastore/datastore-projects-indexes-create":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_indexes_create","summary":"Creates the specified index. A newly created index's initial state is `CREATING`. On completion of the…","description":"POST /v1/projects/{projectId}/indexes","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["projectId","body"],"properties":{"projectId":{"type":"string","description":"Project ID against which to make the request."},"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/analytics:googleapis-datastore/datastore-projects-indexes-get":{"get":{"operationId":"analytics_googleapis_datastore_datastore_projects_indexes_get","summary":"Gets an index.","description":"GET /v1/projects/{projectId}/indexes/{indexId}","tags":["analytics"],"parameters":[{"name":"indexId","in":"query","required":true,"description":"The resource ID of the index to get.","schema":{"type":"string","description":"The resource ID of the index to get."}},{"name":"projectId","in":"query","required":true,"description":"Project ID against which to make the request.","schema":{"type":"string","description":"Project ID against which to make the request."}}],"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/analytics:googleapis-datastore/datastore-projects-indexes-delete":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_indexes_delete","summary":"Deletes an existing index. An index can only be deleted if it is in a `READY` or `ERROR` state. On…","description":"DELETE /v1/projects/{projectId}/indexes/{indexId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["indexId","projectId"],"properties":{"indexId":{"type":"string","description":"The resource ID of the index to delete."},"projectId":{"type":"string","description":"Project ID against which to make the request."}}}}}},"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/analytics:googleapis-datastore/datastore-projects-operations-cancel":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_operations_cancel","summary":"Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the…","description":"POST /v1/{+name}:cancel","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The name of the operation resource to be cancelled."}}}}}},"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/analytics:googleapis-datastore/datastore-projects-operations-get":{"get":{"operationId":"analytics_googleapis_datastore_datastore_projects_operations_get","summary":"Gets the latest state of a long-running operation. Clients can use this method to poll the operation result…","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"The name of the operation resource.","schema":{"type":"string","description":"The name of the operation resource."}}],"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/analytics:googleapis-datastore/datastore-projects-operations-delete":{"post":{"operationId":"analytics_googleapis_datastore_datastore_projects_operations_delete","summary":"Deletes a long-running operation. This method indicates that the client is no longer interested in the…","description":"DELETE /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The name of the operation resource to be deleted."}}}}}},"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/analytics:googleapis-datastore/datastore-projects-operations-list":{"get":{"operationId":"analytics_googleapis_datastore_datastore_projects_operations_list","summary":"Lists operations that match the specified filter in the request. If the server doesn't support this method,…","description":"GET /v1/{+name}/operations","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"The standard list filter.","schema":{"type":"string","description":"The standard list filter."}},{"name":"name","in":"query","required":true,"description":"The name of the operation's parent resource.","schema":{"type":"string","description":"The name of the operation's parent resource."}},{"name":"pageSize","in":"query","required":false,"description":"The standard list page size.","schema":{"type":"integer","description":"The standard list page size."}},{"name":"pageToken","in":"query","required":false,"description":"The standard list page token.","schema":{"type":"string","description":"The standard list page token."}},{"name":"returnPartialSuccess","in":"query","required":false,"description":"When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the…","schema":{"type":"boolean","description":"When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the…"}}],"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"}}},"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"}}}}}}}