{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-cloudtasks/cloudtasks-projects-locations-queues-tasks-get":{"get":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_tasks_get","summary":"Gets a task. After a task is successfully executed or has exhausted its retry attempts, the task is deleted.…","description":"GET /v2/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`","schema":{"type":"string","description":"Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`"}},{"name":"responseView","in":"query","required":false,"description":"The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved…","schema":{"type":"string","enum":["VIEW_UNSPECIFIED","BASIC","FULL"],"description":"The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved…"}}],"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-cloudtasks/cloudtasks-projects-locations-queues-patch":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_patch","summary":"Updates a queue. This method creates the queue if it does not exist and updates the queue if it does exist.…","description":"PATCH /v2/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following…"},"updateMask":{"type":"string","description":"A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated."},"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-cloudtasks/cloudtasks-projects-locations-queues-tasks-delete":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_tasks_delete","summary":"Deletes a task. A task can be deleted if it is scheduled or dispatched. A task cannot be deleted if it has…","description":"DELETE /v2/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`"}}}}}},"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-cloudtasks/cloudtasks-projects-locations-list":{"get":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_list","summary":"Lists information about the supported locations for this service. This method lists locations based on the…","description":"GET /v2/{+name}/locations","tags":["analytics"],"parameters":[{"name":"extraLocationTypes","in":"query","required":false,"description":"Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.","schema":{"type":"string","description":"Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage."}},{"name":"filter","in":"query","required":false,"description":"A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is…","schema":{"type":"string","description":"A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is…"}},{"name":"name","in":"query","required":true,"description":"The resource that owns the locations collection, if applicable.","schema":{"type":"string","description":"The resource that owns the locations collection, if applicable."}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of results to return. If not set, the service selects a default.","schema":{"type":"integer","description":"The maximum number of results to return. If not set, the service selects a default."}},{"name":"pageToken","in":"query","required":false,"description":"A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.","schema":{"type":"string","description":"A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page."}}],"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-cloudtasks/cloudtasks-projects-locations-queues-list":{"get":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_list","summary":"Lists queues. Queues are returned in lexicographical order.","description":"GET /v2/{+parent}/queues","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"`filter` can be used to specify a subset of queues. Any Queue field can be used as a filter and several operators as supported. For…","schema":{"type":"string","description":"`filter` can be used to specify a subset of queues. Any Queue field can be used as a filter and several operators as supported. For…"}},{"name":"pageSize","in":"query","required":false,"description":"Requested page size. The maximum page size is 9800. If unspecified, the page size will be the maximum. Fewer queues than requested might…","schema":{"type":"integer","description":"Requested page size. The maximum page size is 9800. If unspecified, the page size will be the maximum. Fewer queues than requested might…"}},{"name":"pageToken","in":"query","required":false,"description":"A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page…","schema":{"type":"string","description":"A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page…"}},{"name":"parent","in":"query","required":true,"description":"Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`","schema":{"type":"string","description":"Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`"}}],"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-cloudtasks/cloudtasks-projects-locations-queues-create":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_create","summary":"Creates a queue. Queues created with this method allow tasks to live for a maximum of 31 days. After a task…","description":"POST /v2/{+parent}/queues","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The location name in which the queue will be created. For example: `projects/PROJECT_ID/locations/LOCATION_ID` The list of…"},"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-cloudtasks/cloudtasks-projects-locations-queues-get-iam-policy":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_get_iam_policy","summary":"Gets the access control policy for a Queue. Returns an empty policy if the resource exists and does not have…","description":"POST /v2/{+resource}:getIamPolicy","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["resource","body"],"properties":{"resource":{"type":"string","description":"REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names)…"},"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-cloudtasks/cloudtasks-projects-locations-queues-pause":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_pause","summary":"Pauses the queue. If a queue is paused then the system will stop dispatching tasks until the queue is…","description":"POST /v2/{+name}:pause","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`"},"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-cloudtasks/cloudtasks-projects-locations-queues-purge":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_purge","summary":"Purges a queue by deleting all of its tasks. All tasks created before this method is called are permanently…","description":"POST /v2/{+name}:purge","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`"},"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-cloudtasks/cloudtasks-projects-locations-queues-resume":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_resume","summary":"Resume a queue. This method resumes a queue after it has been PAUSED or DISABLED. The state of a queue is…","description":"POST /v2/{+name}:resume","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`"},"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-cloudtasks/cloudtasks-projects-locations-queues-set-iam-policy":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_set_iam_policy","summary":"Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not…","description":"POST /v2/{+resource}:setIamPolicy","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["resource","body"],"properties":{"resource":{"type":"string","description":"REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names)…"},"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-cloudtasks/cloudtasks-projects-locations-queues-test-iam-permissions":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_test_iam_permissions","summary":"Returns permissions that a caller has on a Queue. If the resource does not exist, this will return an empty…","description":"POST /v2/{+resource}:testIamPermissions","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["resource","body"],"properties":{"resource":{"type":"string","description":"REQUIRED: The resource for which the policy detail is being requested. See [Resource…"},"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-cloudtasks/cloudtasks-projects-locations-queues-tasks-batch-create":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_tasks_batch_create","summary":"Creates a batch of tasks and adds them to a queue. All tasks must be for the same queue. A maximum of 100…","description":"POST /v2/{+parent}/tasks:batchCreate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist."},"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-cloudtasks/cloudtasks-projects-locations-queues-tasks-batch-delete":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_tasks_batch_delete","summary":"Deletes a batch of tasks. This is a non-atomic operation: if deletion fails for some tasks, it can still…","description":"POST /v2/{+parent}/tasks:batchDelete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The queue name. For example: Format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`"},"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-cloudtasks/cloudtasks-projects-locations-queues-tasks-buffer":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_tasks_buffer","summary":"Creates and buffers a new task without the need to explicitly define a Task message. The queue must have…","description":"POST /v2/{+queue}/tasks/{taskId}:buffer","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["queue","taskId","body"],"properties":{"queue":{"type":"string","description":"Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist."},"taskId":{"type":"string","description":"Optional. Task ID for the task being created. If not provided, Cloud Tasks generates an ID for the task."},"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-cloudtasks/cloudtasks-projects-locations-queues-tasks-list":{"get":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_tasks_list","summary":"Lists the tasks in a queue. By default, only the BASIC view is retrieved due to performance considerations;…","description":"GET /v2/{+parent}/tasks","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to…","schema":{"type":"integer","description":"Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to…"}},{"name":"pageToken","in":"query","required":false,"description":"A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page…","schema":{"type":"string","description":"A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page…"}},{"name":"parent","in":"query","required":true,"description":"Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`","schema":{"type":"string","description":"Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`"}},{"name":"responseView","in":"query","required":false,"description":"The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved…","schema":{"type":"string","enum":["VIEW_UNSPECIFIED","BASIC","FULL"],"description":"The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved…"}}],"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-cloudtasks/cloudtasks-projects-locations-queues-tasks-create":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_tasks_create","summary":"Creates a task and adds it to a queue. Tasks cannot be updated after creation; there is no UpdateTask…","description":"POST /v2/{+parent}/tasks","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist."},"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-cloudtasks/cloudtasks-projects-locations-queues-tasks-run":{"post":{"operationId":"analytics_googleapis_cloudtasks_cloudtasks_projects_locations_queues_tasks_run","summary":"Forces a task to run now. When this method is called, Cloud Tasks will dispatch the task, even if the task…","description":"POST /v2/{+name}:run","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`"},"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"}}},"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"}}}}}}}