{"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-gtm-load-data/get-domain-resource":{"get":{"operationId":"cloud_akamai_gtm_load_data_get_domain_resource","summary":"Get load data","description":"GET /{domain}/{resource}/{datacenterId}","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":"domain","in":"query","required":true,"description":"The name of the GTM domain.","schema":{"type":"string","description":"The name of the GTM domain."},"example":"{{domain}}"},{"name":"resource","in":"query","required":true,"description":"The name of the resource.","schema":{"type":"string","description":"The name of the resource."},"example":"{{resource}}"},{"name":"datacenterId","in":"query","required":true,"description":"The ID number for the datacenter (traffic target), from the \"Akamai code\" field in Control Center.","schema":{"type":"integer","description":"The ID number for the datacenter (traffic target), from the \"Akamai code\" field in Control Center."},"example":"{{datacenterId}}"},{"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-gtm-load-data/post-domain-resource":{"post":{"operationId":"cloud_akamai_gtm_load_data_post_domain_resource","summary":"Submit load data","description":"POST /{domain}/{resource}/{datacenterId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","domain","resource","datacenterId","body"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"domain":{"type":"string","description":"The name of the GTM domain."},"resource":{"type":"string","description":"The name of the resource."},"datacenterId":{"type":"integer","description":"The ID number for the datacenter (traffic target), from the \"Akamai code\" field in Control Center."},"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"}}},"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"}}}}}}}