Retrieves the available set of log fields for RTLD CDN.
Retrieve RTLD CDN log fields via the following request:
HTTP Method | Request URI |
---|---|
GET |
https://api.edgecast.com/v2/mcc/rtld/fields |
This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.
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 /v2/mcc/rtld/fields. |
@type |
String |
Returns Collection. |
items |
Array |
Contains the available log fields. |
code |
String |
items array Identifies a log field by its code name. Reference this code name when defining or retrieving a RTLD configuration. |
name |
String |
items array Identifies a log field by its name. |
total_items |
Integer |
Indicates the total number of log fields that were included in the response. |
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.edgecast.com/v2/mcc/rtld/fields HTTP/1.1
Authorization: TOK:12345678-1234-1234-1234-1234567890ab
Accept: application/json
Content-Type: application/json
Host: api.edgecast.com
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: 1444
{ "@id": "/v2/mcc/rtld/fields", "@type": "Collection", "items": [{ "code": "user_agent", "name": "User Agent" }, { "code": "rewritten_path", "name": "Rewritten URL Path" }, { "code": "path", "name": "URL Path" }, { "code": "timestamp", "name": "Timestamp" }, { "code": "client_ip", "name": "Client IP Address" }, { "code": "client_port", "name": "Client Port" }, { "code": "client_ip_version", "name": "Client IP Protocol Version" }, { "code": "status_code", "name": "Status Code" }, { "code": "status", "name": "Status Message" }, { "code": "cache_status", "name": "Cache Status Code" }, { "code": "bytes_out", "name": "Bytes Out" }, { "code": "write_time", "name": "Write Time" }, { "code": "file_size", "name": "File Size" }, { "code": "server_ip", "name": "Edge Server IP Address" }, { "code": "server_port", "name": "Edge Server Port" }, { "code": "method", "name": "HTTP Method" }, { "code": "host", "name": "Hostname" }, { "code": "query", "name": "Query String" }, { "code": "auth_user", "name": "User (Basic Authentication)" }, { "code": "read_time", "name": "Read Time" }, { "code": "bytes_in", "name": "Bytes In" }, { "code": "referer", "name": "Referrer" } ], "total_items": 22 }