{"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-case-management/get-accounts":{"get":{"operationId":"cloud_akamai_case_management_get_accounts","summary":"List available accounts","description":"GET /accounts-with-categories","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"}}],"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-case-management/get-cases":{"get":{"operationId":"cloud_akamai_case_management_get_cases","summary":"List cases","description":"GET /cases","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":"type","in":"query","required":true,"description":"__Enum__ Type of cases to fetch. You can filter the results for your cases, `MY_ACTIVE_CASES` or `MY_CLOSED_CASES`, or for all users of…","schema":{"type":"string","enum":["MY_ACTIVE_CASES","MY_CLOSED_CASES","ALL_ACTIVE_CASES","ALL_CLOSED_CASES"],"description":"__Enum__ Type of cases to fetch. You can filter the results for your cases, `MY_ACTIVE_CASES` or `MY_CLOSED_CASES`, or for all users of…"}},{"name":"duration","in":"query","required":false,"description":"Number of days in the past to fetch cases for, based on the case's creation date. If omitted, the operation returns most recently created…","schema":{"type":"integer","description":"Number of days in the past to fetch cases for, based on the case's creation date. If omitted, the operation returns most recently created…"}},{"name":"accountIds","in":"query","required":false,"description":"List of accounts to fetch the cases for. To get these values, run the [List available…","schema":{"type":"string","description":"List of accounts to fetch the cases for. To get these values, run the [List available…"}},{"name":"limit","in":"query","required":false,"description":"Data rows to fetch starting from the most recent. The maximum number of items is `200`, `50` by default.","schema":{"type":"integer","default":50,"description":"Data rows to fetch starting from the most recent. The maximum number of items is `200`, `50` by default."}},{"name":"cursor","in":"query","required":false,"description":"Cursor value for pagination. It occurs only if there's a `next` page of the results.","schema":{"type":"string","description":"Cursor value for pagination. It occurs only if there's a `next` page of the results."}}],"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-case-management/post-cases":{"post":{"operationId":"cloud_akamai_case_management_post_cases","summary":"Create a new case","description":"POST /cases","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"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-case-management/get-case":{"get":{"operationId":"cloud_akamai_case_management_get_case","summary":"Get a case","description":"GET /cases/{caseId}","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":"caseId","in":"query","required":true,"description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation.","schema":{"type":"string","description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation."}}],"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-case-management/patch-case":{"post":{"operationId":"cloud_akamai_case_management_patch_case","summary":"Update contact details","description":"PATCH /cases/{caseId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","caseId"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"caseId":{"type":"string","description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation."},"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-case-management/get-attachments":{"get":{"operationId":"cloud_akamai_case_management_get_attachments","summary":"List attached files","description":"GET /cases/{caseId}/attachments","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":"caseId","in":"query","required":true,"description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation.","schema":{"type":"string","description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation."}},{"name":"limit","in":"query","required":false,"description":"Data rows to fetch starting from the most recent. The maximum number of items is `200`, `50` by default.","schema":{"type":"integer","default":50,"description":"Data rows to fetch starting from the most recent. The maximum number of items is `200`, `50` by default."}},{"name":"cursor","in":"query","required":false,"description":"Cursor value for pagination. It occurs only if there's a `next` page of the results.","schema":{"type":"string","description":"Cursor value for pagination. It occurs only if there's a `next` page of the results."}}],"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-case-management/post-attachments":{"post":{"operationId":"cloud_akamai_case_management_post_attachments","summary":"Attach a file","description":"POST /cases/{caseId}/attachments","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","caseId"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"caseId":{"type":"string","description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation."},"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"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-case-management/get-attachment-upload-status":{"get":{"operationId":"cloud_akamai_case_management_get_attachment_upload_status","summary":"Get the status of an attachment upload","description":"GET /cases/{caseId}/attachments/status/{uploadId}","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":"caseId","in":"query","required":true,"description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation.","schema":{"type":"string","description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation."}},{"name":"uploadId","in":"query","required":true,"description":"Identifier for each attachment upload request.","schema":{"type":"string","description":"Identifier for each attachment upload request."}}],"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-case-management/get-attachment":{"get":{"operationId":"cloud_akamai_case_management_get_attachment","summary":"Get an attached file","description":"GET /cases/{caseId}/attachments/{attachmentId}","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":"caseId","in":"query","required":true,"description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation.","schema":{"type":"string","description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation."}},{"name":"attachmentId","in":"query","required":true,"description":"Identifier for each attachment. To get this value, run the [List attached…","schema":{"type":"string","description":"Identifier for each attachment. To get this value, run the [List attached…"}}],"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-case-management/get-comments":{"get":{"operationId":"cloud_akamai_case_management_get_comments","summary":"List comments","description":"GET /cases/{caseId}/comments","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":"caseId","in":"query","required":true,"description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation.","schema":{"type":"string","description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation."}},{"name":"limit","in":"query","required":false,"description":"Data rows to fetch starting from the most recent. The maximum number of items is `200`, `50` by default.","schema":{"type":"integer","default":50,"description":"Data rows to fetch starting from the most recent. The maximum number of items is `200`, `50` by default."}},{"name":"cursor","in":"query","required":false,"description":"Cursor value for pagination. It occurs only if there's a `next` page of the results.","schema":{"type":"string","description":"Cursor value for pagination. It occurs only if there's a `next` page of the results."}}],"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-case-management/post-comments":{"post":{"operationId":"cloud_akamai_case_management_post_comments","summary":"Comment a case","description":"POST /cases/{caseId}/comments","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","caseId"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"caseId":{"type":"string","description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation."},"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-case-management/post-close":{"post":{"operationId":"cloud_akamai_case_management_post_close","summary":"Close a case","description":"POST /cases/{caseId}/request-case-closure","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hostname","caseId"],"properties":{"hostname":{"type":"string","description":"Your API client's host from Akamai Control Center, for example https://akab-xxxx.luna.akamaiapis.net"},"caseId":{"type":"string","description":"Identifier for each case. To get this value, run the [List cases](https://techdocs.akamai.com/case-mgmt/reference/get-cases) operation."},"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-case-management/get-category":{"get":{"operationId":"cloud_akamai_case_management_get_category","summary":"Get a case category","description":"GET /categories/{categoryId}","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":"categoryId","in":"query","required":true,"description":"__Enum__ Identifier for a category you want to get the details for. To get the list of categories available for an account, run the [List…","schema":{"type":"string","enum":["SECURITY","MANAGED_CLOUD","BUSINESS_SUPPORT","PROFESSIONAL_SERVICES","BILLING","TECHNICAL"],"description":"__Enum__ Identifier for a category you want to get the details for. To get the list of categories available for an account, run the [List…"}},{"name":"accountId","in":"query","required":false,"description":"Identifier for an account you want to get the category details for. To get this value, run the [List available…","schema":{"type":"string","description":"Identifier for an account you want to get the category details for. To get this value, run the [List available…"}}],"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"}}}}}}}