{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-servicedirectory/servicedirectory-projects-locations-namespaces-services-endp":{"get":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_services_endp","summary":"Gets an endpoint.","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The name of the endpoint to get.","schema":{"type":"string","description":"Required. The name of the endpoint to get."}}],"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-servicedirectory/servicedirectory-projects-locations-namespaces-services-endp-2":{"post":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_services_endp_2","summary":"Updates an endpoint.","description":"PATCH /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Identifier. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`."},"updateMask":{"type":"string","description":"Required. List of fields to be updated in this request."},"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-servicedirectory/servicedirectory-projects-locations-namespaces-services-endp-3":{"post":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_services_endp_3","summary":"Deletes an endpoint.","description":"DELETE /v1/{+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 endpoint to delete."}}}}}},"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-servicedirectory/servicedirectory-projects-locations-list":{"get":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_list","summary":"Lists information about the supported locations for this service. This method lists locations based on the…","description":"GET /v1/{+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-servicedirectory/servicedirectory-projects-locations-namespaces-list":{"get":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_list","summary":"Lists all namespaces.","description":"GET /v1/{+parent}/namespaces","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. The filter to list results by. General `filter` string syntax: ` ()` * `` can be `name` or `labels.` for map field * `` can be `…","schema":{"type":"string","description":"Optional. The filter to list results by. General `filter` string syntax: ` ()` * `` can be `name` or `labels.` for map field * `` can be `…"}},{"name":"orderBy","in":"query","required":false,"description":"Optional. The order to list results by. General `order_by` string syntax: ` () (,)` * `` allows value: `name` * `` ascending or descending…","schema":{"type":"string","description":"Optional. The order to list results by. General `order_by` string syntax: ` () (,)` * `` allows value: `name` * `` ascending or descending…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of items to return.","schema":{"type":"integer","description":"Optional. The maximum number of items to return."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. The next_page_token value returned from a previous List request, if any.","schema":{"type":"string","description":"Optional. The next_page_token value returned from a previous List request, if any."}},{"name":"parent","in":"query","required":true,"description":"Required. The resource name of the project and location whose namespaces you'd like to list.","schema":{"type":"string","description":"Required. The resource name of the project and location whose namespaces you'd like to list."}}],"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-servicedirectory/servicedirectory-projects-locations-namespaces-create":{"post":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_create","summary":"Creates a namespace, and returns the new namespace.","description":"POST /v1/{+parent}/namespaces","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"namespaceId":{"type":"string","description":"Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and…"},"parent":{"type":"string","description":"Required. The resource name of the project and location the namespace will be created 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-servicedirectory/servicedirectory-projects-locations-namespaces-services-get":{"post":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_services_get","summary":"Gets the IAM Policy for a resource (namespace or service only).","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-servicedirectory/servicedirectory-projects-locations-namespaces-services-set":{"post":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_services_set","summary":"Sets the IAM Policy for a resource (namespace or service only).","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-servicedirectory/servicedirectory-projects-locations-namespaces-services-test":{"post":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_services_test","summary":"Tests IAM permissions for a resource (namespace or service only).","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"}},"/v1/analytics:googleapis-servicedirectory/servicedirectory-projects-locations-namespaces-services-list":{"get":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_services_list","summary":"Lists all services belonging to a namespace.","description":"GET /v1/{+parent}/services","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. The filter to list results by. General `filter` string syntax: ` ()` * `` can be `name` or `annotations.` for map field * `` can…","schema":{"type":"string","description":"Optional. The filter to list results by. General `filter` string syntax: ` ()` * `` can be `name` or `annotations.` for map field * `` can…"}},{"name":"orderBy","in":"query","required":false,"description":"Optional. The order to list results by. General `order_by` string syntax: ` () (,)` * `` allows value: `name` * `` ascending or descending…","schema":{"type":"string","description":"Optional. The order to list results by. General `order_by` string syntax: ` () (,)` * `` allows value: `name` * `` ascending or descending…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of items to return.","schema":{"type":"integer","description":"Optional. The maximum number of items to return."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. The next_page_token value returned from a previous List request, if any.","schema":{"type":"string","description":"Optional. The next_page_token value returned from a previous List request, if any."}},{"name":"parent","in":"query","required":true,"description":"Required. The resource name of the namespace whose services you'd like to list.","schema":{"type":"string","description":"Required. The resource name of the namespace whose services you'd like to list."}}],"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-servicedirectory/servicedirectory-projects-locations-namespaces-services-crea":{"post":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_services_crea","summary":"Creates a service, and returns the new service.","description":"POST /v1/{+parent}/services","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The resource name of the namespace this service will belong to."},"serviceId":{"type":"string","description":"Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and…"},"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-servicedirectory/servicedirectory-projects-locations-namespaces-services-reso":{"post":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_services_reso","summary":"Returns a service and its associated endpoints. Resolving a service is not considered an active developer…","description":"POST /v1/{+name}:resolve","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The name of the service to resolve."},"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-servicedirectory/servicedirectory-projects-locations-namespaces-services-endp-4":{"get":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_services_endp_4","summary":"Lists all endpoints.","description":"GET /v1/{+parent}/endpoints","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. The filter to list results by. General `filter` string syntax: ` ()` * `` can be `name`, `address`, `port`, or `annotations.`…","schema":{"type":"string","description":"Optional. The filter to list results by. General `filter` string syntax: ` ()` * `` can be `name`, `address`, `port`, or `annotations.`…"}},{"name":"orderBy","in":"query","required":false,"description":"Optional. The order to list results by. General `order_by` string syntax: ` () (,)` * `` allows values: `name`, `address`, `port` * ``…","schema":{"type":"string","description":"Optional. The order to list results by. General `order_by` string syntax: ` () (,)` * `` allows values: `name`, `address`, `port` * ``…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of items to return.","schema":{"type":"integer","description":"Optional. The maximum number of items to return."}},{"name":"pageToken","in":"query","required":false,"description":"Optional. The next_page_token value returned from a previous List request, if any.","schema":{"type":"string","description":"Optional. The next_page_token value returned from a previous List request, if any."}},{"name":"parent","in":"query","required":true,"description":"Required. The resource name of the service whose endpoints you'd like to list.","schema":{"type":"string","description":"Required. The resource name of the service whose endpoints you'd like to list."}}],"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-servicedirectory/servicedirectory-projects-locations-namespaces-services-endp-5":{"post":{"operationId":"analytics_googleapis_servicedirectory_servicedirectory_projects_locations_namespaces_services_endp_5","summary":"Creates an endpoint, and returns the new endpoint.","description":"POST /v1/{+parent}/endpoints","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"endpointId":{"type":"string","description":"Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and…"},"parent":{"type":"string","description":"Required. The resource name of the service that this endpoint provides."},"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"}}}}}}}