メニュー

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

デプロイ

Deployments let you set a particular Build to be live on a particular Environment.

Deployment properties

Resource Properties in REST API format
sid
sid<ZD> Not PII

The unique string that we created to identify the Deployment resource.

account_sid
sid<AC> Not PII

The SID of the Account that created the Deployment resource.

service_sid
sid<ZS> Not PII

The SID of the Service that the Deployment resource is associated with.

environment_sid
sid<ZE> Not PII

The SID of the environment for the deployment.

build_sid
sid<ZB> Not PII

The SID of the build for the deployment.

date_created
date_time<iso8601> Not PII

The date and time in GMT when the Deployment resource was created specified in ISO 8601 format.

date_updated
date_time<iso8601> Not PII

The date and time in GMT when the Deployment resource was last updated specified in ISO 8601 format.

url
url Not PII

The absolute URL of the Deployment resource.

Create a Deployment resource

post
https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments
パラメーター
Parameters in REST API format
service_sid
Path
post sid_like<ZS> Not PII

The SID of the Service to create the Deployment resource under.

environment_sid
Path
post sid<ZE> Not PII

The SID of the environment for the deployment.

build_sid
オプション
post sid<ZB> Not PII

The SID of the build for the deployment.

例 1
        
        
        
        

        Fetch a Deployment resource

        GET
        https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments/{Sid}
        パラメーター
        Parameters in REST API format
        service_sid
        Path
        GET sid_like<ZS> Not PII

        The SID of the Service to fetch the Deployment resource from.

        environment_sid
        Path
        GET sid<ZE> Not PII

        The SID of the environment used by the Deployment to fetch.

        sid
        Path
        GET sid<ZD> Not PII

        The SID of the Deployment resource to fetch.

        例 1
              
              
              
              

              Read multiple Deployment resources

              GET
              https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments
              パラメーター
              Parameters in REST API format
              service_sid
              Path
              GET sid_like<ZS> Not PII

              The SID of the Service to read the Deployment resources from.

              environment_sid
              Path
              GET sid<ZE> Not PII

              The SID of the environment used by the Deployment resources to read.

              例 1
                    
                    
                    
                    
                    Rate this page:

                    ヘルプが必要ですか?

                    誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。