Available in Classic and VPC
Get the list of supported streaming protocols.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /api/v2/protocols |
Request headers
For information about the headers common to all VOD Station APIs, see VOD Station request headers.
Request example
The request example is as follows:
curl --location --request GET 'https://vodstation.apigw.ntruss.com/api/v2/protocols' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
This section describes the response format.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
content |
Array | - | List of streaming protocols: content |
total |
Integer | - | Total response count |
content
The following describes content
.
Field | Type | Required | Description |
---|---|---|---|
name |
String | - | Streaming protocol name
|
Response status codes
For information about the HTTP status codes common to all VOD Station APIs, see VOD Station response status codes.
Response example
The response example is as follows:
{
"content": [
{
"name": "HLS"
},
{
"name": "DASH"
}
],
"total": 2
}