Available in Classic and VPC
Edit a streaming schedule for a VOD2LIVE channel. It can only be edited when the channel is in the RESERVED
status.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
PUT | /api/v2/vod/schedule/{scheduleId} |
Request headers
For information about the headers common to all Live Station APIs, see Live Station request headers.
Request path parameters
You can use the following path parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
scheduleId |
Integer | Required | Schedule ID
|
Request body
You can include the following data in the body of your request:
Field | Type | Required | Description |
---|---|---|---|
startTime |
Integer | Optional | Streaming start date and time
|
vodList |
Array | Optional | Streaming VOD list: vodList
|
vodList
The following describes vodList
.
Field | Type | Required | Description |
---|---|---|---|
bucketName |
String | Optional | Streaming VOD file storage bucket name
|
filePath |
String | Optional | Detailed path
|
Request example
The request example is as follows:
curl --location --request PUT 'https://livestation.apigw.ntruss.com/api/v2/vod/schedule/1293' \
--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 '{
"startTime": "20250820190000",
"vodList": [
{
"bucketName": "mybucket",
"filePath": "/361570-1307727-202508191329.mp4"
},
{
"bucketName": "mybucket",
"filePath": "/361570-1307674-202508191138.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.endTime |
Integer | - | Streaming end 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": 1755676618000,
"startTime": 1755684000000,
"endTime": 1755705819000,
"updatedTime": 1755677287000,
"status": "UPDATING",
"vodList": [
"/mybucket/361570-1307727-202508191329.mp4",
"/mybucket/361570-1307674-202508191138.mp4",
"/mybucket/361570-1307605-202508190911.mp4"
]
}
}