Retrieves a list of all encrypted HLS directories. This list may be filtered by ID or by origin type.
A request to retrieve encrypted HLS directories is described below.
HTTP Method | Request URI |
---|---|
GET |
Retrieve All Encrypted HLS Directories: https://api.edgecast.com/v2/mcc/customers/AccountNumber/httpstreaming/dcp/vod/ehlsdirectory Retrieve a Filtered List of Encrypted HLS Directories: https://api.edgecast.com/v2/mcc/customers/AccountNumber/httpstreaming/dcp/vod/ehlsdirectory?id=EHLSDirectoryID&originid=OriginTypeID |
Define the following variable when submitting the above request:
VariableA variable represents a value that must be replaced. A variable consists of either a URL segment (e.g., "0001" in /0001/) or a query string value (e.g., "3" in mediaTypes=3). | Description |
---|---|
Required |
|
Replace this variable with the system-defined ID for the desired encrypted HLS directory. The response will be filtered to only return data for the specified encrypted HLS directory. The id query string parameter should only be specified if you would like to filter the response to a specific encrypted HLS directory. Return all encrypted HLS directories by excluding query string parameters from the request. |
|
Replace this variable with one of the following values:
The originid query string parameter should only be specified if you would like to filter the response by origin type. Return all encrypted HLS directories by excluding query string parameters from the request. |
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 parameters for each encrypted HLS directory returned by this endpoint:
Name | Data Type | Description |
---|---|---|
CustomerId Deprecated |
Integer |
Please ignore this parameter. It is slated to be removed from the response. |
Id |
Integer |
Identifies an encrypted HLS directory configuration by its system-defined ID. |
OriginName |
String |
Identifies the type of origin server to which encryption will be applied. Valid values are:
|
OriginTypeId |
Integer |
Identifies the type of origin server to which encryption will be applied. Valid values are:
|
Path |
String |
Identifies the directory to which encryption will be applied for on-demand playback via Dynamic Cloud Packaging. Encryption will only be applied to playback requests for content stored in this directory and that are directed at the type of origin server identified by the OriginTypeID element. |
The response body for an unsuccessful request may contain an error parameter that provides additional information.
A sample JSON request is shown below.
GET https://api.edgecast.com/v2/mcc/customers/0001/httpstreaming/dcp/vod/ehlsdirectory 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: private
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length: 105
[{ "Id": 6375, "OriginName": "CDN", "OriginTypeId": 1, "Path": "\/videos" } ]