{"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-orgpolicy/orgpolicy-projects-constraints-list":{"get":{"operationId":"analytics_googleapis_orgpolicy_orgpolicy_projects_constraints_list","summary":"Lists constraints that could be applied on the specified resource.","description":"GET /v2/{+parent}/constraints","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Size of the pages to be returned. This is not used, but the server may at any point start using this field to limit page size.","schema":{"type":"integer","description":"Size of the pages to be returned. This is not used, but the server may at any point start using this field to limit page size."}},{"name":"pageToken","in":"query","required":false,"description":"Page token used to retrieve the next page. This is not used, but the server may at any point start using this field.","schema":{"type":"string","description":"Page token used to retrieve the next page. This is not used, but the server may at any point start using this field."}},{"name":"parent","in":"query","required":true,"description":"Required. The Google Cloud resource that parents the constraint. Must be in one of the following forms: * `projects/{project_number}` *…","schema":{"type":"string","description":"Required. The Google Cloud resource that parents the constraint. Must be in one of the following forms: * `projects/{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"}},"/v1/analytics:googleapis-orgpolicy/orgpolicy-projects-policies-list":{"get":{"operationId":"analytics_googleapis_orgpolicy_orgpolicy_projects_policies_list","summary":"Retrieves all of the policies that exist on a particular resource.","description":"GET /v2/{+parent}/policies","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Size of the pages to be returned. This is not used, but the server may at any point start using this field to limit page size.","schema":{"type":"integer","description":"Size of the pages to be returned. This is not used, but the server may at any point start using this field to limit page size."}},{"name":"pageToken","in":"query","required":false,"description":"Page token used to retrieve the next page. This is not used, but the server may at any point start using this field.","schema":{"type":"string","description":"Page token used to retrieve the next page. This is not used, but the server may at any point start using this field."}},{"name":"parent","in":"query","required":true,"description":"Required. The target Google Cloud resource that parents the set of constraints and policies that will be returned from this call. Must be…","schema":{"type":"string","description":"Required. The target Google Cloud resource that parents the set of constraints and policies that will be returned from this call. Must 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-orgpolicy/orgpolicy-projects-policies-create":{"post":{"operationId":"analytics_googleapis_orgpolicy_orgpolicy_projects_policies_create","summary":"Creates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not…","description":"POST /v2/{+parent}/policies","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The Google Cloud resource that will parent the new policy. Must be in one of the following forms: * `projects/{project_number}`…"},"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-orgpolicy/orgpolicy-projects-policies-get":{"get":{"operationId":"analytics_googleapis_orgpolicy_orgpolicy_projects_policies_get","summary":"Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The entity tag…","description":"GET /v2/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. Resource name of the policy. See Policy for naming requirements.","schema":{"type":"string","description":"Required. Resource name of the policy. See Policy for naming requirements."}}],"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-orgpolicy/orgpolicy-projects-policies-patch":{"post":{"operationId":"analytics_googleapis_orgpolicy_orgpolicy_projects_policies_patch","summary":"Updates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the…","description":"PATCH /v2/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint that…"},"updateMask":{"type":"string","description":"Field mask used to specify the fields to be overwritten in the policy. The fields specified in the update_mask are relative to the policy,…"},"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-orgpolicy/orgpolicy-projects-policies-delete":{"post":{"operationId":"analytics_googleapis_orgpolicy_orgpolicy_projects_policies_delete","summary":"Deletes a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or…","description":"DELETE /v2/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"etag":{"type":"string","description":"Optional. The current entity tag (ETag) of the organization policy. If an ETag is provided and doesn't match the current ETag of the…"},"name":{"type":"string","description":"Required. Name of the policy to delete. See the policy entry for naming rules."}}}}}},"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-orgpolicy/orgpolicy-projects-policies-get-effective-policy":{"get":{"operationId":"analytics_googleapis_orgpolicy_orgpolicy_projects_policies_get_effective_policy","summary":"Gets the effective policy on a resource. This is the result of merging policies in the resource hierarchy…","description":"GET /v2/{+name}:getEffectivePolicy","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The effective policy to compute. See Policy for naming requirements.","schema":{"type":"string","description":"Required. The effective policy to compute. See Policy for naming requirements."}}],"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-orgpolicy/orgpolicy-organizations-custom-constraints-list":{"get":{"operationId":"analytics_googleapis_orgpolicy_orgpolicy_organizations_custom_constraints_list","summary":"Retrieves all of the custom constraints that exist on a particular organization resource.","description":"GET /v2/{+parent}/customConstraints","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Size of the pages to be returned. This is not used, but the server may at any point start using this field to limit page size.","schema":{"type":"integer","description":"Size of the pages to be returned. This is not used, but the server may at any point start using this field to limit page size."}},{"name":"pageToken","in":"query","required":false,"description":"Page token used to retrieve the next page. This is not used, but the server may at any point start using this field.","schema":{"type":"string","description":"Page token used to retrieve the next page. This is not used, but the server may at any point start using this field."}},{"name":"parent","in":"query","required":true,"description":"Required. The target Google Cloud resource that parents the set of custom constraints that will be returned from this call. Must be in one…","schema":{"type":"string","description":"Required. The target Google Cloud resource that parents the set of custom constraints that will be returned from this call. Must be in one…"}}],"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-orgpolicy/orgpolicy-organizations-custom-constraints-create":{"post":{"operationId":"analytics_googleapis_orgpolicy_orgpolicy_organizations_custom_constraints_create","summary":"Creates a custom constraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the…","description":"POST /v2/{+parent}/customConstraints","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. Must be in the following form: * `organizations/{organization_id}`"},"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"}}}}}}}