{"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-checks/checks-accounts-repos-scans-get":{"get":{"operationId":"analytics_googleapis_checks_checks_accounts_repos_scans_get","summary":"Gets a repo scan. By default, only the name and results_uri fields are returned. You can include other…","description":"GET /v1alpha/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. Resource name of the repo scan. Example: `accounts/123/repos/456/scans/789`","schema":{"type":"string","description":"Required. Resource name of the repo scan. Example: `accounts/123/repos/456/scans/789`"}}],"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-checks/checks-accounts-apps-operations-delete":{"post":{"operationId":"analytics_googleapis_checks_checks_accounts_apps_operations_delete","summary":"Deletes a long-running operation. This method indicates that the client is no longer interested in the…","description":"DELETE /v1alpha/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The name of the operation resource to be deleted."}}}}}},"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-checks/checks-accounts-apps-list":{"get":{"operationId":"analytics_googleapis_checks_checks_accounts_apps_list","summary":"Lists the apps under the given account.","description":"GET /v1alpha/{+parent}/apps","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of results to return. The server may further constrain the maximum number of results returned in a single…","schema":{"type":"integer","description":"Optional. The maximum number of results to return. The server may further constrain the maximum number of results returned in a single…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token received from a previous `ListApps` call. Provide this to retrieve the subsequent page.","schema":{"type":"string","description":"Optional. A page token received from a previous `ListApps` call. Provide this to retrieve the subsequent page."}},{"name":"parent","in":"query","required":true,"description":"Required. The parent account. Example: `accounts/123`","schema":{"type":"string","description":"Required. The parent account. Example: `accounts/123`"}}],"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-checks/checks-accounts-apps-operations-cancel":{"post":{"operationId":"analytics_googleapis_checks_checks_accounts_apps_operations_cancel","summary":"Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the…","description":"POST /v1alpha/{+name}:cancel","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"The name of the operation resource to be cancelled."},"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-checks/checks-accounts-apps-operations-list":{"get":{"operationId":"analytics_googleapis_checks_checks_accounts_apps_operations_list","summary":"Lists operations that match the specified filter in the request. If the server doesn't support this method,…","description":"GET /v1alpha/{+name}/operations","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"The standard list filter.","schema":{"type":"string","description":"The standard list filter."}},{"name":"name","in":"query","required":true,"description":"The name of the operation's parent resource.","schema":{"type":"string","description":"The name of the operation's parent resource."}},{"name":"pageSize","in":"query","required":false,"description":"The standard list page size.","schema":{"type":"integer","description":"The standard list page size."}},{"name":"pageToken","in":"query","required":false,"description":"The standard list page token.","schema":{"type":"string","description":"The standard list page token."}},{"name":"returnPartialSuccess","in":"query","required":false,"description":"When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the…","schema":{"type":"boolean","description":"When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the…"}}],"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-checks/checks-accounts-apps-operations-wait":{"post":{"operationId":"analytics_googleapis_checks_checks_accounts_apps_operations_wait","summary":"Waits until the specified long-running operation is done or reaches at most a specified timeout, returning…","description":"POST /v1alpha/{+name}:wait","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"The name of the operation resource to wait on."},"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-checks/checks-accounts-apps-reports-list":{"get":{"operationId":"analytics_googleapis_checks_checks_accounts_apps_reports_list","summary":"Lists reports for the specified app. By default, only the name and results_uri fields are returned. You can…","description":"GET /v1alpha/{+parent}/reports","tags":["analytics"],"parameters":[{"name":"checksFilter","in":"query","required":false,"description":"Optional. An [AIP-160](https://google.aip.dev/160) filter string to filter checks within reports. Only checks that match the filter string…","schema":{"type":"string","description":"Optional. An [AIP-160](https://google.aip.dev/160) filter string to filter checks within reports. Only checks that match the filter string…"}},{"name":"filter","in":"query","required":false,"description":"Optional. An [AIP-160](https://google.aip.dev/160) filter string to filter reports. Example: `appBundle.releaseType = PRE_RELEASE`","schema":{"type":"string","description":"Optional. An [AIP-160](https://google.aip.dev/160) filter string to filter reports. Example: `appBundle.releaseType = PRE_RELEASE`"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of reports to return. If unspecified, at most 10 reports will be returned. The maximum value is 50; values…","schema":{"type":"integer","description":"Optional. The maximum number of reports to return. If unspecified, at most 10 reports will be returned. The maximum value is 50; values…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token received from a previous `ListReports` call. Provide this to retrieve the subsequent page. When paginating, all…","schema":{"type":"string","description":"Optional. A page token received from a previous `ListReports` call. Provide this to retrieve the subsequent page. When paginating, all…"}},{"name":"parent","in":"query","required":true,"description":"Required. Resource name of the app. Example: `accounts/123/apps/456`","schema":{"type":"string","description":"Required. Resource name of the app. Example: `accounts/123/apps/456`"}}],"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-checks/checks-accounts-repos-scans-generate":{"post":{"operationId":"analytics_googleapis_checks_checks_accounts_repos_scans_generate","summary":"Uploads the results of local Code Compliance analysis and generates a scan of privacy issues. Returns a…","description":"POST /v1alpha/{+parent}/scans:generate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. Resource name of the repo. Example: `accounts/123/repos/456`"},"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-checks/checks-accounts-repos-scans-list":{"get":{"operationId":"analytics_googleapis_checks_checks_accounts_repos_scans_list","summary":"Lists repo scans for the specified repo.","description":"GET /v1alpha/{+parent}/scans","tags":["analytics"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. An [AIP-160](https://google.aip.dev/160) filter string to filter repo scans. Example: `scmMetadata.branch = main`","schema":{"type":"string","description":"Optional. An [AIP-160](https://google.aip.dev/160) filter string to filter repo scans. Example: `scmMetadata.branch = main`"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of repo scans to return. If unspecified, at most 10 repo scans will be returned. The maximum value is 50;…","schema":{"type":"integer","description":"Optional. The maximum number of repo scans to return. If unspecified, at most 10 repo scans will be returned. The maximum value is 50;…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token received from a previous `ListRepoScans` call. Provide this to retrieve the subsequent page. When paginating, all…","schema":{"type":"string","description":"Optional. A page token received from a previous `ListRepoScans` call. Provide this to retrieve the subsequent page. When paginating, all…"}},{"name":"parent","in":"query","required":true,"description":"Required. Resource name of the repo. Example: `accounts/123/repos/456`","schema":{"type":"string","description":"Required. Resource name of the repo. Example: `accounts/123/repos/456`"}}],"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-checks/checks-aisafety-classify-content":{"post":{"operationId":"analytics_googleapis_checks_checks_aisafety_classify_content","summary":"Analyze a piece of content with the provided set of policies.","description":"POST /v1alpha/aisafety:classifyContent","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"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-checks/checks-media-upload":{"post":{"operationId":"analytics_googleapis_checks_checks_media_upload","summary":"Analyzes the uploaded app bundle and returns a google.longrunning.Operation containing the generated Report.…","description":"POST /v1alpha/{+parent}/reports:analyzeUpload","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. Resource name of the app. Example: `accounts/123/apps/456`"},"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"}}}}}}}