Retrieve a list of all Asset Versions.
The content of an Asset.
Retrieve a list of all Asset Versions.
Path parameters
-
The SID of the Service to read the Asset Version resource from.
-
The SID of the Asset resource that is the parent of the Asset 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}/Assets/{AssetSid}/Versions
curl \
--request GET 'https://serverless.twilio.com/v1/Services/{ServiceSid}/Assets/{AssetSid}/Versions' \
--user "username:password"
Response examples (200)
{
"meta": {
"key": "asset_versions",
"url": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Assets/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/Assets/ZH00000000000000000000000000000000/Versions?PageSize=50&Page=0",
"previous_page_url": null
},
"asset_versions": []
}