ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
137 stars 58 forks source link

[Epic]: Revamp Twilio Connector #4950

Closed RDPerera closed 8 months ago

RDPerera commented 12 months ago

Connector Name

ballerinax/twilio (Twilio) is a cloud communications platform that enables developers to build scalable communication applications, including voice, text, chat, and video.

Twilio's REST API and SDKs make it easy for developers to add communication capabilities to their applications, without the need to manage infrastructure or telecom carriers.

The Twilio library for Ballerina will make it even easier for developers to build communication applications using the Ballerina programming language. The library will provide a high-level abstraction of the Twilio REST API, so that developers do not need to worry about the underlying details.

Use Cases The Twilio can be used in a variety of applications, including:

Suggested improvement

Currently, Ballerina supports the following capabilities through the Twilio connector:

The task at hand is to expand the capabilities of the Ballerina Twilio connector to encompass a broader range of operations.

Implementation

Twilio services are delivered through their REST APIs.Twilio has Open API specifications for their REST APIs, enabling developers to understand and interact with their services more effectively. In fact, there are 36 distinct Open API specifications, each tailored to a specific service and version(Appendix 1). However, for our proposed connector development, we will be focusing on the Open API Specification titled "2010_04_01" which represents a widely used version encompassing 202 essential operations.

OAI Specification: https://github.com/twilio/twilio-oai/blob/main/spec/yaml/twilio_api_v2010.yaml

Using the open API specification, we are in the process of building a connector with the assistance of open API tools.

Proposed Functionalities for Twilio 4.0

Sub Tasks

Revamping the existing Ballerina Twilio connector involves following sub tasks

RDPerera commented 8 months ago

As It's completed and released.