{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:azure-communication-messages/template-operations-list-templates":{"get":{"operationId":"cloud_azure_communication_messages_template_operations_list_templates","summary":"List all templates for given Azure Communication Services channel","description":"GET /messages/channels/{channelId}/templates","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"The communication resource, for example https://my-resource.communication.azure.com","schema":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2024-08-30","description":"The API version to use for this operation."}},{"name":"channelId","in":"query","required":true,"description":"The registration ID of the channel.","schema":{"type":"string","description":"The registration ID of the channel."}},{"name":"maxpagesize","in":"query","required":false,"description":"Number of objects to return per page.","schema":{"type":"integer","description":"Number of objects to return per page."}},{"name":"x-ms-client-request-id","in":"query","required":false,"description":"An opaque, globally-unique, client-generated string identifier for the request.","schema":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the 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:azure-communication-messages/notification-messages-operations-send":{"post":{"operationId":"cloud_azure_communication_messages_notification_messages_operations_send","summary":"Sends a notification message from Business to User.","description":"POST /messages/notifications:send","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint","body"],"properties":{"endpoint":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"},"api-version":{"type":"string","default":"2024-08-30","description":"The API version to use for this operation."},"Repeatability-Request-ID":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."},"Repeatability-First-Sent":{"type":"string","description":"Specifies the date and time at which the request was first created."},"x-ms-client-request-id":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the request."},"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:azure-communication-messages/stream-operations-get-media":{"get":{"operationId":"cloud_azure_communication_messages_stream_operations_get_media","summary":"Download the Media payload from a User to Business message.","description":"GET /messages/streams/{id}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":true,"description":"The communication resource, for example https://my-resource.communication.azure.com","schema":{"type":"string","description":"The communication resource, for example https://my-resource.communication.azure.com"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2024-08-30","description":"The API version to use for this operation."}},{"name":"id","in":"query","required":true,"description":"The stream ID.","schema":{"type":"string","description":"The stream ID."}},{"name":"x-ms-client-request-id","in":"query","required":false,"description":"An opaque, globally-unique, client-generated string identifier for the request.","schema":{"type":"string","description":"An opaque, globally-unique, client-generated string identifier for the 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"}}},"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"}}}}}}}