メニュー

Expand
ページを評価:

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
sid<FK> Not PII

The unique string that we created to identify the Plugin Release resource.

account_sid
sid<AC> Not PII

The SID of the Account that created the Plugin Release resource and owns this resource.

configuration_sid
sid<FJ> Not PII

The SID of the Plugin Configuration resource to release.

date_created
date_time<iso8601> Not PII

The date and time in GMT when the Flex Plugin Release was created specified in ISO 8601 format.

url
url Not PII

The absolute URL of the Plugin Release resource.

Create a PluginRelease resource

post
https://flex-api.twilio.com/v1/PluginService/Releases
パラメーター
Parameters in REST API format
configuration_id
必須
post sid_like<FJ> Not PII

The SID or the Version of the Flex Plugin Configuration to release.

flex_metadata
ヘッダー
post 文字列 Not PII

The Flex-Metadata HTTP request header

例 1
        
        
        

        Fetch a PluginRelease resource

        GET
        https://flex-api.twilio.com/v1/PluginService/Releases/{Sid}
        パラメーター
        Parameters in REST API format
        sid
        Path
        GET sid_like<FK> Not PII

        The SID of the Flex Plugin Release resource to fetch.

        flex_metadata
        ヘッダー
        GET 文字列 Not PII

        The Flex-Metadata HTTP request header

        例 1
              
              
              

              Read multiple PluginRelease resources

              GET
              https://flex-api.twilio.com/v1/PluginService/Releases
              パラメーター
              Parameters in REST API format
              flex_metadata
              ヘッダー
              GET 文字列 Not PII

              The Flex-Metadata HTTP request header

              例 1
                    
                    
                    
                    ページを評価:

                    ヘルプが必要ですか?

                    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.

                          
                          
                          

                          フィードバックくださりありがとうございます!

                          Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                          Sending your feedback...
                          🎉 Thank you for your feedback!
                          Something went wrong. Please try again.

                          Thanks for your feedback!

                          Refer us and get $10 in 3 simple steps!

                          ステップ1

                          Get link

                          Get a free personal referral link here

                          ステップ2:

                          Give $10

                          Your user signs up and upgrade using link

                          ステップ3

                          Get $10

                          1,250 free SMSes
                          OR 1,000 free voice mins
                          OR 12,000 chats
                          OR more