Change channel CDN
- Print
- PDF
Change channel CDN
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
VOD Station provides APIs for changing the CDN integrated with a channel, and provides Get channel list API and Get channel information API for querying channels whose CDN changed.
Note
The following are precautions when changing CDNs integrated with a VOD Station channel.
- The CDN integrated with a VOD Station channel must be CDN+.
- The VOD Station channel must be stopped before changing.
Request
Request headers
Header name | Description |
---|---|
x-ncp-region_code | NAVER Cloud Platform's Region codex-ncp_region_code:{Region Code} |
x-ncp-apigw-timestamp | This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC, and the request is considered invalid if the timestamp differs from the current time by more than 5 minutesx-ncp-apigw-timestamp:{Timestamp} |
x-ncp-iam-access-key | Value of access key ID issued in the NAVER Cloud Platform portalx-ncp-iam-access-key:{Sub Account Access Key} |
x-ncp-apigw-signature-v2 | Signature encrypted with the access key ID value and secret keyx-ncp-apigw-signature-v2:{API Gateway Signature} |
Content-Type | Specify the request body content type as application/jsonContent-Type: application/json |
Request body
Field name | Required | Type | Restrictions | Default value | Description |
---|---|---|---|---|---|
cdn | Y | Object | |||
cdn.profileId | Y | Integer | Profile ID to create the Global Edge from | ||
cdn.regionType | Y | String | KOREA, JAPAN, GLOBAL | Global Edge service region |
Response
Field name | Type | Description | Note |
---|---|---|---|
content | Object | VOD Station open API response object | |
content.id | String | ID of the created channel | |
content.name | String | Channel name | |
content.channelStatus | String | Channel's current status | CREATING, READY, STOPPING, STOPPED, TERMINATING, TERMINATED, FORCE_STOPPING, FORCE_STOPPED, FORCETERMINATING, FORCETERMINATED |
content.storageBucketName | String | Name of the Object Storage bucket linked with the channel | |
content.encryptedBucketName | String | Encrypted name of the Object Storage bucket integrated with the channel, used when creating the playback URL | |
content.accessPrivateFiles | Boolean | Set access restrictions in VOD Station for private files in the bucket | |
content.segmentDuration | Integer | Segment duration of the channel (second) | |
content.segmentDurationOption | String | Channel's segment keyframe sorting options | |
content.protocolList[] | Array(String) | List of streaming protocols of the channel | |
content.createTime | Integer | The time channel creation started | |
content.readyTime | Integer | The time channel creation completed | |
content.cdnCreatedTime | Integer | The time when the CDN was automatically created in linkage to the channel | |
content.playUrl | String | CDN-based playback URL template | |
content.cdnStatus | String | Status of the CDN integrated with the channel If not auto-generated, displayed as NOT_FOUND | |
content.cdnDomain | String | Auto-generated Global Edge's domain | |
content.cdnServiceName | String | Auto-generated Global Edge's service name | |
content.cdn | Object | Auto-generated Global Edge information | |
content.cdn.cdnType | String | Auto-generated CDN type | |
content.cdn.cdnDomain | String | Auto-generated Global Edge's domain | |
content.cdn.cdnServiceName | String | Auto-generated Global Edge's service name | |
content.cdn.profileId | Integer | Auto-generated Global Edge's profile ID | |
content.cdn.regionType | String | Auto-generated Global Edge's service area | |
content.cdn.cdnInstanceNo | Integer | Auto-generated Global Edge's instance information | |
content.storageBucketStatus | String | Status of the Object Storage bucket integrated with the channel | |
content.originPath | String | Source path of the created channel. This is referred to when an independent CDN is created. | |
content.encryptionList[] | Array | Media security settings of the channel | |
content.encryptionList[].protocol | String | Media security target protocol | |
content.encryptionList[].mediaEncryptionTypeCode | Integer | Media security setting's encryption type 1: AES-128 2: Sample-AES 3: CENC | |
content.encryptionList[].drmTypeCode | Intenger | Media security setting's DRM type 21: FairPlay 22: Widevine/PlayReady | |
content.encryptionList[].drmTypeName | String | Name of the media security setting's DRM type | |
content.encryptionList[].drmContentId | String | Content ID to be requested when packaging from VOD Station | |
content.encryptionList[].systemIdList | Array(String) | DRM system ID to be requested when packaging from VOD Station | |
content.encryptionList[].drmKeyUrl | String | DRM CPIX API URL to be requested when packaging from VOD Station | |
content.drm | Object | DRM encryption settings using VOD Station | |
content.drm.siteId | String | Site ID created with One Click Multi DRM product | |
content.drm.contentId | String | Unique ID of the content to apply DRM encryption to It is used for DRM packaging and can be at least 3 characters and up to 100 characters, including English letter, numbers, "-" (hyphen), and "_" (underscore) | |
error | Object | Error response code and message | |
error.errorCode | String | Error response code | |
error.message | String | Error response message | |
error.details | String | Detailed description of the error message It responds when an API Gateway error occurs |
Examples
Request example
Response example
Was this article helpful?