Percentage distribution of attacks by protocol used over time.
/radar/attacks/layer3/timeseries_groups/protocol
get
Radar Attacks
radar-get-attacks-layer3-timeseries-group-by-protocol
{
"business": true,
"enterprise": true,
"free": true,
"pro": true
} {
"enum": [
"com.cloudflare.api.user.read"
]
} [
{
"in": "query",
"name": "aggInterval",
"schema": {
"description": "Aggregation interval results should be returned in (for example, in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).",
"enum": [
"15m",
"1h",
"1d",
"1w"
],
"example": "1h",
"type": "string"
}
},
{
"in": "query",
"name": "name",
"schema": {
"description": "Array of names that will be used to name the series in responses.",
"example": "main_series",
"items": {
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "dateRange",
"schema": {
"description": "For example, use `7d` and `7dControl` to compare this week with the previous week. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).",
"items": {
"enum": [
"1d",
"2d",
"7d",
"14d",
"28d",
"12w",
"24w",
"52w",
"1dControl",
"2dControl",
"7dControl",
"14dControl",
"28dControl",
"12wControl",
"24wControl"
],
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "dateStart",
"schema": {
"description": "Array of datetimes to filter the start of a series.",
"example": "2023-09-01T11:41:33.782Z",
"items": {
"format": "date-time",
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "dateEnd",
"schema": {
"description": "End of the date range (inclusive).",
"example": "2023-09-01T11:41:33.782Z",
"items": {
"format": "date-time",
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "location",
"schema": {
"description": "Array of comma separated list of locations (alpha-2 country codes). Start with `-` to exclude from results. For example, `-US,PT` excludes results from the US, but includes results from PT.",
"example": "US,CA",
"items": {
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "ipVersion",
"schema": {
"description": "Filter for ip version.",
"example": "IPv4",
"items": {
"enum": [
"IPv4",
"IPv6"
],
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "normalization",
"schema": {
"default": "PERCENTAGE",
"description": "Normalization method applied. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).",
"enum": [
"PERCENTAGE",
"MIN0_MAX"
],
"example": "PERCENTAGE",
"type": "string"
}
},
{
"in": "query",
"name": "direction",
"schema": {
"default": "ORIGIN",
"description": "Together with the `location` parameter, will apply the filter to origin or target location.",
"enum": [
"ORIGIN",
"TARGET"
],
"type": "string"
}
},
{
"in": "query",
"name": "format",
"schema": {
"description": "Format results are returned in.",
"enum": [
"JSON",
"CSV"
],
"example": "json",
"type": "string"
}
}
] null {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"result": {
"properties": {
"meta": {
"type": "object"
},
"serie_0": {
"properties": {
"GRE": {
"items": {
"type": "string"
},
"type": "array"
},
"ICMP": {
"items": {
"type": "string"
},
"type": "array"
},
"TCP": {
"items": {
"type": "string"
},
"type": "array"
},
"UDP": {
"items": {
"type": "string"
},
"type": "array"
},
"timestamps": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"timestamps",
"TCP",
"UDP",
"GRE",
"ICMP"
],
"type": "object"
}
},
"required": [
"meta",
"serie_0"
],
"type": "object"
},
"success": {
"example": true,
"type": "boolean"
}
},
"required": [
"result",
"success"
],
"type": "object"
}
}
},
"description": "Successful Response"
},
"400": {
"content": {
"application/json": {
"schema": {
"properties": {
"errors": {
"items": {
"properties": {
"message": {
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"type": "array"
},
"result": {
"type": "object"
},
"success": {
"example": false,
"type": "boolean"
}
},
"required": [
"result",
"success",
"errors"
],
"type": "object"
}
}
},
"description": "Bad Request"
}
} [
{
"api_email": [],
"api_key": []
}
]