{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-tasks/tasks-tasklists-get":{"get":{"operationId":"analytics_googleapis_tasks_tasks_tasklists_get","summary":"Returns the authenticated user's specified task list.","description":"GET /tasks/v1/users/@me/lists/{tasklist}","tags":["analytics"],"parameters":[{"name":"tasklist","in":"query","required":true,"description":"Task list identifier. Use \"@default\" to get the authenticated user's default task list.","schema":{"type":"string","description":"Task list identifier. Use \"@default\" to get the authenticated user's default task list."}}],"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-tasks/tasks-tasklists-update":{"post":{"operationId":"analytics_googleapis_tasks_tasks_tasklists_update","summary":"Updates the authenticated user's specified task list.","description":"PUT /tasks/v1/users/@me/lists/{tasklist}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tasklist","body"],"properties":{"tasklist":{"type":"string","description":"Task list identifier."},"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-tasks/tasks-tasklists-patch":{"post":{"operationId":"analytics_googleapis_tasks_tasks_tasklists_patch","summary":"Updates the authenticated user's specified task list. This method supports patch semantics.","description":"PATCH /tasks/v1/users/@me/lists/{tasklist}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tasklist","body"],"properties":{"tasklist":{"type":"string","description":"Task list identifier."},"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-tasks/tasks-tasklists-delete":{"post":{"operationId":"analytics_googleapis_tasks_tasks_tasklists_delete","summary":"Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned…","description":"DELETE /tasks/v1/users/@me/lists/{tasklist}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tasklist"],"properties":{"tasklist":{"type":"string","description":"Task list identifier. The default task list cannot 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-tasks/tasks-tasklists-list":{"get":{"operationId":"analytics_googleapis_tasks_tasks_tasklists_list","summary":"Returns all the authenticated user's task lists. A user can have up to 2000 lists at a time.","description":"GET /tasks/v1/users/@me/lists","tags":["analytics"],"parameters":[{"name":"maxResults","in":"query","required":false,"description":"Optional. Maximum number of task lists returned on one page. The default is 1000 (max allowed: 1000).","schema":{"type":"integer","description":"Optional. Maximum number of task lists returned on one page. The default is 1000 (max allowed: 1000)."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. Token specifying the result page to return.","schema":{"type":"string","description":"Optional. Token specifying the result page to return."}}],"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-tasks/tasks-tasklists-insert":{"post":{"operationId":"analytics_googleapis_tasks_tasks_tasklists_insert","summary":"Creates a new task list and adds it to the authenticated user's task lists. A user can have up to 2000 lists…","description":"POST /tasks/v1/users/@me/lists","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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-tasks/tasks-tasks-clear":{"post":{"operationId":"analytics_googleapis_tasks_tasks_tasks_clear","summary":"Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and…","description":"POST /tasks/v1/lists/{tasklist}/clear","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tasklist"],"properties":{"tasklist":{"type":"string","description":"Task list identifier."}}}}}},"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-tasks/tasks-tasks-get":{"get":{"operationId":"analytics_googleapis_tasks_tasks_tasks_get","summary":"Returns the specified task.","description":"GET /tasks/v1/lists/{tasklist}/tasks/{task}","tags":["analytics"],"parameters":[{"name":"task","in":"query","required":true,"description":"Task identifier.","schema":{"type":"string","description":"Task identifier."}},{"name":"tasklist","in":"query","required":true,"description":"Task list identifier.","schema":{"type":"string","description":"Task list identifier."}}],"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-tasks/tasks-tasks-update":{"post":{"operationId":"analytics_googleapis_tasks_tasks_tasks_update","summary":"Updates the specified task.","description":"PUT /tasks/v1/lists/{tasklist}/tasks/{task}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["task","tasklist","body"],"properties":{"task":{"type":"string","description":"Task identifier."},"tasklist":{"type":"string","description":"Task list identifier."},"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-tasks/tasks-tasks-patch":{"post":{"operationId":"analytics_googleapis_tasks_tasks_tasks_patch","summary":"Updates the specified task. This method supports patch semantics.","description":"PATCH /tasks/v1/lists/{tasklist}/tasks/{task}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["task","tasklist","body"],"properties":{"task":{"type":"string","description":"Task identifier."},"tasklist":{"type":"string","description":"Task list identifier."},"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-tasks/tasks-tasks-delete":{"post":{"operationId":"analytics_googleapis_tasks_tasks_tasks_delete","summary":"Deletes the specified task from the task list. If the task is assigned, both the assigned task and the…","description":"DELETE /tasks/v1/lists/{tasklist}/tasks/{task}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["task","tasklist"],"properties":{"task":{"type":"string","description":"Task identifier."},"tasklist":{"type":"string","description":"Task list identifier."}}}}}},"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-tasks/tasks-tasks-list":{"get":{"operationId":"analytics_googleapis_tasks_tasks_tasks_list","summary":"Returns all tasks in the specified task list. Doesn't return assigned tasks by default (from Docs, Chat…","description":"GET /tasks/v1/lists/{tasklist}/tasks","tags":["analytics"],"parameters":[{"name":"completedMax","in":"query","required":false,"description":"Optional. Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. The default is not to filter by completion date.","schema":{"type":"string","description":"Optional. Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. The default is not to filter by completion date."}},{"name":"completedMin","in":"query","required":false,"description":"Optional. Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. The default is not to filter by completion date.","schema":{"type":"string","description":"Optional. Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. The default is not to filter by completion date."}},{"name":"dueMax","in":"query","required":false,"description":"Optional. Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. The default is not to filter by due date.","schema":{"type":"string","description":"Optional. Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. The default is not to filter by due date."}},{"name":"dueMin","in":"query","required":false,"description":"Optional. Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. The default is not to filter by due date.","schema":{"type":"string","description":"Optional. Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. The default is not to filter by due date."}},{"name":"maxResults","in":"query","required":false,"description":"Optional. Maximum number of tasks returned on one page. The default is 20 (max allowed: 100).","schema":{"type":"integer","description":"Optional. Maximum number of tasks returned on one page. The default is 20 (max allowed: 100)."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. Token specifying the result page to return.","schema":{"type":"string","description":"Optional. Token specifying the result page to return."}},{"name":"showAssigned","in":"query","required":false,"description":"Optional. Flag indicating whether tasks assigned to the current user are returned in the result. The default is False.","schema":{"type":"boolean","description":"Optional. Flag indicating whether tasks assigned to the current user are returned in the result. The default is False."}},{"name":"showCompleted","in":"query","required":false,"description":"Optional. Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks…","schema":{"type":"boolean","description":"Optional. Flag indicating whether completed tasks are returned in the result. Note that showHidden must also be True to show tasks…"}},{"name":"showDeleted","in":"query","required":false,"description":"Optional. Flag indicating whether deleted tasks are returned in the result. The default is False.","schema":{"type":"boolean","description":"Optional. Flag indicating whether deleted tasks are returned in the result. The default is False."}},{"name":"showHidden","in":"query","required":false,"description":"Optional. Flag indicating whether hidden tasks are returned in the result. The default is False.","schema":{"type":"boolean","description":"Optional. Flag indicating whether hidden tasks are returned in the result. The default is False."}},{"name":"tasklist","in":"query","required":true,"description":"Task list identifier.","schema":{"type":"string","description":"Task list identifier."}},{"name":"updatedMin","in":"query","required":false,"description":"Optional. Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. The default is not to filter by last…","schema":{"type":"string","description":"Optional. Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. The default is not to filter by last…"}}],"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-tasks/tasks-tasks-insert":{"post":{"operationId":"analytics_googleapis_tasks_tasks_tasks_insert","summary":"Creates a new task on the specified task list. Tasks assigned from Docs or Chat Spaces cannot be inserted…","description":"POST /tasks/v1/lists/{tasklist}/tasks","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tasklist","body"],"properties":{"hidden":{"type":"boolean","description":"Optional. Flag indicating whether the task is created as 'hidden', as if it had been completed and then cleared from the task list (see…"},"parent":{"type":"string","description":"Optional. Parent task identifier. If the task is created at the top level, this parameter is omitted. An assigned task cannot be a parent…"},"previous":{"type":"string","description":"Optional. Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted."},"tasklist":{"type":"string","description":"Task list identifier."},"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-tasks/tasks-tasks-move":{"post":{"operationId":"analytics_googleapis_tasks_tasks_tasks_move","summary":"Moves the specified task to another position in the destination task list. If the destination list is not…","description":"POST /tasks/v1/lists/{tasklist}/tasks/{task}/move","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["task","tasklist"],"properties":{"destinationTasklist":{"type":"string","description":"Optional. Destination task list identifier. If set, the task is moved from tasklist to the destinationTasklist list. Otherwise the task is…"},"parent":{"type":"string","description":"Optional. New parent task identifier. If the task is moved to the top level, this parameter is omitted. The task set as parent must exist…"},"previous":{"type":"string","description":"Optional. New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted.…"},"task":{"type":"string","description":"Task identifier."},"tasklist":{"type":"string","description":"Task list identifier."}}}}}},"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"}}}}}}}