Retrieves the available set of log fields for RTLD Rate Limiting.
Retrieve RTLD Rate Limiting log fields via the following request:
HTTP Method | Request URI |
---|---|
GET |
https://api.vdms.io/rtld/v1/rl/fields |
This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.
You may use either of the above endpoints. However, the API gateway endpoint requires oAuth 2.0 credentials.
Request body parameters are not required by this endpoint.
The response to the above request includes an HTTP status code, response headers, and a response body.
A status code indicates whether the request was successfully performed.
The response for this endpoint only includes standard HTTP response headers.
The response body for a successful request contains the following response elements:
Name | Data Type | Description |
---|---|---|
@id |
String |
Returns /rl/fields. |
@type |
String |
Returns Collection. |
Array of objects |
Contains the available log fields. |
|
total_items |
Integer |
Indicates the total number of log fields that were included in the response. |
The items array describes each log field using the following properties:
Name |
Data Type |
Description |
---|---|---|
category |
String |
Identifies the log field's category. |
code |
String |
Identifies a log field by its code name. Reference this code name when defining or retrieving a RTLD Rate Limiting profile. |
name |
String |
Identifies a log field by its name. |
The response body for an unsuccessful request will contain an error response that provides additional information.
A sample JSON request is shown below.
GET https://api.vdms.io/rtld/v1/rl/fields HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: api.vdms.io
A sample JSON response is shown below.
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length: 1923
{ "@id": "/rtld/v1/rl/fields", "@type": "Collection", "items": [{ "category": "Response", "code": "timestamp", "name": "Timestamp" }, { "category": "Request Header", "code": "user_agent", "name": "User Agent" }, { "category": "Request", "code": "url", "name": "URL" }, { "category": "Security Configuration", "code": "scope_name", "name": "Scope Name" }, { "category": "Security Configuration", "code": "scope_id", "name": "Scope ID" }, { "category": "Request", "code": "method", "name": "Request Method" }, { "category": "Request Header", "code": "referer", "name": "Referer" }, { "category": "Security Configuration", "code": "limit_action_type", "name": "Rate Limiting Action Type" }, { "category": "Security Configuration", "code": "limit_action_percentage", "name": "Rate Limiting Action Percentage" }, { "category": "Security Configuration", "code": "limit_id", "name": "Rate Limiting Action Limit ID" }, { "category": "Security Configuration", "code": "limit_action_duration", "name": "Rate Limiting Action Duration" }, { "category": "Request Header", "code": "host", "name": "Host" }, { "category": "Client Geography", "code": "client_country_code", "name": "Country Code" }, { "category": "Client Network", "code": "client_ip", "name": "Client IP" }, { "category": "Client Geography", "code": "client_city", "name": "City Name" }, { "category": "General", "code": "account_number", "name": "Customer AN" }, { "category": "Client Geography", "code": "client_country", "name": "Country Name" }, { "category": "Security Configuration", "code": "limit_start_timestamp", "name": "Rate Limiting Action Start Epoch" } ], "total_items": 18 }