Retrieve a specific Function Version resource.
The content of a Function.
Retrieve a specific Function Version resource.
Path parameters
-
The SID of the Service to fetch the Function Version resource from.
-
The SID of the function that is the parent of the Function Version resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^ZH[0-9a-fA-F]{32}$
. -
The SID of the Function Version resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^ZN[0-9a-fA-F]{32}$
.
GET
/v1/Services/{ServiceSid}/Functions/{FunctionSid}/Versions/{Sid}
curl \
--request GET 'https://serverless.twilio.com/v1/Services/{ServiceSid}/Functions/{FunctionSid}/Versions/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "ZN00000000000000000000000000000000",
"url": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Functions/ZH00000000000000000000000000000000/Versions/ZN00000000000000000000000000000000",
"path": "/test-path",
"links": {
"function_version_content": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Functions/ZH00000000000000000000000000000000/Versions/ZN00000000000000000000000000000000/Content"
},
"visibility": "public",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ZS00000000000000000000000000000000",
"date_created": "2018-11-10T20:00:00Z",
"function_sid": "ZH00000000000000000000000000000000"
}