Skip to content

List All Detected Domains.

POST
/api/shape/csd/namespaces/{namespace}/detectedDomains
curl --request POST \
--url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/shape/csd/namespaces/example/detectedDomains \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "duration": "example", "end_time": "example", "locations": "example", "namespace": "example", "page_number": 1, "page_size": 1, "page_token": "example", "risk": "example", "start_time": "example" }'

List detected domains.

Examples of this operation.

namespace
required
string

Namespace Namespace.

Media typeapplication/json
GetDetectedDomainsRequest

Any payload to be passed on the GET Provision API.

object
duration
Duration Days

Length in Days to fetch domain.

string
<= 1024 characters
end_time
End time

Format: unix epoch timestamp in seconds fetch domains with timestamp <= end_time.

string
<= 1024 characters
locations
Locations

List of locations if backend needs to filter with locations passed.

string
<= 1024 characters
namespace
namespace

Namespace

string
>= 6 characters <= 1024 characters
page_number
Page number

One-indexed page number (starts from 1), optional when page_token is specified.

integer format: int32
page_size
Page size

Maximum number of domains per page.

integer format: int32
page_token
Page token

Opaque token from previous response for pagination.

string
<= 1024 characters
risk
Risk

GET the list of high risk domains, all domains is by default.

string
<= 1024 characters
start_time
Start time

Format: unix epoch timestamp in seconds fetch domains with timestamp >= start_time.

string
<= 1024 characters
Examplegenerated
{
"duration": "example",
"end_time": "example",
"locations": "example",
"namespace": "example",
"page_number": 1,
"page_size": 1,
"page_token": "example",
"risk": "example",
"start_time": "example"
}

A successful response.

Media typeapplication/json
GetDetectedDomainsResponse

GET detected domains monitoring data.

object
customer
object
transactionCount
transactionCount

Usage transaction count.

integer format: int32
domain_summary
object
actionNeededCount
object
count
Count

Aggregated count.

integer format: int32
lastUpdated
LastUpdated

Timestamp showing when the count was last update.

string format: int64
<= 1024 characters
allowedDomains
object
count
Count

Aggregated count.

integer format: int32
lastUpdated
LastUpdated

Timestamp showing when the count was last update.

string format: int64
<= 1024 characters
mitigatedDomains
object
count
Count

Aggregated count.

integer format: int32
lastUpdated
LastUpdated

Timestamp showing when the count was last update.

string format: int64
<= 1024 characters
totalDomains
object
count
Count

Aggregated count.

integer format: int32
lastUpdated
LastUpdated

Timestamp showing when the count was last update.

string format: int64
<= 1024 characters
domains_list
domains_list

Detailed runtime information broken down by domain (as opposed to domain summary that is aggregated)

Array<object>
DomainDetails

Client-Side defense usage details per domain.

object
actionDate
ActionDate

Date when an action was required.

string format: int64
<= 1024 characters
category
Category

Human readable category description.

string
<= 1024 characters
domain
Domain

Name of the domain the details are for.

string format: hostname
>= 26 characters <= 1024 characters
firstSeenDate
FirstSeenDate

Date the domain was seen the first time (data was collected for the site)

string format: int64
<= 1024 characters
latestSeenDate
latestSeenDate

Date the domain was seen the latest time (last time data was collected for the site)

string format: int64
<= 1024 characters
locations
Locations

List of location -> scripts data Location will returned only when risk filter is applied.

Array<object>
Location

Location scripts pair.

object
associatedScripts
AssociatedScripts

Scripts found at the location.

Array<string>
location
Location

Location of the scripts.

string
>= 4 characters <= 1024 characters
riskReason
RiskReasons

List of risk reasons in a human readable form.

Array<string>
riskScore
ReputationScore

Domain reputation score - the bigger the better.

integer format: int32
status
Status

Human readable status description.

string
>= 17 characters <= 1024 characters
location_list
location_list

“location URL -> protection flag” map.

object
next_page_token
next_page_token

Opaque value passed back alone with the additional calls. All filtering will stay the same.

string
<= 1024 characters
page_number
page_number

One-indexed page number (starts from 1), page_number and page_size are optional when page_token is specified.

integer format: int32
page_size
page_size

The maximum number of domains to return per page.

integer format: int32
total_count
total_count

Total count of domains available at time of query, and subject to change across queries.

integer format: int32
total_pages
total_pages

Total number of pages available depending upon requested page_size.

integer format: int32
Examplegenerated
{
"customer": {
"transactionCount": 1
},
"domain_summary": {
"actionNeededCount": {
"count": 1,
"lastUpdated": "example"
},
"allowedDomains": {
"count": 1,
"lastUpdated": "example"
},
"mitigatedDomains": {
"count": 1,
"lastUpdated": "example"
},
"totalDomains": {
"count": 1,
"lastUpdated": "example"
}
},
"domains_list": [
{
"actionDate": "example",
"category": "example",
"domain": "example",
"firstSeenDate": "example",
"latestSeenDate": "example",
"locations": [
{
"associatedScripts": [
"example"
],
"location": "example"
}
],
"riskReason": [
"example"
],
"riskScore": 1,
"status": "example"
}
],
"location_list": {},
"next_page_token": "example",
"page_number": 1,
"page_size": 1,
"total_count": 1,
"total_pages": 1
}

Returned when operation is not authorized.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when there is no permission to access resource.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when resource is not found.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation on resource is conflicting with current value.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation has been rejected as it is happening too frequently.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server encountered an error in processing API.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when service is unavailable temporarily.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server timed out processing request.

Media typeapplication/json
string format: string
Examplegenerated
example