Retrieves the available rates for downsampling the set of log data delivered to your destination.
Retrieve downsampling rates via the following request:
api.edgecast.com
HTTP Method | Request URI |
---|---|
GET |
https://api.edgecast.com/v2/mcc/rtld/downsampling-rates |
API Gateway (api.vdms.io)
HTTP Method | Request URI |
---|---|
GET |
https://api.vdms.io/rtld/v1/downsampling-rates |
You may use either of the above endpoints. However, the API gateway endpoint requires oAuth 2.0 credentials.
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 |
api.edgecast.com Returns /v2/mcc/rtld/downsampling-rates. API Gateway (api.vdms.io) Returns /downsampling-rates. |
@type |
String |
Returns Collection. |
items |
Array |
Contains a decimal value for each available downsampling rate. |
total_items |
Integer |
Indicates the total number of downsampling rates 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/downsampling-rates 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: 152
{ "@id": "/v2/mcc/rtld/downsampling-rates", "@type": "Collection", "items": [ 0.1, 1.0, 25.0, 50.0, 75.0 ], "total_items": 5 }