- Home
- API MCP Server
- tools
- shape
- shape-security
- Js Configuration
Js Configuration
GET JS Injection Configuration for this tenant.
| Tool | Description |
|---|---|
f5xc-api-shape-js-configuration-list | GET JS Injection Configuration. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
namespace | Namespace | - |
Query Parameters
Section titled “Query Parameters”| Parameter | Description | Example |
|---|---|---|
name | Format we want the script to be returned in. | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Js Configuration resources:
List Js Configurations
Section titled “List Js Configurations”“List all js-configurations in the ‘production’ namespace”
CURL Examples
Section titled “CURL Examples”# List resourcescurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/js_configurations" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json"
# Get specific resourcecurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/js_configurations/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json"
# Create resourcecurl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/js_configurations" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @js_configuration.json
# Delete resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/js_configurations/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"