User Guide
API (OId Version)
Calling Methods
Upload
Asset MGMT
Video MGMT
Get Video List in Batch
Edit Basic Info of Single Video
Deactivate Single Video
Activate Single Video
Delete Single Video
Audio MGMT
Material MGMT
Video Processing
Video Playback
Appendix
API (New)
Tool and SDK

Deactivate Single Video

최신 업데이트:2022-01-07 14:31:36

Description

Deactive a specific video through this interface.

Request Description

Request method POST/GET
Interface Address https://api.cloudv.haplat.net/vod/videoManage/videoBlock
If token is needed The verification token is needed

Request Parameters

Parameter Type Required Remarks
videoId string Yes The id of the video to be blocked.

Return parameter

For common return results, please refer to the Return Result.

Example

Input example

curl -X POST 
  http://api.cloudv.haplat.net/vod/videoManage/videoBlock 
  -H 'content-type: application/x-www-form-urlencoded; charset=utf-8' 
  -H "Host: api.cloudv.haplat.net" 
  <公共的头部参数>
  <自定义的头部参数>
   -d 'videoId=9B0F7BA8BCB9D056D4C24ADDBF821D10'

Notes: For the “public parameter” in the example, please refer to Common Parameters.

Error code

The following error codes are related to interface service logic, the generic error code can be found at Return Result.

Error code Description
1502 Video does not exist!
1503 videoId canot be empty
1504 videoId contains special characters
1505 You do not have the permission to deactivate the video.
1506 This video has already been deactivated.
1507 Failed to deactivate the video.
1508 Failed to deactivate the video.???
이 문서의 내용이 도움이 되었습니까?
아니오
정상적으로 제출되었습니다.피드백을 주셔서 감사합니다.앞으로도 개선을 위해 노력하겠습니다.