メニュー

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

Names in PHP format
sid
sid<ZD> Not PII

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

accountSid
sid<AC> Not PII

The SID of the Account that created the Deployment resource.

serviceSid
sid<ZS> Not PII

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

environmentSid
sid<ZE> Not PII

The SID of the environment for the deployment.

buildSid
sid<ZB> Not PII

The SID of the build for the deployment.

dateCreated
date_time<iso8601> Not PII

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

dateUpdated
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
パラメーター
Names in None format
service_sid
必須
post sid_like<ZS> Not PII

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

environment_sid
必須
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.

        
        
        
        

        Fetch a Deployment resource

        GET
        https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments/{Sid}
        パラメーター
        Names in None format
        service_sid
        必須
        GET sid_like<ZS> Not PII

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

        environment_sid
        必須
        GET sid<ZE> Not PII

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

        sid
        必須
        GET sid<ZD> Not PII

        The SID of the Deployment resource to fetch.

              
              
              
              

              Read multiple Deployment resources

              GET
              https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments
              パラメーター
              Names in None format
              service_sid
              必須
              GET sid_like<ZS> Not PII

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

              environment_sid
              必須
              GET sid<ZE> Not PII

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

                    
                    
                    
                    
                    Rate this page:

                    ヘルプが必要ですか?

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