{"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-chromepolicy/chromepolicy-customers-policies-resolve":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policies_resolve","summary":"Gets the resolved policy values for a list of policies that match a search query.","description":"POST /v1/{+customer}/policies:resolve","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"ID of the G Suite account or literal \"my_customer\" for the customer associated to the 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-chromepolicy/chromepolicy-customers-policies-groups-batch-delete":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policies_groups_batch_delete","summary":"Delete multiple policy values that are applied to a specific group. All targets must have the same target…","description":"POST /v1/{+customer}/policies/groups:batchDelete","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"ID of the Google Workspace account or literal \"my_customer\" for the customer associated to the 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-chromepolicy/chromepolicy-customers-policies-groups-batch-modify":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policies_groups_batch_modify","summary":"Modify multiple policy values that are applied to a specific group. All targets must have the same target…","description":"POST /v1/{+customer}/policies/groups:batchModify","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"ID of the Google Workspace account or literal \"my_customer\" for the customer associated to the 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-chromepolicy/chromepolicy-customers-policies-groups-list-group-priority-o":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policies_groups_list_group_priority_o","summary":"Retrieve a group priority ordering for an app. The target app must be supplied in `additionalTargetKeyNames`…","description":"POST /v1/{+customer}/policies/groups:listGroupPriorityOrdering","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"Required. ID of the Google Workspace account or literal \"my_customer\" for the customer associated to the 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-chromepolicy/chromepolicy-customers-policies-groups-update-group-priority":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policies_groups_update_group_priority","summary":"Update a group priority ordering for an app. The target app must be supplied in `additionalTargetKeyNames`…","description":"POST /v1/{+customer}/policies/groups:updateGroupPriorityOrdering","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"Required. ID of the Google Workspace account or literal \"my_customer\" for the customer associated to the 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-chromepolicy/chromepolicy-customers-policies-networks-define-certificate":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policies_networks_define_certificate","summary":"Creates a certificate at a specified OU for a customer.","description":"POST /v1/{+customer}/policies/networks:defineCertificate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"Required. The customer for which the certificate will apply."},"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-chromepolicy/chromepolicy-customers-policies-networks-define-network":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policies_networks_define_network","summary":"Define a new network.","description":"POST /v1/{+customer}/policies/networks:defineNetwork","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"Required. The customer who will own this new network."},"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-chromepolicy/chromepolicy-customers-policies-networks-remove-certificate":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policies_networks_remove_certificate","summary":"Remove an existing certificate by guid.","description":"POST /v1/{+customer}/policies/networks:removeCertificate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"Required. The customer whose certificate will be removed."},"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-chromepolicy/chromepolicy-customers-policies-networks-remove-network":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policies_networks_remove_network","summary":"Remove an existing network by guid.","description":"POST /v1/{+customer}/policies/networks:removeNetwork","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"Required. The customer whose network will be removed."},"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-chromepolicy/chromepolicy-customers-policies-orgunits-batch-inherit":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policies_orgunits_batch_inherit","summary":"Modify multiple policy values that are applied to a specific org unit so that they now inherit the value…","description":"POST /v1/{+customer}/policies/orgunits:batchInherit","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"ID of the G Suite account or literal \"my_customer\" for the customer associated to the 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-chromepolicy/chromepolicy-customers-policies-orgunits-batch-modify":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policies_orgunits_batch_modify","summary":"Modify multiple policy values that are applied to a specific org unit. All targets must have the same target…","description":"POST /v1/{+customer}/policies/orgunits:batchModify","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"ID of the G Suite account or literal \"my_customer\" for the customer associated to the 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-chromepolicy/chromepolicy-customers-policy-schemas-get":{"get":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policy_schemas_get","summary":"Get a specific policy schema for a customer by its resource name.","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The policy schema resource name to query.","schema":{"type":"string","description":"Required. The policy schema resource name to query."}}],"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-chromepolicy/chromepolicy-customers-policy-schemas-list":{"get":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_customers_policy_schemas_list","summary":"Gets a list of policy schemas that match a specified filter value for a given customer.","description":"GET /v1/{+parent}/policySchemas","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"The schema filter used to find a particular schema based on fields like its resource name, description and `additionalTargetKeyNames`.","schema":{"type":"string","description":"The schema filter used to find a particular schema based on fields like its resource name, description and `additionalTargetKeyNames`."}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of policy schemas to return, defaults to 100 and has a maximum of 1000.","schema":{"type":"integer","description":"The maximum number of policy schemas to return, defaults to 100 and has a maximum of 1000."}},{"name":"pageToken","in":"query","required":false,"description":"The page token used to retrieve a specific page of the listing request.","schema":{"type":"string","description":"The page token used to retrieve a specific page of the listing request."}},{"name":"parent","in":"query","required":true,"description":"Required. The customer for which the listing request will apply.","schema":{"type":"string","description":"Required. The customer for which the listing request will apply."}}],"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-chromepolicy/chromepolicy-media-upload":{"post":{"operationId":"analytics_googleapis_chromepolicy_chromepolicy_media_upload","summary":"Creates an enterprise file from the content provided by user. Returns a public download url for end user.","description":"POST /v1/{+customer}/policies/files:uploadPolicyFile","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["customer","body"],"properties":{"customer":{"type":"string","description":"Required. The customer for which the file upload will apply."},"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"}}}}}}}