Polyv Help Center

Help Center

Delete Intelligent Subtitle Task

Updated: 2023-04-14 10:34:40

API Description

1、删除字幕任务,对应的字幕文件也会同时删除。
2、接口支持https协议

API URL

http://api.polyv.net/vod/v4/smart-subtitle/delete

Request Method

POST

API Constraints

  1. The API supports both HTTP and HTTPS. HTTPS is recommended for security. API calls have frequency limits. See details

Request Parameter Description

  • URL Parameters
Parameter Required Type Description
appId true String Live streaming appId. You can view your live streaming appId and appSecret in "Cloud Video" -> "Settings" -> "API Interface"
timestamp true Long Millisecond timestamp of the current time, valid within 30 minutes
sign true String Signature, 32-character uppercase MD5 value See MD5 signature generation rules
  • Body Parameters (JSON)
Parameter Required Type Description
taskId true String Subtitle task ID, returned when creating a subtitle task

Example

https://api.polyv.net/vod/v4/smart-subtitle/delete?timestamp=1680148356376&appId=XXXXXXXXXX&sign=7E07C6293779BAC60F95DEC2FDDPB353

Parameters:

{
    "taskId": 1000
}

Response Parameter Description

Parameter Type Description
code Integer Response status code, 200 for success, non-200 for failure See global error description
status String Response status text
requestId String Unique request identifier. If the API call fails, provide this ID to customer service for troubleshooting
success boolean true indicates successful API call, false indicates failure
data boolean Returns true on successful deletion, false on failure

Response Example

Success Example

{
    "code": 200,
    "status": "success",
    "requestId": "f813d5d2359743028b6648e54ade1bf1.52.16801666462670595",
    "data": true,
    "success": true
}

Failure Example

{
    "code": 200,
    "status": "success",
    "requestId": "f813d5d2359743028b6648e54ade1bf1.56.16801665557410585",
    "data": false,
    "success": true
}
联系客服,在线咨询
在线咨询