Skip to content

Script

List all the scripts for the tenant depending on start time and end time.

ToolDescription
f5xc-api-shape-script-createList Scripts.
f5xc-api-shape-script-listList Scripts.
ParameterDescriptionExample
namespaceNamespace-
ParameterDescriptionExample
end_timeX-required-
page_numberOne-indexed page number (starts from 1), page_number and page_size are optional when page_token is specified.-
page_sizeThe maximum number of scripts to return per page.-
page_tokenPage_token is the value of listscriptsresponse.next_page_token from previous request.-
start_timeX-required-

Ask Claude to help you work with Script resources:

“Create a script named ‘example’ in the ‘production’ namespace”

“List all scripts in the ‘production’ namespace”

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/scripts" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/scripts/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/scripts" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @script.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/scripts/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"