{"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/dev-tools:google-cloudcontrolspartner/cloudcontrolspartner-organizations-locations-customers-workl":{"get":{"operationId":"dev_tools_google_cloudcontrolspartner_cloudcontrolspartner_organizations_locations_customers_workl","summary":"Gets details of a single Violation.","description":"GET /v1/{+name}","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`","schema":{"type":"string","description":"Required. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`"}}],"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/dev-tools:google-cloudcontrolspartner/cloudcontrolspartner-organizations-locations-customers-patch":{"post":{"operationId":"dev_tools_google_cloudcontrolspartner_cloudcontrolspartner_organizations_locations_customers_patch","summary":"Update details of a single customer","description":"PATCH /v1/{+name}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}`"},"updateMask":{"type":"string","description":"Optional. The list of fields to update"},"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/dev-tools:google-cloudcontrolspartner/cloudcontrolspartner-organizations-locations-customers-delet":{"post":{"operationId":"dev_tools_google_cloudcontrolspartner_cloudcontrolspartner_organizations_locations_customers_delet","summary":"Delete details of a single customer","description":"DELETE /v1/{+name}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required. name of the resource to be deleted format: name=organizations/*/locations/*/customers/*"}}}}}},"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/dev-tools:google-cloudcontrolspartner/cloudcontrolspartner-organizations-locations-customers-list":{"get":{"operationId":"dev_tools_google_cloudcontrolspartner_cloudcontrolspartner_organizations_locations_customers_list","summary":"Lists customers of a partner identified by its Google Cloud organization ID","description":"GET /v1/{+parent}/customers","tags":["dev-tools"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. Filtering results","schema":{"type":"string","description":"Optional. Filtering results"}},{"name":"orderBy","in":"query","required":false,"description":"Optional. Hint for how to order the results","schema":{"type":"string","description":"Optional. Hint for how to order the results"}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of Customers to return. The service may return fewer than this value. If unspecified, at most 500 Customers will be…","schema":{"type":"integer","description":"The maximum number of Customers to return. The service may return fewer than this value. If unspecified, at most 500 Customers will be…"}},{"name":"pageToken","in":"query","required":false,"description":"A page token, received from a previous `ListCustomers` call. Provide this to retrieve the subsequent page.","schema":{"type":"string","description":"A page token, received from a previous `ListCustomers` call. Provide this to retrieve the subsequent page."}},{"name":"parent","in":"query","required":true,"description":"Required. Parent resource Format: `organizations/{organization}/locations/{location}`","schema":{"type":"string","description":"Required. Parent resource Format: `organizations/{organization}/locations/{location}`"}}],"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/dev-tools:google-cloudcontrolspartner/cloudcontrolspartner-organizations-locations-customers-creat":{"post":{"operationId":"dev_tools_google_cloudcontrolspartner_cloudcontrolspartner_organizations_locations_customers_creat","summary":"Creates a new customer.","description":"POST /v1/{+parent}/customers","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"customerId":{"type":"string","description":"Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified…"},"parent":{"type":"string","description":"Required. Parent resource Format: `organizations/{organization}/locations/{location}`"},"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/dev-tools:google-cloudcontrolspartner/cloudcontrolspartner-organizations-locations-customers-workl-2":{"get":{"operationId":"dev_tools_google_cloudcontrolspartner_cloudcontrolspartner_organizations_locations_customers_workl_2","summary":"Lists customer workloads for a given customer org id","description":"GET /v1/{+parent}/workloads","tags":["dev-tools"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. Filtering results.","schema":{"type":"string","description":"Optional. Filtering results."}},{"name":"orderBy","in":"query","required":false,"description":"Optional. Hint for how to order the results.","schema":{"type":"string","description":"Optional. Hint for how to order the results."}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of workloads to return. The service may return fewer than this value. If unspecified, at most 500 workloads will be…","schema":{"type":"integer","description":"The maximum number of workloads to return. The service may return fewer than this value. If unspecified, at most 500 workloads will be…"}},{"name":"pageToken","in":"query","required":false,"description":"A page token, received from a previous `ListWorkloads` call. Provide this to retrieve the subsequent page.","schema":{"type":"string","description":"A page token, received from a previous `ListWorkloads` call. Provide this to retrieve the subsequent page."}},{"name":"parent","in":"query","required":true,"description":"Required. Parent resource Format: `organizations/{organization}/locations/{location}/customers/{customer}`","schema":{"type":"string","description":"Required. Parent resource Format: `organizations/{organization}/locations/{location}/customers/{customer}`"}}],"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/dev-tools:google-cloudcontrolspartner/cloudcontrolspartner-organizations-locations-customers-workl-3":{"get":{"operationId":"dev_tools_google_cloudcontrolspartner_cloudcontrolspartner_organizations_locations_customers_workl_3","summary":"Deprecated: Only returns access approval requests directly associated with an assured workload folder.","description":"GET /v1/{+parent}/accessApprovalRequests","tags":["dev-tools"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. Filtering results.","schema":{"type":"string","description":"Optional. Filtering results."}},{"name":"orderBy","in":"query","required":false,"description":"Optional. Hint for how to order the results.","schema":{"type":"string","description":"Optional. Hint for how to order the results."}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of access requests to return. The service may return fewer than this value. If unspecified, at most 500…","schema":{"type":"integer","description":"Optional. The maximum number of access requests to return. The service may return fewer than this value. If unspecified, at most 500…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token, received from a previous `ListAccessApprovalRequests` call. Provide this to retrieve the subsequent page.","schema":{"type":"string","description":"Optional. A page token, received from a previous `ListAccessApprovalRequests` call. Provide this to retrieve the subsequent page."}},{"name":"parent","in":"query","required":true,"description":"Required. Parent resource Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`","schema":{"type":"string","description":"Required. Parent resource Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`"}}],"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/dev-tools:google-cloudcontrolspartner/cloudcontrolspartner-organizations-locations-customers-workl-4":{"get":{"operationId":"dev_tools_google_cloudcontrolspartner_cloudcontrolspartner_organizations_locations_customers_workl_4","summary":"Lists Violations for a workload Callers may also choose to read across multiple Customers or for a single…","description":"GET /v1/{+parent}/violations","tags":["dev-tools"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. Filtering results","schema":{"type":"string","description":"Optional. Filtering results"}},{"name":"interval.endTime","in":"query","required":false,"description":"Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.","schema":{"type":"string","description":"Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end."}},{"name":"interval.startTime","in":"query","required":false,"description":"Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.","schema":{"type":"string","description":"Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start."}},{"name":"orderBy","in":"query","required":false,"description":"Optional. Hint for how to order the results","schema":{"type":"string","description":"Optional. Hint for how to order the results"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of customers row to return. The service may return fewer than this value. If unspecified, at most 10…","schema":{"type":"integer","description":"Optional. The maximum number of customers row to return. The service may return fewer than this value. If unspecified, at most 10…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token, received from a previous `ListViolations` call. Provide this to retrieve the subsequent page.","schema":{"type":"string","description":"Optional. A page token, received from a previous `ListViolations` call. Provide this to retrieve the subsequent page."}},{"name":"parent","in":"query","required":true,"description":"Required. Parent resource Format `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`","schema":{"type":"string","description":"Required. Parent resource Format `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`"}}],"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"}}}}}}}