{"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-safebrowsing/safebrowsing-hash-list-get":{"get":{"operationId":"analytics_googleapis_safebrowsing_safebrowsing_hash_list_get","summary":"Gets the latest contents of a hash list. A hash list may either by a threat list or a non-threat list such…","description":"GET /v5/hashList/{name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The name of this particular hash list. It may be a threat list, or it may be the Global Cache.","schema":{"type":"string","description":"Required. The name of this particular hash list. It may be a threat list, or it may be the Global Cache."}},{"name":"sizeConstraints.maxDatabaseEntries","in":"query","required":false,"description":"Sets the maximum number of entries that the client is willing to have in the local database for the list. (The server MAY cause the client…","schema":{"type":"integer","description":"Sets the maximum number of entries that the client is willing to have in the local database for the list. (The server MAY cause the client…"}},{"name":"sizeConstraints.maxUpdateEntries","in":"query","required":false,"description":"The maximum size in number of entries. The update will not contain more entries than this value, but it is possible that the update will…","schema":{"type":"integer","description":"The maximum size in number of entries. The update will not contain more entries than this value, but it is possible that the update will…"}},{"name":"version","in":"query","required":false,"description":"The version of the hash list that the client already has. If this is the first time the client is fetching the hash list, this field MUST…","schema":{"type":"string","description":"The version of the hash list that the client already has. If this is the first time the client is fetching the hash list, this field MUST…"}}],"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-safebrowsing/safebrowsing-hash-lists-batch-get":{"get":{"operationId":"analytics_googleapis_safebrowsing_safebrowsing_hash_lists_batch_get","summary":"Gets multiple hash lists at once. It is very common for a client to need to get multiple hash lists. Using…","description":"GET /v5/hashLists:batchGet","tags":["analytics"],"parameters":[{"name":"names","in":"query","required":false,"description":"Required. The names of the particular hash lists. The list MAY be a threat list, or it may be the Global Cache. The names MUST NOT contain…","schema":{"type":"string","description":"Required. The names of the particular hash lists. The list MAY be a threat list, or it may be the Global Cache. The names MUST NOT contain…"}},{"name":"sizeConstraints.maxDatabaseEntries","in":"query","required":false,"description":"Sets the maximum number of entries that the client is willing to have in the local database for the list. (The server MAY cause the client…","schema":{"type":"integer","description":"Sets the maximum number of entries that the client is willing to have in the local database for the list. (The server MAY cause the client…"}},{"name":"sizeConstraints.maxUpdateEntries","in":"query","required":false,"description":"The maximum size in number of entries. The update will not contain more entries than this value, but it is possible that the update will…","schema":{"type":"integer","description":"The maximum size in number of entries. The update will not contain more entries than this value, but it is possible that the update will…"}},{"name":"version","in":"query","required":false,"description":"The versions of the hash list that the client already has. If this is the first time the client is fetching the hash lists, the field…","schema":{"type":"string","description":"The versions of the hash list that the client already has. If this is the first time the client is fetching the hash lists, the field…"}}],"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-safebrowsing/safebrowsing-hash-lists-list":{"get":{"operationId":"analytics_googleapis_safebrowsing_safebrowsing_hash_lists_list","summary":"Lists hash lists. In the V5 API, Google will never remove a hash list that has ever been returned by this…","description":"GET /v5/hashLists","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"The maximum number of hash lists to return. The service may return fewer than this value. If unspecified, the server will choose a page…","schema":{"type":"integer","description":"The maximum number of hash lists to return. The service may return fewer than this value. If unspecified, the server will choose a page…"}},{"name":"pageToken","in":"query","required":false,"description":"A page token, received from a previous `ListHashLists` call. Provide this to retrieve the subsequent page.","schema":{"type":"string","description":"A page token, received from a previous `ListHashLists` call. Provide this to retrieve the subsequent page."}}],"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-safebrowsing/safebrowsing-hashes-search":{"get":{"operationId":"analytics_googleapis_safebrowsing_safebrowsing_hashes_search","summary":"Searches for full hashes matching the specified prefixes. This is a custom method as defined by…","description":"GET /v5/hashes:search","tags":["analytics"],"parameters":[{"name":"hashPrefixes","in":"query","required":false,"description":"Required. The hash prefixes to be looked up. Clients MUST NOT send more than 1000 hash prefixes. However, following the URL processing…","schema":{"type":"string","description":"Required. The hash prefixes to be looked up. Clients MUST NOT send more than 1000 hash prefixes. However, following the URL processing…"}}],"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-safebrowsing/safebrowsing-urls-search":{"get":{"operationId":"analytics_googleapis_safebrowsing_safebrowsing_urls_search","summary":"Searches for URLs matching known threats. Each URL and it's host-suffix and path-prefix expressions (up to a…","description":"GET /v5/urls:search","tags":["analytics"],"parameters":[{"name":"urls","in":"query","required":false,"description":"Required. The URLs to be looked up. Clients MUST NOT send more than 50 URLs.","schema":{"type":"string","description":"Required. The URLs to be looked up. Clients MUST NOT send more than 50 URLs."}}],"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"}}}}}}}