Available in Classic and VPC
Create a streaming schedule for a VOD2LIVE channel. You can stream video files (*.mp4) uploaded to the Object Storage bucket live according to the specified start date and time. It can only be created when the channel is in the READY
status.
If schedules already exist for a channel, then you can't create additional schedules. You can register a new schedule after the scheduled streaming ends or you delete the pending schedule.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
POST | /api/v2/vod/schedule |
Request headers
For information about the headers common to all Live Station APIs, see Live Station request headers.
Request body
You can include the following data in the body of your request:
Field | Type | Required | Description |
---|---|---|---|
channelId |
String | Required | Channel ID
|
startTime |
Integer | Required | Streaming start date and time
|
vodList |
Array | Required | Streaming VOD list: vodList
|
vodList
The following describes vodList
.
Field | Type | Required | Description |
---|---|---|---|
bucketName |
String | Required | Object Storage bucket name
|
filePath |
String | Required | Detailed path
|
Request example
The request example is as follows:
curl --location --request POST 'https://livestation.apigw.ntruss.com/api/v2/vod/schedule' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'x-ncp-region_code: KR' \
--header 'Content-Type: application/json' \
--data '{
"channelId": "ls-20250820******-FdJkJ",
"startTime": "20250820200000",
"vodList": [
{
"bucketName": "mybucket",
"filePath": "/361570-1307727-202508191329.mp4"
},
{
"bucketName": "mybucket",
"filePath": "/361570-1307605-202508190911.mp4"
}
]
}'
Response
This section describes the response format.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
content |
Object | - | Response result |
content.scheduleId |
Integer | - | Schedule ID
|
content.channelId |
String | - | Channel ID |
content.createdTime |
Integer | - | Schedule creation date and time (millisecond)
|
content.startTime |
Integer | - | Streaming start date and time (millisecond)
|
content.updatedTime |
Integer | - | Schedule update date and time (millisecond)
|
content.status |
String | - | Schedule status
|
content.vodList |
Array | - | Streaming VOD list |
Response status codes
For information about the HTTP status codes common to all Live Station APIs, see Live Station response status codes.
Response example
The response example is as follows:
{
"content": {
"scheduleId": 1293,
"channelId": "ls-20250820******-FdJkJ",
"createdTime": 1755676617872,
"startTime": 1755687600000,
"updatedTime": 1755676617872,
"status": "CREATING",
"vodList": [
"/mybucket/361570-1307727-202508191329.mp4",
"/mybucket/361570-1307605-202508190911.mp4"
]
}
}