- Home
- API MCP Server
- tools
- shape
- shape-security
- Draft
Draft
Getbotdetectionrulesdraft CustomAPI.
| Tool | Description |
|---|---|
f5xc-api-shape-draft-create | Save draft. |
f5xc-api-shape-draft-list | GET bot detection rules which are in draft state. |
f5xc-api-shape-draft-delete | Discard draft. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
namespace | Namespace | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Draft resources:
Create Draft
Section titled “Create Draft”“Create a draft named ‘example’ in the ‘production’ namespace”
List Drafts
Section titled “List Drafts”“List all drafts in the ‘production’ namespace”
CURL Examples
Section titled “CURL Examples”# List resourcescurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/drafts" \ -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}/drafts/<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}/drafts" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @draft.json
# Delete resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/drafts/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"