{"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-area120tables/area120tables-workspaces-get":{"get":{"operationId":"analytics_googleapis_area120tables_area120tables_workspaces_get","summary":"Gets a workspace. Returns NOT_FOUND if the workspace does not exist.","description":"GET /v1alpha1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The name of the workspace to retrieve. Format: workspaces/{workspace}","schema":{"type":"string","description":"Required. The name of the workspace to retrieve. Format: workspaces/{workspace}"}}],"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-area120tables/area120tables-tables-rows-patch":{"post":{"operationId":"analytics_googleapis_area120tables_area120tables_tables_rows_patch","summary":"Updates a row.","description":"PATCH /v1alpha1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row."},"updateMask":{"type":"string","description":"The list of fields to update."},"view":{"type":"string","enum":["VIEW_UNSPECIFIED","COLUMN_ID_VIEW"],"description":"Optional. Column key to use for values in the row. Defaults to user entered name."},"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-area120tables/area120tables-tables-rows-delete":{"post":{"operationId":"analytics_googleapis_area120tables_area120tables_tables_rows_delete","summary":"Deletes a row.","description":"DELETE /v1alpha1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required. The name of the row to delete. Format: tables/{table}/rows/{row}"}}}}}},"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-area120tables/area120tables-tables-list":{"get":{"operationId":"analytics_googleapis_area120tables_area120tables_tables_list","summary":"Lists tables for the user.","description":"GET /v1alpha1/tables","tags":["analytics"],"parameters":[{"name":"orderBy","in":"query","required":false,"description":"Optional. Sorting order for the list of tables on createTime/updateTime.","schema":{"type":"string","description":"Optional. Sorting order for the list of tables on createTime/updateTime."}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of tables to return. The service may return fewer than this value. If unspecified, at most 20 tables are returned. The…","schema":{"type":"integer","description":"The maximum number of tables to return. The service may return fewer than this value. If unspecified, at most 20 tables are returned. The…"}},{"name":"pageToken","in":"query","required":false,"description":"A page token, received from a previous `ListTables` call. Provide this to retrieve the subsequent page. When paginating, all other…","schema":{"type":"string","description":"A page token, received from a previous `ListTables` call. Provide this to retrieve the subsequent page. When paginating, all other…"}}],"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-area120tables/area120tables-tables-rows-batch-create":{"post":{"operationId":"analytics_googleapis_area120tables_area120tables_tables_rows_batch_create","summary":"Creates multiple rows.","description":"POST /v1alpha1/{+parent}/rows:batchCreate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent table where the rows will be created. Format: tables/{table}"},"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-area120tables/area120tables-tables-rows-batch-delete":{"post":{"operationId":"analytics_googleapis_area120tables_area120tables_tables_rows_batch_delete","summary":"Deletes multiple rows.","description":"POST /v1alpha1/{+parent}/rows:batchDelete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent table shared by all rows being deleted. Format: tables/{table}"},"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-area120tables/area120tables-tables-rows-batch-update":{"post":{"operationId":"analytics_googleapis_area120tables_area120tables_tables_rows_batch_update","summary":"Updates multiple rows.","description":"POST /v1alpha1/{+parent}/rows:batchUpdate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent table shared by all rows being updated. Format: tables/{table}"},"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-area120tables/area120tables-tables-rows-list":{"get":{"operationId":"analytics_googleapis_area120tables_area120tables_tables_rows_list","summary":"Lists rows in a table. Returns NOT_FOUND if the table does not exist.","description":"GET /v1alpha1/{+parent}/rows","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. Filter to only include resources matching the requirements. For more information, see [Filtering list…","schema":{"type":"string","description":"Optional. Filter to only include resources matching the requirements. For more information, see [Filtering list…"}},{"name":"orderBy","in":"query","required":false,"description":"Optional. Sorting order for the list of rows on createTime/updateTime.","schema":{"type":"string","description":"Optional. Sorting order for the list of rows on createTime/updateTime."}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 50 rows are returned. The…","schema":{"type":"integer","description":"The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 50 rows are returned. The…"}},{"name":"pageToken","in":"query","required":false,"description":"A page token, received from a previous `ListRows` call. Provide this to retrieve the subsequent page. When paginating, all other…","schema":{"type":"string","description":"A page token, received from a previous `ListRows` call. Provide this to retrieve the subsequent page. When paginating, all other…"}},{"name":"parent","in":"query","required":true,"description":"Required. The parent table. Format: tables/{table}","schema":{"type":"string","description":"Required. The parent table. Format: tables/{table}"}},{"name":"view","in":"query","required":false,"description":"Optional. Column key to use for values in the row. Defaults to user entered name.","schema":{"type":"string","enum":["VIEW_UNSPECIFIED","COLUMN_ID_VIEW"],"description":"Optional. Column key to use for values in the row. Defaults to user entered name."}}],"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-area120tables/area120tables-tables-rows-create":{"post":{"operationId":"analytics_googleapis_area120tables_area120tables_tables_rows_create","summary":"Creates a row.","description":"POST /v1alpha1/{+parent}/rows","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent table where this row will be created. Format: tables/{table}"},"view":{"type":"string","enum":["VIEW_UNSPECIFIED","COLUMN_ID_VIEW"],"description":"Optional. Column key to use for values in the row. Defaults to user entered name."},"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-area120tables/area120tables-workspaces-list":{"get":{"operationId":"analytics_googleapis_area120tables_area120tables_workspaces_list","summary":"Lists workspaces for the user.","description":"GET /v1alpha1/workspaces","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"The maximum number of workspaces to return. The service may return fewer than this value. If unspecified, at most 10 workspaces are…","schema":{"type":"integer","description":"The maximum number of workspaces to return. The service may return fewer than this value. If unspecified, at most 10 workspaces are…"}},{"name":"pageToken","in":"query","required":false,"description":"A page token, received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other…","schema":{"type":"string","description":"A page token, received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other…"}}],"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"}}}}}}}