{"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-bigqueryconnection/bigqueryconnection-projects-locations-connections-list":{"get":{"operationId":"analytics_googleapis_bigqueryconnection_bigqueryconnection_projects_locations_connections_list","summary":"Returns a list of connections in the given project.","description":"GET /v1/{+parent}/connections","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Required. Page size.","schema":{"type":"integer","description":"Required. Page size."}},{"name":"pageToken","in":"query","required":false,"description":"Page token.","schema":{"type":"string","description":"Page token."}},{"name":"parent","in":"query","required":true,"description":"Required. Parent resource name. Must be in the form: `projects/{project_id}/locations/{location_id}`","schema":{"type":"string","description":"Required. Parent resource name. Must be in the form: `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-bigqueryconnection/bigqueryconnection-projects-locations-connections-create":{"post":{"operationId":"analytics_googleapis_bigqueryconnection_bigqueryconnection_projects_locations_connections_create","summary":"Creates a new connection.","description":"POST /v1/{+parent}/connections","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"connectionId":{"type":"string","description":"Optional. Connection id that should be assigned to the created connection."},"parent":{"type":"string","description":"Required. Parent resource name. Must be in the format `projects/{project_id}/locations/{location_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-bigqueryconnection/bigqueryconnection-projects-locations-connections-get":{"get":{"operationId":"analytics_googleapis_bigqueryconnection_bigqueryconnection_projects_locations_connections_get","summary":"Returns specified connection.","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. Name of the requested connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`","schema":{"type":"string","description":"Required. Name of the requested connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_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-bigqueryconnection/bigqueryconnection-projects-locations-connections-patch":{"post":{"operationId":"analytics_googleapis_bigqueryconnection_bigqueryconnection_projects_locations_connections_patch","summary":"Updates the specified connection. For security reasons, also resets credential if connection properties are…","description":"PATCH /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. Name of the connection to update, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`"},"updateMask":{"type":"string","description":"Required. Update mask for the connection fields to 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-bigqueryconnection/bigqueryconnection-projects-locations-connections-delete":{"post":{"operationId":"analytics_googleapis_bigqueryconnection_bigqueryconnection_projects_locations_connections_delete","summary":"Deletes connection and associated credential.","description":"DELETE /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required. Name of the deleted connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_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-bigqueryconnection/bigqueryconnection-projects-locations-connections-get-iam-po":{"post":{"operationId":"analytics_googleapis_bigqueryconnection_bigqueryconnection_projects_locations_connections_get_iam_po","summary":"Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not…","description":"POST /v1/{+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-bigqueryconnection/bigqueryconnection-projects-locations-connections-set-iam-po":{"post":{"operationId":"analytics_googleapis_bigqueryconnection_bigqueryconnection_projects_locations_connections_set_iam_po","summary":"Sets the access control policy on the specified resource. Replaces any existing policy. Can return…","description":"POST /v1/{+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-bigqueryconnection/bigqueryconnection-projects-locations-connections-test-iam-p":{"post":{"operationId":"analytics_googleapis_bigqueryconnection_bigqueryconnection_projects_locations_connections_test_iam_p","summary":"Returns permissions that a caller has on the specified resource. If the resource does not exist, this will…","description":"POST /v1/{+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"}}},"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"}}}}}}}