{"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-webrisk/webrisk-hashes-search":{"get":{"operationId":"analytics_googleapis_webrisk_webrisk_hashes_search","summary":"Gets the full hashes that match the requested hash prefix. This is used after a hash prefix is looked up in…","description":"GET /v1/hashes:search","tags":["analytics"],"parameters":[{"name":"hashPrefix","in":"query","required":false,"description":"A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. For JSON requests, this field is base64-encoded. Note that…","schema":{"type":"string","description":"A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. For JSON requests, this field is base64-encoded. Note that…"}},{"name":"threatTypes","in":"query","required":false,"description":"Required. The ThreatLists to search in. Multiple ThreatLists may be specified.","schema":{"type":"string","enum":["THREAT_TYPE_UNSPECIFIED","MALWARE","SOCIAL_ENGINEERING","UNWANTED_SOFTWARE","SOCIAL_ENGINEERING_EXTENDED_COVERAGE"],"description":"Required. The ThreatLists to search in. Multiple ThreatLists may be specified."}}],"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-webrisk/webrisk-projects-operations-cancel":{"post":{"operationId":"analytics_googleapis_webrisk_webrisk_projects_operations_cancel","summary":"Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the…","description":"POST /v1/{+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-webrisk/webrisk-projects-operations-get":{"get":{"operationId":"analytics_googleapis_webrisk_webrisk_projects_operations_get","summary":"Gets the latest state of a long-running operation. Clients can use this method to poll the operation result…","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"The name of the operation resource.","schema":{"type":"string","description":"The name of the operation resource."}}],"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-webrisk/webrisk-projects-operations-delete":{"post":{"operationId":"analytics_googleapis_webrisk_webrisk_projects_operations_delete","summary":"Deletes a long-running operation. This method indicates that the client is no longer interested in the…","description":"DELETE /v1/{+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-webrisk/webrisk-projects-operations-list":{"get":{"operationId":"analytics_googleapis_webrisk_webrisk_projects_operations_list","summary":"Lists operations that match the specified filter in the request. If the server doesn't support this method,…","description":"GET /v1/{+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-webrisk/webrisk-projects-submissions-create":{"post":{"operationId":"analytics_googleapis_webrisk_webrisk_projects_submissions_create","summary":"Creates a Submission of a URI suspected of containing phishing content for review. If the review confirms…","description":"POST /v1/{+parent}/submissions","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The name of the project that is making the submission. This string is in the format \"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-webrisk/webrisk-threat-lists-compute-diff":{"get":{"operationId":"analytics_googleapis_webrisk_webrisk_threat_lists_compute_diff","summary":"Gets the most recent threat list diffs. These diffs should be applied to a local database of hashes to keep…","description":"GET /v1/threatLists:computeDiff","tags":["analytics"],"parameters":[{"name":"constraints.maxDatabaseEntries","in":"query","required":false,"description":"Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 2**10 and…","schema":{"type":"integer","description":"Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 2**10 and…"}},{"name":"constraints.maxDiffEntries","in":"query","required":false,"description":"The maximum size in number of entries. The diff will not contain more entries than this value. This should be a power of 2 between 2**10…","schema":{"type":"integer","description":"The maximum size in number of entries. The diff will not contain more entries than this value. This should be a power of 2 between 2**10…"}},{"name":"constraints.supportedCompressions","in":"query","required":false,"description":"The compression types supported by the client.","schema":{"type":"string","enum":["COMPRESSION_TYPE_UNSPECIFIED","RAW","RICE"],"description":"The compression types supported by the client."}},{"name":"threatType","in":"query","required":false,"description":"Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes,…","schema":{"type":"string","enum":["THREAT_TYPE_UNSPECIFIED","MALWARE","SOCIAL_ENGINEERING","UNWANTED_SOFTWARE","SOCIAL_ENGINEERING_EXTENDED_COVERAGE"],"description":"Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes,…"}},{"name":"versionToken","in":"query","required":false,"description":"The current version token of the client for the requested list (the client version that was received from the last successful diff). If…","schema":{"type":"string","description":"The current version token of the client for the requested list (the client version that was received from the last successful diff). If…"}}],"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-webrisk/webrisk-uris-search":{"get":{"operationId":"analytics_googleapis_webrisk_webrisk_uris_search","summary":"This method is used to check whether a URI is on a given threatList. Multiple threatLists may be searched in…","description":"GET /v1/uris:search","tags":["analytics"],"parameters":[{"name":"threatTypes","in":"query","required":false,"description":"Required. The ThreatLists to search in. Multiple ThreatLists may be specified.","schema":{"type":"string","enum":["THREAT_TYPE_UNSPECIFIED","MALWARE","SOCIAL_ENGINEERING","UNWANTED_SOFTWARE","SOCIAL_ENGINEERING_EXTENDED_COVERAGE"],"description":"Required. The ThreatLists to search in. Multiple ThreatLists may be specified."}},{"name":"uri","in":"query","required":false,"description":"Required. The URI to be checked for matches.","schema":{"type":"string","description":"Required. The URI to be checked for matches."}}],"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"}}}}}}}