Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now

メニュー

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 SID identifier of this Deployment.

accountSid
sid<AC> Not PII

The unique SID identifier of the Account that owns this Deployment.

serviceSid
sid<ZS> Not PII

The unique SID identifier of the Service for this Deployment.

environmentSid
sid<ZE> Not PII

The unique SID identifier of the Environment for this Deployment.

buildSid
sid<ZB> Not PII

The unique SID identifier of the Build for this Deployment.

dateCreated
date_time<iso8601> Not PII

The date that this Deployment was created, given in ISO 8601 format.

dateUpdated
date_time<iso8601> Not PII

The date that this Deployment was updated, given in ISO 8601 format.

url
url Not PII

The URL of this Deployment.

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 unique SID identifier of the Service for this Deployment.

environment_sid
必須
post sid<ZE> Not PII

The unique SID identifier of the Environment for this Deployment.

build_sid
必須
post sid<ZB> Not PII

The unique SID identifier of the Build to be deployed for this Deployment. Required.

        
        
        
        

        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 unique SID identifier of the Service for this Deployment.

        environment_sid
        必須
        GET sid<ZE> Not PII

        The unique SID identifier of the Environment for this Deployment.

        sid
        必須
        GET sid<ZD> Not PII

        The unique SID identifier of this Deployment.

              
              
              
              

              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 unique SID identifier of the Service for these Deployments.

              environment_sid
              必須
              GET sid<ZE> Not PII

              The unique SID identifier of the Environment for these Deployments.

                    
                    
                    
                    
                    Rate this page:

                    ヘルプが必要ですか?

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