GET
/
waap
/
v1
/
domains
/
{domain_id}
/
ddos-attacks
curl --request GET \
  --url https://api.gcore.com/waap/v1/domains/{domain_id}/ddos-attacks \
  --header 'APIKey: <api-key>'
{
  "limit": 123,
  "offset": 123,
  "count": 123,
  "results": [
    {
      "start_time": "2023-11-07T05:31:56Z",
      "end_time": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

domain_id
integer
required

The domain ID

Query Parameters

ordering
enum<string>

Sort the response by given field.

Available options:
start_time,
-start_time,
end_time,
-end_time
limit
integer
default:100

Number of items to return

Required range: 0 <= x <= 100
offset
integer
default:0

Number of items to skip

Required range: 0 <= x <= 100000
start_time
string | null

Filter attacks starting from a specified date in ISO 8601 format

end_time
string | null

Filter attacks up to a specified end date in ISO 8601 format

Response

200
application/json

Successful Response

The response is of type object.