{"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/cloud:akamai-cloudlets/get-cloudlets":{"get":{"operationId":"cloud_akamai_cloudlets_get_cloudlets","summary":"List Cloudlets","description":"GET /cloudlet-info","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"example":"{{accountSwitchKey}}"}],"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/cloud:akamai-cloudlets/get-policies":{"get":{"operationId":"cloud_akamai_cloudlets_get_policies","summary":"List shared policies","description":"GET /policies","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"page","in":"query","required":true,"description":"Specifies a page number for batched results, starting at zero.","schema":{"type":"integer","description":"Specifies a page number for batched results, starting at zero."},"example":"{{page}}"},{"name":"size","in":"query","required":true,"description":"Specifies the number of objects on a page, at least `10` objects.","schema":{"type":"integer","description":"Specifies the number of objects on a page, at least `10` objects."},"example":"{{size}}"},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"example":"{{accountSwitchKey}}"}],"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/cloud:akamai-cloudlets/post-policy":{"post":{"operationId":"cloud_akamai_cloudlets_post_policy","summary":"Create a policy","description":"POST /policies","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","body"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"accountSwitchKey":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"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/cloud:akamai-cloudlets/get-policy":{"get":{"operationId":"cloud_akamai_cloudlets_get_policy","summary":"Get a policy","description":"GET /policies/{policyId}","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"policyId","in":"query","required":true,"description":"Identifies the shared policy.","schema":{"type":"integer","description":"Identifies the shared policy."},"example":"{{policyId}}"},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"example":"{{accountSwitchKey}}"}],"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/cloud:akamai-cloudlets/put-policy":{"post":{"operationId":"cloud_akamai_cloudlets_put_policy","summary":"Update a policy","description":"PUT /policies/{policyId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","policyId","body"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"policyId":{"type":"integer","description":"Identifies the shared policy."},"accountSwitchKey":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"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/cloud:akamai-cloudlets/delete-policy":{"post":{"operationId":"cloud_akamai_cloudlets_delete_policy","summary":"Remove a policy","description":"DELETE /policies/{policyId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","policyId"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"policyId":{"type":"integer","description":"Identifies the shared policy."},"accountSwitchKey":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"}}}}}},"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/cloud:akamai-cloudlets/get-policy-activations":{"get":{"operationId":"cloud_akamai_cloudlets_get_policy_activations","summary":"List policy activations","description":"GET /policies/{policyId}/activations","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"policyId","in":"query","required":true,"description":"Identifies the shared policy.","schema":{"type":"integer","description":"Identifies the shared policy."},"example":"{{policyId}}"},{"name":"page","in":"query","required":true,"description":"Specifies a page number for batched results, starting at zero.","schema":{"type":"integer","description":"Specifies a page number for batched results, starting at zero."},"example":"{{page}}"},{"name":"size","in":"query","required":true,"description":"Specifies the number of objects on a page, at least `10` objects.","schema":{"type":"integer","description":"Specifies the number of objects on a page, at least `10` objects."},"example":"{{size}}"},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"example":"{{accountSwitchKey}}"}],"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/cloud:akamai-cloudlets/post-policy-activations":{"post":{"operationId":"cloud_akamai_cloudlets_post_policy_activations","summary":"Activate a policy version","description":"POST /policies/{policyId}/activations","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","policyId","body"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"policyId":{"type":"integer","description":"Identifies the shared policy."},"accountSwitchKey":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"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/cloud:akamai-cloudlets/get-policy-activation":{"get":{"operationId":"cloud_akamai_cloudlets_get_policy_activation","summary":"Get status for an activation","description":"GET /policies/{policyId}/activations/{activationId}","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"activationId","in":"query","required":true,"description":"Identifies the policy activation.","schema":{"type":"integer","description":"Identifies the policy activation."},"example":"{{activationId}}"},{"name":"policyId","in":"query","required":true,"description":"Identifies the shared policy.","schema":{"type":"integer","description":"Identifies the shared policy."},"example":"{{policyId}}"},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"example":"{{accountSwitchKey}}"}],"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/cloud:akamai-cloudlets/post-policy-clone":{"post":{"operationId":"cloud_akamai_cloudlets_post_policy_clone","summary":"Clone a policy as a shared policy","description":"POST /policies/{policyId}/clone","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","policyId","body"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"policyId":{"type":"integer","description":"Identifies the shared policy."},"accountSwitchKey":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"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/cloud:akamai-cloudlets/get-policy-properties":{"get":{"operationId":"cloud_akamai_cloudlets_get_policy_properties","summary":"Get active properties","description":"GET /policies/{policyId}/properties","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"policyId","in":"query","required":true,"description":"Identifies the shared policy.","schema":{"type":"integer","description":"Identifies the shared policy."},"example":"{{policyId}}"},{"name":"page","in":"query","required":true,"description":"Specifies a page number for batched results, starting at zero.","schema":{"type":"integer","description":"Specifies a page number for batched results, starting at zero."},"example":"{{page}}"},{"name":"size","in":"query","required":true,"description":"Specifies the number of objects on a page, at least `10` objects.","schema":{"type":"integer","description":"Specifies the number of objects on a page, at least `10` objects."},"example":"{{size}}"},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"example":"{{accountSwitchKey}}"}],"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/cloud:akamai-cloudlets/get-policy-versions":{"get":{"operationId":"cloud_akamai_cloudlets_get_policy_versions","summary":"List policy versions","description":"GET /policies/{policyId}/versions","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"policyId","in":"query","required":true,"description":"Identifies the shared policy.","schema":{"type":"integer","description":"Identifies the shared policy."},"example":"{{policyId}}"},{"name":"page","in":"query","required":true,"description":"Specifies a page number for batched results, starting at zero.","schema":{"type":"integer","description":"Specifies a page number for batched results, starting at zero."},"example":"{{page}}"},{"name":"size","in":"query","required":true,"description":"Specifies the number of objects on a page, at least `10` objects.","schema":{"type":"integer","description":"Specifies the number of objects on a page, at least `10` objects."},"example":"{{size}}"},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"example":"{{accountSwitchKey}}"}],"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/cloud:akamai-cloudlets/post-policy-version":{"post":{"operationId":"cloud_akamai_cloudlets_post_policy_version","summary":"Create a policy version","description":"POST /policies/{policyId}/versions","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","policyId","body"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"policyId":{"type":"integer","description":"Identifies the shared policy."},"accountSwitchKey":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"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/cloud:akamai-cloudlets/get-policy-version":{"get":{"operationId":"cloud_akamai_cloudlets_get_policy_version","summary":"Get a policy version","description":"GET /policies/{policyId}/versions/{version}","tags":["cloud"],"parameters":[{"name":"hostname","in":"query","required":true,"description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net","schema":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"}},{"name":"version","in":"query","required":true,"description":"The number of the version.","schema":{"type":"integer","description":"The number of the version."},"example":"{{version}}"},{"name":"policyId","in":"query","required":true,"description":"Identifies the shared policy.","schema":{"type":"integer","description":"Identifies the shared policy."},"example":"{{policyId}}"},{"name":"accountSwitchKey","in":"query","required":false,"description":"For customers who manage more than one account, this [runs the operation from another…","schema":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"example":"{{accountSwitchKey}}"}],"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/cloud:akamai-cloudlets/put-policy-version":{"post":{"operationId":"cloud_akamai_cloudlets_put_policy_version","summary":"Update a policy version","description":"PUT /policies/{policyId}/versions/{version}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","version","policyId","body"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"version":{"type":"integer","description":"The number of the version."},"policyId":{"type":"integer","description":"Identifies the shared policy."},"accountSwitchKey":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"},"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/cloud:akamai-cloudlets/delete-policy-version":{"post":{"operationId":"cloud_akamai_cloudlets_delete_policy_version","summary":"Remove a policy version","description":"DELETE /policies/{policyId}/versions/{version}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","version","policyId"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"version":{"type":"integer","description":"The number of the version."},"policyId":{"type":"integer","description":"Identifies the shared policy."},"accountSwitchKey":{"type":"string","description":"For customers who manage more than one account, this [runs the operation from another…"}}}}}},"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"}}}}}}}