Retrieve a list of all Function Version resources.
The content of a Function.
Retrieve a list of all Function Version resources.
Path parameters
-
The SID of the Service to read the Function Version resources from.
-
The SID of the function that is the parent of the Function Version resources to read.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^ZH[0-9a-fA-F]{32}$
.
GET
/v1/Services/{ServiceSid}/Functions/{FunctionSid}/Versions
curl \
--request GET 'https://serverless.twilio.com/v1/Services/{ServiceSid}/Functions/{FunctionSid}/Versions' \
--user "username:password"
Response examples (200)
{
"meta": {
"key": "function_versions",
"url": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Functions/ZH00000000000000000000000000000000/Versions?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Functions/ZH00000000000000000000000000000000/Versions?PageSize=50&Page=0",
"previous_page_url": null
},
"function_versions": []
}