{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:akamai-events/get-events":{"get":{"operationId":"cloud_akamai_events_get_events","summary":"List events","description":"GET /events","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":"minStart","in":"query","required":false,"description":"The inclusive lower bound of a start date.","schema":{"type":"string","description":"The inclusive lower bound of a start date."},"example":"{{minStart}}"},{"name":"maxStart","in":"query","required":false,"description":"The exclusive upper bound of a start date.","schema":{"type":"string","description":"The exclusive upper bound of a start date."},"example":"{{maxStart}}"},{"name":"minEnd","in":"query","required":false,"description":"The exclusive lower bound of an end date.","schema":{"type":"string","description":"The exclusive lower bound of an end date."},"example":"{{minEnd}}"},{"name":"maxEnd","in":"query","required":false,"description":"The inclusive upper bound of an end date.","schema":{"type":"string","description":"The inclusive upper bound of an end date."},"example":"{{maxEnd}}"},{"name":"tag","in":"query","required":false,"description":"A list of tags to filter event data by.","schema":{"type":"string","description":"A list of tags to filter event data by."},"example":"{{tag}}"},{"name":"customerEventId","in":"query","required":false,"description":"A list of user-defined IDs to filter event data by.","schema":{"type":"string","description":"A list of user-defined IDs to filter event data by."},"example":"{{customerEventId}}"},{"name":"page","in":"query","required":false,"description":"The number of the page. Page numbers start at 1.","schema":{"type":"integer","default":1,"description":"The number of the page. Page numbers start at 1."},"example":"{{page}}"},{"name":"pageSize","in":"query","required":false,"description":"The number of records on a page. By default, a page has 25 records. The maximum value is 1000 records on a page.","schema":{"type":"integer","default":25,"description":"The number of records on a page. By default, a page has 25 records. The maximum value is 1000 records on a page."},"example":"{{pageSize}}"},{"name":"sort","in":"query","required":false,"description":"The sorting property and the sorting direction for the result data. Use `name` to sort by name. Use `asc` for alphabetically ascending…","schema":{"type":"string","description":"The sorting property and the sorting direction for the result data. Use `name` to sort by name. Use `asc` for alphabetically ascending…"},"example":"{{sort}}"},{"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-events/post-events":{"post":{"operationId":"cloud_akamai_events_post_events","summary":"Create an event","description":"POST /events","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-events/get-event":{"get":{"operationId":"cloud_akamai_events_get_event","summary":"Get an event","description":"GET /events/{eventId}","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":"eventId","in":"query","required":true,"description":"The identifier of the event.","schema":{"type":"integer","description":"The identifier of the event."},"example":"{{eventId}}"},{"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-events/put-event":{"post":{"operationId":"cloud_akamai_events_put_event","summary":"Update an event","description":"PUT /events/{eventId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","eventId","body"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"eventId":{"type":"integer","description":"The identifier of the event."},"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-events/delete-event":{"post":{"operationId":"cloud_akamai_events_delete_event","summary":"Remove an event","description":"DELETE /events/{eventId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","eventId"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"eventId":{"type":"integer","description":"The identifier of the event."},"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-events/get-tags":{"get":{"operationId":"cloud_akamai_events_get_tags","summary":"List tags","description":"GET /tags","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":false,"description":"The number of the page. Page numbers start at 1.","schema":{"type":"integer","default":1,"description":"The number of the page. Page numbers start at 1."},"example":"{{page}}"},{"name":"pageSize","in":"query","required":false,"description":"The number of records on a page. By default, a page has 25 records. The maximum value is 1000 records on a page.","schema":{"type":"integer","default":25,"description":"The number of records on a page. By default, a page has 25 records. The maximum value is 1000 records on a page."},"example":"{{pageSize}}"},{"name":"sort","in":"query","required":false,"description":"The sorting property and the sorting direction for the result data. Use `name` to sort by name. Use `asc` for alphabetically ascending…","schema":{"type":"string","description":"The sorting property and the sorting direction for the result data. Use `name` to sort by name. Use `asc` for alphabetically ascending…"},"example":"{{sort}}"},{"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"}}},"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"}}}}}}}