AVI Networks VS Data Script Set API
The VSDataScriptSet API from AVI Networks — 2 operation(s) for vsdatascriptset.
The VSDataScriptSet API from AVI Networks — 2 operation(s) for vsdatascriptset.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/avi-networks:avi-networks-vsdatascriptset-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Avi Networks VS Data Script Set API
version: 32.2.1
contact:
name: Avi Networks Inc.
url: https://avinetworks.com/contact-us
email: support@avinetworks.com
description: 'Operations tagged VSDataScriptSet across 2 of this provider''s published API definitions: avi_global_spec.json, avi-networks-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api
tags:
- name: VSDataScriptSet
paths:
/vsdatascriptset:
get:
tags:
- VSDataScriptSet
description: /vsdatascriptset
operationId: GET/vsdatascriptset
parameters:
- name: name
in: query
description: object name
required: false
schema:
type: string
- name: refers_to
in: query
description: Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=<obj_type>:<obj_uuid>. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid
schema:
type: string
- name: referred_by
in: query
description: Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=<obj_type>:<obj_uuid>. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid
schema:
type: string
- name: fields
in: query
description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
schema:
type: string
- name: include_name
in: query
description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
required: false
schema:
type: boolean
- name: skip_default
in: query
description: Default values are not set.
required: false
schema:
type: boolean
- name: join_subresources
in: query
description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
schema:
type: string
- name: X-Avi-Tenant
in: header
required: false
description: Avi Tenant Header
schema:
type: string
- name: X-Avi-Tenant-UUID
in: header
required: false
description: Avi Tenant Header UUID
schema:
type: string
- name: X-Avi-Version
in: header
required: true
description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
schema:
type: string
- name: X-CSRFToken
in: header
required: false
description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
schema:
type: string
security:
- basicAuth: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/VSDataScriptSetApiResponse'
'401':
description: log in failed
summary: GET /vsdatascriptset
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: GET /vsdatascriptset
post:
tags:
- VSDataScriptSet
description: /vsdatascriptset
operationId: POST/vsdatascriptset
parameters:
- name: X-Avi-Tenant
in: header
required: false
description: Avi Tenant Header
schema:
type: string
- name: X-Avi-Tenant-UUID
in: header
required: false
description: Avi Tenant Header UUID
schema:
type: string
- name: X-Avi-Version
in: header
required: true
description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
schema:
type: string
- name: X-CSRFToken
in: header
required: false
description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
schema:
type: string
security:
- basicAuth: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/VSDataScriptSet'
'401':
description: log in failed
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VSDataScriptSet'
description: VSDataScriptSet object creation
required: true
summary: POST /vsdatascriptset
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: POST /vsdatascriptset
servers:
- url: /api
/vsdatascriptset/{uuid}:
get:
tags:
- VSDataScriptSet
description: /vsdatascriptset/{uuid}/{uuid}
operationId: GET/vsdatascriptset/{uuid}
parameters:
- name: name
in: query
description: object name
required: false
schema:
type: string
- name: X-Avi-Tenant
in: header
required: false
description: Avi Tenant Header
schema:
type: string
- name: X-Avi-Tenant-UUID
in: header
required: false
description: Avi Tenant Header UUID
schema:
type: string
- name: X-Avi-Version
in: header
required: true
description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
schema:
type: string
- name: X-CSRFToken
in: header
required: false
description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
schema:
type: string
- name: uuid
in: path
description: UUID of the object to fetch
required: true
schema:
type: string
- name: fields
in: query
description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
schema:
type: string
- name: include_name
in: query
description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
required: false
schema:
type: boolean
- name: skip_default
in: query
description: Default values are not set.
required: false
schema:
type: boolean
- name: join_subresources
in: query
description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
schema:
type: string
security:
- basicAuth: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/VSDataScriptSet'
'401':
description: log in failed
'404':
description: object not found
summary: GET /vsdatascriptset/{uuid}
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: GET /vsdatascriptset/{uuid}
put:
tags:
- VSDataScriptSet
description: /vsdatascriptset/{uuid}/{uuid}
operationId: PUT/vsdatascriptset/{uuid}
parameters:
- in: query
name: name
description: object name
required: false
schema:
type: string
- in: header
name: X-Avi-Tenant
required: false
description: Avi Tenant Header
schema:
type: string
- name: X-Avi-Tenant-UUID
in: header
required: false
description: Avi Tenant Header UUID
schema:
type: string
- name: X-Avi-Version
in: header
required: true
description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
schema:
type: string
- name: X-CSRFToken
in: header
required: false
description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
schema:
type: string
- in: path
name: uuid
description: UUID of the object to fetch
required: true
schema:
type: string
security:
- basicAuth: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/VSDataScriptSet'
'401':
description: log in failed
'404':
description: object not found
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VSDataScriptSet'
description: VSDataScriptSet object creation
required: true
summary: PUT /vsdatascriptset/{uuid}
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: PUT /vsdatascriptset/{uuid}
patch:
tags:
- VSDataScriptSet
description: /vsdatascriptset/{uuid}/{uuid}
operationId: PATCH/vsdatascriptset/{uuid}
parameters:
- in: query
name: name
description: object name
required: false
schema:
type: string
- in: header
name: X-Avi-Tenant
required: false
description: Avi Tenant Header
schema:
type: string
- name: X-Avi-Tenant-UUID
in: header
required: false
description: Avi Tenant Header UUID
schema:
type: string
- name: X-Avi-Version
in: header
required: true
description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
schema:
type: string
- name: X-CSRFToken
in: header
required: false
description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
schema:
type: string
- in: path
name: uuid
description: UUID of the object to fetch
required: true
schema:
type: string
security:
- basicAuth: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/VSDataScriptSet'
'401':
description: log in failed
'404':
description: object not found
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VSDataScriptSet'
description: VSDataScriptSet object creation
required: true
summary: PATCH /vsdatascriptset/{uuid}
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: PATCH /vsdatascriptset/{uuid}
delete:
tags:
- VSDataScriptSet
description: /vsdatascriptset/{uuid}/{uuid}
operationId: DELETE/vsdatascriptset/{uuid}
parameters:
- in: query
name: name
description: object name
required: false
schema:
type: string
- in: header
name: X-Avi-Tenant
required: false
description: Avi Tenant Header
schema:
type: string
- name: X-Avi-Tenant-UUID
in: header
required: false
description: Avi Tenant Header UUID
schema:
type: string
- name: X-Avi-Version
in: header
required: true
description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
schema:
type: string
- name: X-CSRFToken
in: header
required: false
description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
schema:
type: string
- in: path
name: uuid
description: UUID of the object to fetch
required: true
schema:
type: string
security:
- basicAuth: []
responses:
'204':
description: object deleted
content:
application/json:
schema:
type: string
'404':
description: object not found
summary: DELETE /vsdatascriptset/{uuid}
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: DELETE /vsdatascriptset/{uuid}
servers:
- url: /api
components:
schemas:
VSDataScript:
type: object
required:
- evt
- script
properties:
evt:
description: Event triggering execution of datascript. Enum options - VS_DATASCRIPT_EVT_HTTP_REQ, VS_DATASCRIPT_EVT_HTTP_RESP, VS_DATASCRIPT_EVT_HTTP_RESP_DATA, VS_DATASCRIPT_EVT_HTTP_LB_FAILED, VS_DATASCRIPT_EVT_HTTP_REQ_DATA, VS_DATASCRIPT_EVT_HTTP_RESP_FAILED, VS_DATASCRIPT_EVT_HTTP_LB_DONE, VS_DATASCRIPT_EVT_HTTP_AUTH, VS_DATASCRIPT_EVT_HTTP_POST_AUTH, VS_DATASCRIPT_EVT_TCP_CLIENT_ACCEPT, VS_DATASCRIPT_EVT_SSL_HANDSHAKE_DONE, VS_DATASCRIPT_EVT_CLIENT_SSL_PRE_CONNECT, VS_DATASCRIPT_EVT_CLIENT_SSL_CLIENT_HELLO, VS_DATASCRIPT_EVT_SERVER_SSL_SERVER_HELLO, VS_DATASCRIPT_EVT_SERVER_SSL_HANDSHAKE_DONE, VS_DATASCRIPT_EVT_CLIENT_SSL_CLIENT_CERT, VS_DATASCRIPT_EVT_DNS_REQ, VS_DATASCRIPT_EVT_DNS_RESP, VS_DATASCRIPT_EVT_L4_REQUEST, VS_DATASCRIPT_EVT_L4_RESPONSE, VS_DATASCRIPT_EVT_CLIENT_CLOSED, VS_DATASCRIPT_EVT_SERVER_CLOSED, VS_DATASCRIPT_EVT_SERVER_CONNECTED, VS_DATASCRIPT_EVT_L4_LB_DONE, VS_DATASCRIPT_EVT_L4_LB_FAILED, VS_DATASCRIPT_EVT_MAX. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
script:
description: Datascript to execute when the event triggers. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
RoleFilterMatchLabel:
type: object
required:
- key
properties:
key:
description: Key for filter match. Field introduced in 20.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
values:
description: Values for filter match. Multiple values will be evaluated as OR. Example key = value1 OR key = value2. Behavior for match is key = * if this field is empty. Field introduced in 20.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
VSDataScriptSet:
type: object
required:
- name
properties:
_last_modified:
description: UNIX time since epoch in microseconds. Units(MICROSECONDS).
readOnly: true
type: string
clf_profile_ref:
description: UUID of the Custom Log Forward profile that is referred by virtual service datascript objects. It is a reference to an object of type ClfProfile. Field introduced in 32.1.5. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
created_by:
description: Creator name. Field introduced in 17.1.11,17.2.4. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
datascript:
description: DataScripts to execute. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
$ref: '#/components/schemas/VSDataScript'
description:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
geo_db_ref:
description: Geo Location Mapping Database used by this DataScriptSet. It is a reference to an object of type GeoDB. Field introduced in 21.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
ip_reputation_db_ref:
description: IP reputation database that can be used by DataScript functions. It is a reference to an object of type IPReputationDB. Field introduced in 20.1.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
ipgroup_refs:
description: UUID of IP Groups that could be referred by VSDataScriptSet objects. It is a reference to an object of type IpAddrGroup. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
markers:
description: List of labels to be used for granular RBAC. Field introduced in 20.1.5. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
$ref: '#/components/schemas/RoleFilterMatchLabel'
name:
description: Name for the virtual service datascript collection. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
pki_profile_refs:
description: UUIDs of PKIProfile objects that could be referred by VSDataScriptSet objects. It is a reference to an object of type PKIProfile. Field introduced in 21.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
pool_group_refs:
description: UUID of pool groups that could be referred by VSDataScriptSet objects. It is a reference to an object of type PoolGroup. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
pool_refs:
description: UUID of pools that could be referred by VSDataScriptSet objects. It is a reference to an object of type Pool. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
protocol_parser_refs:
description: List of protocol parsers that could be referred by VSDataScriptSet objects. It is a reference to an object of type ProtocolParser. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
rate_limiters:
description: The Rate Limit definitions needed for this DataScript. The name is composed of the Virtual Service name and the DataScript name. Field introduced in 18.2.9. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
$ref: '#/components/schemas/RateLimiter'
snat_ip6s:
description: IPv6 address used by a VS-DataScript in avi.l4.source_ip api. Field introduced in 31.2.1. Maximum of 8 items allowed. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
$ref: '#/components/schemas/IpAddr'
snat_ips:
description: IPv4 address used by a VS-DataScript in avi.l4.source_ip api. Field introduced in 31.2.1. Maximum of 8 items allowed. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
$ref: '#/components/schemas/IpAddr'
ssl_key_certificate_refs:
description: UUIDs of SSLKeyAndCertificate objects that could be referred by VSDataScriptSet objects. It is a reference to an object of type SSLKeyAndCertificate. Field introduced in 21.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
ssl_profile_refs:
description: UUIDs of SSLProfile objects that could be referred by VSDataScriptSet objects. It is a reference to an object of type SSLProfile. Field introduced in 21.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
string_group_refs:
description: UUID of String Groups that could be referred by VSDataScriptSet objects. It is a reference to an object of type StringGroup. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
tenant_ref:
description: ' It is a reference to an object of type Tenant. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
url:
description: url
readOnly: true
type: string
uuid:
description: UUID of the virtual service datascript collection. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
IpAddr:
type: object
required:
- addr
- type
properties:
addr:
description: IP address. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
type:
description: ' Enum options - V4, DNS, V6. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
RateLimiter:
type: object
required:
- count
- period
properties:
burst_sz:
description: Maximum number of connections, requests or packets to be let through instantaneously. If this is less than count, it will have no effect. Allowed values are 0-1000000000. Field introduced in 18.2.9. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: integer
format: uint32
count:
description: Maximum number of connections, requests or packets permitted each period. Allowed values are 1-1000000000. Field introduced in 18.2.9. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: integer
default: 1000000000
format: uint32
name:
description: Identifier for Rate Limit. Constructed according to context. Field introduced in 18.2.9. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
period:
description: Time value in seconds to enforce rate count. Allowed values are 1-1000000000. Field introduced in 18.2.9. Unit is SEC. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: integer
default: 1
format: uint32
VSDataScriptSetApiResponse:
type: object
required:
- count
- results
properties:
count:
type: integer
format: int32
results:
type: array
items:
$ref: '#/components/schemas/VSDataScriptSet'
next:
type: string
securitySchemes:
basicAuth:
type: http
scheme: basic
description: basic authentication
x-refined-from:
- avi_global_spec.json
- avi-networks-openapi.yml