- Home
- API Enriched
- Shape
- shape
- Expanded Traffic Overview V5.
Expanded Traffic Overview V5.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/shape/bot/namespaces/example/v5/reporting/traffic/overview/expanded';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"end_time":"example","filters":{"global_filters":[{"key":"TIMESTAMP","op":"IN","values":["example"]}],"region_filter":"US"},"namespace":"example","pagination":{"page_number":1,"page_size":1},"sort":{"key":"TIMESTAMP","order":"DESCENDING"},"start_time":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/shape/bot/namespaces/example/v5/reporting/traffic/overview/expanded \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "end_time": "example", "filters": { "global_filters": [ { "key": "TIMESTAMP", "op": "IN", "values": [ "example" ] } ], "region_filter": "US" }, "namespace": "example", "pagination": { "page_number": 1, "page_size": 1 }, "sort": { "key": "TIMESTAMP", "order": "DESCENDING" }, "start_time": "example" }'GET expanded traffic overview v5 with global filters supported.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Namespace
x-required namespace is used to scope the query. Only virtual_host in given namespace will be considered.
Request Bodyrequired
Section titled “Request Bodyrequired”Request for Shape Bot Defense expanded traffic overview V5.
object
End time of the query period Format: unix_timestamp|RFC 3339
Optional: If not specified, then the end_time will be evaluated to start_time+10m
If start_time is not specified, then the end_time will be evaluated to
object
List of global filters
Required: YES.
Query Global Filter.
object
An unordered list of filter strings Required: YES.
Namespace is used to scope the query. Only virtual_host in given namespace will be considered. Required: YES.
object
Required: YES.
Required: YES.
object
Start time of the query period Format: unix_timestamp|RFC 3339
Optional: If not specified, then the start_time will be evaluated to end_time-10m
If end_time is not specified, then the start_time will be evaluated to
Responses
Section titled “Responses”A successful response.
Response for Shape Bot Defense expanded traffic overview V5.
object
Total number of traffic transactions.
A list of traffic transactions.
Traffic transaction.
object
Traffic Fields - for example: AS Number, Timestamp, host, etc.
Traffic transaction fields.
object
Group name the field belongs to.
Field name.
Field value.
Examplegenerated
{ "total_transactions": "example", "transactions": [ { "fields": [ { "group": "example", "name": "example", "value": "example" } ] } ]}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example