Retrieve a specific Deployment.
An association of a Build with an Environment so that the Build is published in the Environment.
Retrieve a specific Deployment.
Path parameters
-
The SID of the Service to fetch the Deployment resource from.
-
The SID of the Environment used by the Deployment to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^ZE[0-9a-fA-F]{32}$
. -
The SID that identifies the Deployment resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^ZD[0-9a-fA-F]{32}$
.
GET
/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments/{Sid}
curl \
--request GET 'https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Deployments/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "ZD00000000000000000000000000000000",
"url": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Environments/ZE00000000000000000000000000000000/Deployments/ZD00000000000000000000000000000000",
"build_sid": "ZB00000000000000000000000000000000",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ZS00000000000000000000000000000000",
"date_created": "2018-11-10T20:00:00Z",
"date_updated": "2018-11-10T20:00:00Z",
"environment_sid": "ZE00000000000000000000000000000000"
}