Plugin Release Resource
The Plugin Release resource lets you set a Configuration active on a Flex project. A Flex project can have multiple Plugins with different Versions. When you're confident that your Plugins all work properly and are ready for production, you can create a release to push the changes to your contact center.
This allows you to audit when a Flex project changed and rollback your changes when necessary. Releases are immutable and irreversible. A rollback requires a new Release using a previous Configuration.
PluginRelease properties
Resource Properties in REST API format | |
---|---|
sid
|
The unique string that we created to identify the Plugin Release resource. |
account_sid
|
The SID of the Account that created the Plugin Release resource and owns this resource. |
configuration_sid
|
The SID of the Plugin Configuration resource to release. |
date_created
|
The date and time in GMT when the Flex Plugin Release was created specified in ISO 8601 format. |
url
|
The absolute URL of the Plugin Release resource. |
Create a PluginRelease resource
https://flex-api.twilio.com/v1/PluginService/Releases
Parameters
Parameters in REST API format | |
---|---|
configuration_id
Required
|
The SID or the Version of the Flex Plugin Configuration to release. |
flex_metadata
Header
|
The Flex-Metadata HTTP request header |
Example 1
Fetch a PluginRelease resource
https://flex-api.twilio.com/v1/PluginService/Releases/{Sid}
Parameters
Parameters in REST API format | |
---|---|
sid
Path
|
The SID of the Flex Plugin Release resource to fetch. |
flex_metadata
Header
|
The Flex-Metadata HTTP request header |
Example 1
Read multiple PluginRelease resources
https://flex-api.twilio.com/v1/PluginService/Releases
Parameters
Parameters in REST API format | |
---|---|
flex_metadata
Header
|
The Flex-Metadata HTTP request header |
Example 1
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.