{"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-cloudbuild/cloudbuild-projects-locations-operations-get":{"get":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_operations_get","summary":"Gets the latest state of a long-running operation. Clients can use this method to poll the operation result…","description":"GET /v2/{+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-cloudbuild/cloudbuild-projects-locations-connections-patch":{"post":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_patch","summary":"Updates a single connection.","description":"PATCH /v2/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"allowMissing":{"type":"boolean","description":"If set to true, and the connection is not found a new connection will be created. In this situation `update_mask` is ignored. The creation…"},"etag":{"type":"string","description":"The current etag of the connection. If an etag is provided and does not match the current etag of the connection, update will be blocked…"},"name":{"type":"string","description":"Immutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`."},"updateMask":{"type":"string","description":"The list of 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-cloudbuild/cloudbuild-projects-locations-connections-repositories-delet":{"post":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_repositories_delet","summary":"Deletes a single repository.","description":"DELETE /v2/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"etag":{"type":"string","description":"The current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked…"},"name":{"type":"string","description":"Required. The name of the Repository to delete. Format: `projects/*/locations/*/connections/*/repositories/*`."},"validateOnly":{"type":"boolean","description":"If set, validate the request, but do not actually post it."}}}}}},"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-cloudbuild/cloudbuild-projects-locations-list":{"get":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_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-cloudbuild/cloudbuild-projects-locations-connections-list":{"get":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_list","summary":"Lists Connections in a given project and location.","description":"GET /v2/{+parent}/connections","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Number of results to return in the list.","schema":{"type":"integer","description":"Number of results to return in the list."}},{"name":"pageToken","in":"query","required":false,"description":"Page start.","schema":{"type":"string","description":"Page start."}},{"name":"parent","in":"query","required":true,"description":"Required. The parent, which owns this collection of Connections. Format: `projects/*/locations/*`.","schema":{"type":"string","description":"Required. The parent, which owns this collection of Connections. Format: `projects/*/locations/*`."}},{"name":"returnPartialSuccess","in":"query","required":false,"description":"Optional. If set to true, the response will return partial results when some regions are unreachable. If set to false, the response will…","schema":{"type":"boolean","description":"Optional. If set to true, the response will return partial results when some regions are unreachable. If set to false, the response will…"}}],"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-cloudbuild/cloudbuild-projects-locations-connections-create":{"post":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_create","summary":"Creates a Connection.","description":"POST /v2/{+parent}/connections","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"connectionId":{"type":"string","description":"Required. The ID to use for the Connection, which will become the final component of the Connection's resource name. Names must be unique…"},"parent":{"type":"string","description":"Required. Project and location where the connection will be created. Format: `projects/*/locations/*`."},"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-cloudbuild/cloudbuild-projects-locations-connections-fetch-linkable-rep":{"get":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_fetch_linkable_rep","summary":"FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.","description":"GET /v2/{+connection}:fetchLinkableRepositories","tags":["analytics"],"parameters":[{"name":"connection","in":"query","required":true,"description":"Required. The name of the Connection. Format: `projects/*/locations/*/connections/*`.","schema":{"type":"string","description":"Required. The name of the Connection. Format: `projects/*/locations/*/connections/*`."}},{"name":"pageSize","in":"query","required":false,"description":"Number of results to return in the list. Default to 20.","schema":{"type":"integer","description":"Number of results to return in the list. Default to 20."}},{"name":"pageToken","in":"query","required":false,"description":"Page start.","schema":{"type":"string","description":"Page start."}}],"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-cloudbuild/cloudbuild-projects-locations-connections-get-iam-policy":{"get":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_get_iam_policy","summary":"Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not…","description":"GET /v2/{+resource}:getIamPolicy","tags":["analytics"],"parameters":[{"name":"options.requestedPolicyVersion","in":"query","required":false,"description":"Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid…","schema":{"type":"integer","description":"Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid…"}},{"name":"resource","in":"query","required":true,"description":"REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names)…","schema":{"type":"string","description":"REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names)…"}}],"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-cloudbuild/cloudbuild-projects-locations-connections-process-webhook":{"post":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_process_webhook","summary":"ProcessWebhook is called by the external SCM for notifying of events.","description":"POST /v2/{+parent}/connections:processWebhook","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. Project and location where the webhook will be received. Format: `projects/*/locations/*`."},"webhookKey":{"type":"string","description":"Arbitrary additional key to find the matching repository for a webhook event if needed."},"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-cloudbuild/cloudbuild-projects-locations-connections-set-iam-policy":{"post":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_set_iam_policy","summary":"Sets the access control policy on the specified resource. Replaces any existing policy. Can return…","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-cloudbuild/cloudbuild-projects-locations-connections-test-iam-permissio":{"post":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_test_iam_permissio","summary":"Returns permissions that a caller has on the specified resource. If the resource does not exist, this will…","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-cloudbuild/cloudbuild-projects-locations-connections-repositories-acces":{"post":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_repositories_acces","summary":"Fetches read token of a given repository.","description":"POST /v2/{+repository}:accessReadToken","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["repository","body"],"properties":{"repository":{"type":"string","description":"Required. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`."},"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-cloudbuild/cloudbuild-projects-locations-connections-repositories-acces-2":{"post":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_repositories_acces_2","summary":"Fetches read/write token of a given repository.","description":"POST /v2/{+repository}:accessReadWriteToken","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["repository","body"],"properties":{"repository":{"type":"string","description":"Required. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`."},"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-cloudbuild/cloudbuild-projects-locations-connections-repositories-batch":{"post":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_repositories_batch","summary":"Creates multiple repositories inside a connection.","description":"POST /v2/{+parent}/repositories:batchCreate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The connection to contain all the repositories being created. Format: projects/*/locations/*/connections/* The parent field in…"},"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-cloudbuild/cloudbuild-projects-locations-connections-repositories-list":{"get":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_repositories_list","summary":"Lists Repositories in a given connection.","description":"GET /v2/{+parent}/repositories","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"A filter expression that filters resources listed in the response. Expressions must follow API improvement proposal…","schema":{"type":"string","description":"A filter expression that filters resources listed in the response. Expressions must follow API improvement proposal…"}},{"name":"pageSize","in":"query","required":false,"description":"Number of results to return in the list.","schema":{"type":"integer","description":"Number of results to return in the list."}},{"name":"pageToken","in":"query","required":false,"description":"Page start.","schema":{"type":"string","description":"Page start."}},{"name":"parent","in":"query","required":true,"description":"Required. The parent, which owns this collection of Repositories. Format: `projects/*/locations/*/connections/*`.","schema":{"type":"string","description":"Required. The parent, which owns this collection of Repositories. Format: `projects/*/locations/*/connections/*`."}},{"name":"returnPartialSuccess","in":"query","required":false,"description":"Optional. If set to true, the response will return partial results when some regions are unreachable. If set to false, the response will…","schema":{"type":"boolean","description":"Optional. If set to true, the response will return partial results when some regions are unreachable. If set to false, the response will…"}}],"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-cloudbuild/cloudbuild-projects-locations-connections-repositories-creat":{"post":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_repositories_creat","summary":"Creates a Repository.","description":"POST /v2/{+parent}/repositories","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty…"},"repositoryId":{"type":"string","description":"Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be…"},"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-cloudbuild/cloudbuild-projects-locations-connections-repositories-fetch":{"get":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_connections_repositories_fetch","summary":"Fetch the list of branches or tags for a given repository.","description":"GET /v2/{+repository}:fetchGitRefs","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Optional. Number of results to return in the list. Default to 20.","schema":{"type":"integer","description":"Optional. Number of results to return in the list. Default to 20."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. Page start.","schema":{"type":"string","description":"Optional. Page start."}},{"name":"refType","in":"query","required":false,"description":"Type of refs to fetch","schema":{"type":"string","enum":["REF_TYPE_UNSPECIFIED","TAG","BRANCH"],"description":"Type of refs to fetch"}},{"name":"repository","in":"query","required":true,"description":"Required. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`.","schema":{"type":"string","description":"Required. The resource name of the repository in the format `projects/*/locations/*/connections/*/repositories/*`."}}],"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-cloudbuild/cloudbuild-projects-locations-operations-cancel":{"post":{"operationId":"analytics_googleapis_cloudbuild_cloudbuild_projects_locations_operations_cancel","summary":"Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the…","description":"POST /v2/{+name}:cancel","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"The name of the operation resource to be cancelled."},"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"}}}}}}}