{"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-serviceusage/serviceusage-operations-cancel":{"post":{"operationId":"analytics_googleapis_serviceusage_serviceusage_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-serviceusage/serviceusage-services-get":{"get":{"operationId":"analytics_googleapis_serviceusage_serviceusage_services_get","summary":"Returns the service configuration and enabled state for a given service.","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Name of the consumer and service to get the `ConsumerState` for. An example name would be:…","schema":{"type":"string","description":"Name of the consumer and service to get the `ConsumerState` for. An example name would be:…"}}],"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-serviceusage/serviceusage-operations-delete":{"post":{"operationId":"analytics_googleapis_serviceusage_serviceusage_operations_delete","summary":"Deletes a long-running operation. This method indicates that the client is no longer interested in the…","description":"DELETE /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The name of the operation resource 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-serviceusage/serviceusage-operations-list":{"get":{"operationId":"analytics_googleapis_serviceusage_serviceusage_operations_list","summary":"Lists operations that match the specified filter in the request. If the server doesn't support this method,…","description":"GET /v1/operations","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":false,"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-serviceusage/serviceusage-services-batch-enable":{"post":{"operationId":"analytics_googleapis_serviceusage_serviceusage_services_batch_enable","summary":"Enable multiple services on a project. The operation is atomic: if enabling any service fails, then the…","description":"POST /v1/{+parent}/services:batchEnable","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Parent to enable services on. An example name would be: `projects/123` where `123` is the project number. The `BatchEnableServices` method…"},"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-serviceusage/serviceusage-services-batch-get":{"get":{"operationId":"analytics_googleapis_serviceusage_serviceusage_services_batch_get","summary":"Returns the service configurations and enabled states for a given list of services.","description":"GET /v1/{+parent}/services:batchGet","tags":["analytics"],"parameters":[{"name":"names","in":"query","required":false,"description":"Names of the services to retrieve. An example name would be: `projects/123/services/serviceusage.googleapis.com` where `123` is the…","schema":{"type":"string","description":"Names of the services to retrieve. An example name would be: `projects/123/services/serviceusage.googleapis.com` where `123` is the…"}},{"name":"parent","in":"query","required":true,"description":"Parent to retrieve services from. If this is set, the parent of all of the services specified in `names` must match this field. An example…","schema":{"type":"string","description":"Parent to retrieve services from. If this is set, the parent of all of the services specified in `names` must match this field. An example…"}}],"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-serviceusage/serviceusage-services-disable":{"post":{"operationId":"analytics_googleapis_serviceusage_serviceusage_services_disable","summary":"Disable a service so that it can no longer be used with a project. This prevents unintended usage that may…","description":"POST /v1/{+name}:disable","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Name of the consumer and service to disable the service on. The enable and disable methods currently only support projects. An example…"},"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-serviceusage/serviceusage-services-enable":{"post":{"operationId":"analytics_googleapis_serviceusage_serviceusage_services_enable","summary":"Enable a service so that it can be used with a project.","description":"POST /v1/{+name}:enable","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Name of the consumer and service to enable the service on. The `EnableService` and `DisableService` methods currently only support…"},"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-serviceusage/serviceusage-services-list":{"get":{"operationId":"analytics_googleapis_serviceusage_serviceusage_services_list","summary":"List all services available to the specified project, and the current state of those services with respect…","description":"GET /v1/{+parent}/services","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`.","schema":{"type":"string","description":"Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`."}},{"name":"pageSize","in":"query","required":false,"description":"Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50.","schema":{"type":"integer","description":"Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50."}},{"name":"pageToken","in":"query","required":false,"description":"Token identifying which result to start with, which is returned by a previous list call.","schema":{"type":"string","description":"Token identifying which result to start with, which is returned by a previous list call."}},{"name":"parent","in":"query","required":true,"description":"Parent to search for services on. An example name would be: `projects/123` where `123` is the project number.","schema":{"type":"string","description":"Parent to search for services on. An example name would be: `projects/123` where `123` is the project number."}}],"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"}}}}}}}