Get a server's DDoS protection
Overview
Lists the server's protected addresses and protection details. addresses maps address IDs to IP addresses. Other endpoints in this section use the IP address itself. Send ?address_id= to select an address; otherwise, the first is used. If protection details are unavailable, the address list is still returned, error explains the problem, and other details are empty.
Permissions
Requires the network.read (View networking) permission for the selected team. Resources outside that team return 404.
Authorization
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Send it as Bearer <token>.
Path parameters
The server uuid short
Query parameters
The address id ID.
Response 200
application/jsonThe record, as a JSON object. There is no envelope.
The address ID, or null when no protected address is selected.
That address itself, as the per-address endpoints name it.
Every address on this server that DDoS protection covers.
Show child attributesHide child attributes
The address ID.
The address itself, as the per-address endpoints name it.
The value of settings.
Show child attributesHide child attributes
The value of symmetrical.
The value of symmetrical_basic.
The value of allow_egress.
How long, in minutes, an attack is considered ongoing.
What happens to traffic no rule matched, FILTER or DROP.
The value of discovery.
The value of auto_mitigation.
The value of profiles.
Show child attributesHide child attributes
The id ID.
The value of protocol.
The value of min_dst_port.
The value of max_dst_port.
The value of preset.
Show child attributesHide child attributes
The id ID.
The name shown to customers.
The value of protocol.
Optional notes about the request.
The provider's own timestamps, in the provider's own format. Kept as strings and parsed where they are rendered: the provider does not promise anything this side could safely read as a date.
The date and time for updated at, in UTC.
The value of presets.
Show child attributesHide child attributes
The id ID.
The name shown to customers.
The value of protocol.
An optional description shown to customers.
What the preset does with matching traffic, FILTER or DROP.
The value of filter.
Show child attributesHide child attributes
The filter id ID.
The name shown to customers.
The id ID.
What went wrong, when the filtering could not be read.
Errors
- 401
- The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- 403
- Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- 404
- The resource was not found in the selected team. Resources in another account or team also return 404.
- 429
- Too many requests. The
Retry-Afterheader says how many seconds to wait. Limits are per account, so several keys on one account share them.
Still stuck? Contact our team
View as Markdown