VOD Station overview
- Print
- PDF
VOD Station overview
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
VOD Station is a service that lets you encode a number of video files saved in Object Storage in various video qualities, and stream them using the HLS/DASH protocol. You can use HTTP API to control all features of VOD Station.
Common settings
VOD Station API URL
Request headers
Header name | Description |
---|---|
x-ncp-region_code | NAVER Cloud Platform Region code (not included in the GET request) x-ncp_region_code:{Region Code} |
x-ncp-apigw-timestamp | It indicates the elapsed time in milliseconds since January 1, 1970 00:00:00 UTC Request is considered invalid if the timestamp differs from the current time by more than 5 minutes x-ncp-apigw-timestamp:{Timestamp} |
x-ncp-iam-access-key | Access key ID value issued on NAVER Cloud Platform portalx-ncp-iam-access-key:{Sub Account Access Key} |
x-ncp-apigw-signature-v2 | Signature used to encrypt the body of the above example with the secret key that maps with the access key ID HmacSHA256 is used for the HMAC encryption algorithm x-ncp-apigw-signature-v2:{API Gateway Signature} |
Content-Type | Request content type as application/json for requests that contain a request bodyContent-Type: application/json |
Authentication header
An API Gateway authentication is required to use the VOD Station API.
See NAVER Cloud Platform API for more information related to API Gateway authentication.
Create AUTHPARAMS
- AUTHPARAMS request example
Create a signature (add a new line with \n)
Create StringToSign matching the request, encrypt using SecretKey with HmacSHA256 algorithm, and encode using Base64.
This value is used as
x-ncp-apigw-signature-v2
.Request StringToSign GET /api/v2/channels?limit=10
x-ncp-apigw-timestamp={timestamp}
x-ncp-iam-access-key={accesskey}
x-ncp-apigw-signature-v2={signature}GET /api/v2/channels?limit=10
{timeStamp}
{accessKey}
Sample code
VOD Station API request configuration
VOD Station API request sample
VOD Station API Content-Type
application/json
is used for the Content-type of all data delivered through VOD Station API HTTP requests and response bodies.
Was this article helpful?