{"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-serviceconsumermanagement/serviceconsumermanagement-operations-cancel":{"post":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_operations_cancel","summary":"Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the…","description":"POST /v1/{+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"}},"/v1/analytics:googleapis-serviceconsumermanagement/serviceconsumermanagement-operations-list":{"get":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_operations_list","summary":"Lists operations that match the specified filter in the request. If the server doesn't support this method,…","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"The standard list filter.","schema":{"type":"string","description":"The standard list filter."}},{"name":"name","in":"query","required":true,"description":"The name of the operation's parent resource.","schema":{"type":"string","description":"The name of the operation's parent resource."}},{"name":"pageSize","in":"query","required":false,"description":"The standard list page size.","schema":{"type":"integer","description":"The standard list page size."}},{"name":"pageToken","in":"query","required":false,"description":"The standard list page token.","schema":{"type":"string","description":"The standard list page token."}},{"name":"returnPartialSuccess","in":"query","required":false,"description":"When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the…","schema":{"type":"boolean","description":"When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the…"}}],"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-serviceconsumermanagement/serviceconsumermanagement-services-tenancy-units-delete":{"post":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_services_tenancy_units_delete","summary":"Delete a tenancy unit. Before you delete the tenancy unit, there should be no tenant resources in it that…","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 tenancy unit to 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-serviceconsumermanagement/serviceconsumermanagement-services-search":{"get":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_services_search","summary":"Search tenancy units for a managed service.","description":"GET /v1/{+parent}:search","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of results returned by this request. Currently, the default maximum is set to 256. If `page_size` <= 256, the…","schema":{"type":"integer","description":"Optional. The maximum number of results returned by this request. Currently, the default maximum is set to 256. If `page_size` <= 256, the…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to…","schema":{"type":"string","description":"Optional. The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to…"}},{"name":"parent","in":"query","required":true,"description":"Required. Service for which search is performed. services/{service} {service} the name of a service, for example 'service.googleapis.com'.","schema":{"type":"string","description":"Required. Service for which search is performed. services/{service} {service} the name of a service, for example 'service.googleapis.com'."}},{"name":"query","in":"query","required":false,"description":"Optional. Set a query `{expression}` for querying tenancy units. Your `{expression}` must be in the format: `field_name=literal_string`.…","schema":{"type":"string","description":"Optional. Set a query `{expression}` for querying tenancy units. Your `{expression}` must be in the format: `field_name=literal_string`.…"}}],"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-serviceconsumermanagement/serviceconsumermanagement-services-tenancy-units-add-project":{"post":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_services_tenancy_units_add_project","summary":"Add a new tenant project to the tenancy unit. There can be a maximum of 1024 tenant projects in a tenancy…","description":"POST /v1/{+parent}:addProject","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'."},"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-serviceconsumermanagement/serviceconsumermanagement-services-tenancy-units-apply-proje":{"post":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_services_tenancy_units_apply_proje","summary":"Apply a configuration to an existing tenant project. This project must exist in an active state and have the…","description":"POST /v1/{+name}:applyProjectConfig","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'."},"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-serviceconsumermanagement/serviceconsumermanagement-services-tenancy-units-attach-proj":{"post":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_services_tenancy_units_attach_proj","summary":"Attach an existing project to the tenancy unit as a new tenant resource. The project could either be the…","description":"POST /v1/{+name}:attachProject","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. Name of the tenancy unit that the project will be attached to. Such as…"},"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-serviceconsumermanagement/serviceconsumermanagement-services-tenancy-units-list":{"get":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_services_tenancy_units_list","summary":"Find the tenancy unit for a managed service and service consumer. This method shouldn't be used in a service…","description":"GET /v1/{+parent}/tenancyUnits","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. Filter expression over tenancy resources field. Optional.","schema":{"type":"string","description":"Optional. Filter expression over tenancy resources field. Optional."}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of results returned by this request.","schema":{"type":"integer","description":"Optional. The maximum number of results returned by this request."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to…","schema":{"type":"string","description":"Optional. The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to…"}},{"name":"parent","in":"query","required":true,"description":"Required. Managed service and service consumer. Required. services/{service}/{collection id}/{resource id} {collection id} is the cloud…","schema":{"type":"string","description":"Required. Managed service and service consumer. Required. services/{service}/{collection id}/{resource id} {collection id} is the cloud…"}}],"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-serviceconsumermanagement/serviceconsumermanagement-services-tenancy-units-create":{"post":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_services_tenancy_units_create","summary":"Creates a tenancy unit with no tenant resources. If tenancy unit already exists, it will be returned,…","description":"POST /v1/{+parent}/tenancyUnits","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. services/{service}/{collection id}/{resource id} {collection id} is the cloud resource collection type representing the service…"},"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-serviceconsumermanagement/serviceconsumermanagement-services-tenancy-units-delete-proj":{"post":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_services_tenancy_units_delete_proj","summary":"Deletes the specified project resource identified by a tenant resource tag. The mothod removes a project…","description":"POST /v1/{+name}:deleteProject","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'."},"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-serviceconsumermanagement/serviceconsumermanagement-services-tenancy-units-remove-proj":{"post":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_services_tenancy_units_remove_proj","summary":"Removes the specified project resource identified by a tenant resource tag. The method removes the project…","description":"POST /v1/{+name}:removeProject","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'."},"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-serviceconsumermanagement/serviceconsumermanagement-services-tenancy-units-undelete-pr":{"post":{"operationId":"analytics_googleapis_serviceconsumermanagement_serviceconsumermanagement_services_tenancy_units_undelete_pr","summary":"Attempts to undelete a previously deleted tenant project. The project must be in a DELETED state. There are…","description":"POST /v1/{+name}:undeleteProject","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'."},"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"}}}}}}}