{"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-binaryauthorization/binaryauthorization-systempolicy-get-policy":{"get":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_systempolicy_get_policy","summary":"Gets the current system policy in the specified location.","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The resource name, in the format `locations/*/policy`. Note that the system policy is not associated with a project.","schema":{"type":"string","description":"Required. The resource name, in the format `locations/*/policy`. Note that the system policy is not associated with a project."}}],"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-binaryauthorization/binaryauthorization-projects-platforms-policies-replace-plat":{"post":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_projects_platforms_policies_replace_plat","summary":"Replaces a platform policy. Returns `NOT_FOUND` if the policy doesn't exist.","description":"PUT /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Output only. The relative resource name of the Binary Authorization platform policy, in the form of `projects/*/platforms/*/policies/*`."},"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-binaryauthorization/binaryauthorization-projects-platforms-policies-delete":{"post":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_projects_platforms_policies_delete","summary":"Deletes a platform policy. Returns `NOT_FOUND` if the policy doesn't exist.","description":"DELETE /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"etag":{"type":"string","description":"Optional. Used to prevent deleting the policy when another request has updated it since it was retrieved."},"name":{"type":"string","description":"Required. The name of the platform policy to delete, in the format `projects/*/platforms/*/policies/*`."}}}}}},"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-binaryauthorization/binaryauthorization-projects-attestors-list":{"get":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_projects_attestors_list","summary":"Lists attestors. Returns `INVALID_ARGUMENT` if the project does not exist.","description":"GET /v1/{+parent}/attestors","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.","schema":{"type":"integer","description":"Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default."}},{"name":"pageToken","in":"query","required":false,"description":"A token identifying a page of results the server should return. Typically, this is the value of ListAttestorsResponse.next_page_token…","schema":{"type":"string","description":"A token identifying a page of results the server should return. Typically, this is the value of ListAttestorsResponse.next_page_token…"}},{"name":"parent","in":"query","required":true,"description":"Required. The resource name of the project associated with the attestors, in the format `projects/*`.","schema":{"type":"string","description":"Required. The resource name of the project associated with the attestors, in the format `projects/*`."}}],"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-binaryauthorization/binaryauthorization-projects-attestors-create":{"post":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_projects_attestors_create","summary":"Creates an attestor, and returns a copy of the new attestor. Returns `NOT_FOUND` if the project does not…","description":"POST /v1/{+parent}/attestors","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"attestorId":{"type":"string","description":"Required. The attestors ID."},"parent":{"type":"string","description":"Required. The parent of this attestor."},"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-binaryauthorization/binaryauthorization-projects-policy-get-iam-policy":{"get":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_projects_policy_get_iam_policy","summary":"Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not…","description":"GET /v1/{+resource}:getIamPolicy","tags":["analytics"],"parameters":[{"name":"options.requestedPolicyVersion","in":"query","required":false,"description":"Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid…","schema":{"type":"integer","description":"Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid…"}},{"name":"resource","in":"query","required":true,"description":"REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names)…","schema":{"type":"string","description":"REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names)…"}}],"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-binaryauthorization/binaryauthorization-projects-policy-set-iam-policy":{"post":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_projects_policy_set_iam_policy","summary":"Sets the access control policy on the specified resource. Replaces any existing policy. Can return…","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-binaryauthorization/binaryauthorization-projects-policy-test-iam-permissions":{"post":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_projects_policy_test_iam_permissions","summary":"Returns permissions that a caller has on the specified resource. If the resource does not exist, this will…","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-binaryauthorization/binaryauthorization-projects-attestors-validate-attestation":{"post":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_projects_attestors_validate_attestation","summary":"Returns whether the given `Attestation` for the given image URI was signed by the given `Attestor`","description":"POST /v1/{+attestor}:validateAttestationOccurrence","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["attestor","body"],"properties":{"attestor":{"type":"string","description":"Required. The resource name of the Attestor of the occurrence, in the format `projects/*/attestors/*`."},"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-binaryauthorization/binaryauthorization-projects-platforms-gke-policies-evaluate":{"post":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_projects_platforms_gke_policies_evaluate","summary":"Evaluates a Kubernetes object versus a GKE platform policy. Returns `NOT_FOUND` if the policy doesn't exist,…","description":"POST /v1/{+name}:evaluate","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 platform policy to evaluate in the format `projects/*/platforms/*/policies/*`."},"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-binaryauthorization/binaryauthorization-projects-platforms-policies-list":{"get":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_projects_platforms_policies_list","summary":"Lists platform policies owned by a project in the specified platform. Returns `INVALID_ARGUMENT` if the…","description":"GET /v1/{+parent}/policies","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.","schema":{"type":"integer","description":"Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default."}},{"name":"pageToken","in":"query","required":false,"description":"A token identifying a page of results the server should return. Typically, this is the value of…","schema":{"type":"string","description":"A token identifying a page of results the server should return. Typically, this is the value of…"}},{"name":"parent","in":"query","required":true,"description":"Required. The resource name of the platform associated with the platform policies using the format `projects/*/platforms/*`.","schema":{"type":"string","description":"Required. The resource name of the platform associated with the platform policies using the format `projects/*/platforms/*`."}}],"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-binaryauthorization/binaryauthorization-projects-platforms-policies-create":{"post":{"operationId":"analytics_googleapis_binaryauthorization_binaryauthorization_projects_platforms_policies_create","summary":"Creates a platform policy, and returns a copy of it. Returns `NOT_FOUND` if the project or platform doesn't…","description":"POST /v1/{+parent}/policies","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent of this platform policy."},"policyId":{"type":"string","description":"Required. The platform policy 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"}}}}}}}