Submits a copyright watermark extraction job.
Operation description
The digital watermark APIs are available only in the China (Shanghai) and China (Beijing) regions.
This is an asynchronous interface. After you submit a job, the service returns a job ID. The service then queues the job for asynchronous processing. You can get the final results through a callback notification or query the job status by calling the QueryCopyrightExtractJob operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:SubmitCopyrightExtractJob |
none |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Input |
object |
Yes |
The video file for watermark extraction. Note
|
|
| Type |
string |
Yes |
The type of the input file. Valid values:
|
OSS |
| Media |
string |
Yes |
Specifies the URL of an Object Storage Service (OSS) object or the ID of a media asset. OSS URLs can be in the following formats: 1. oss://bucket/object 2. http(s)://bucket.oss-[regionId].aliyuncs.com/object In these formats, |
oss://bucket/object |
| UserData |
string |
No |
The user-defined data. The maximum length is 1,024 bytes. |
123 |
| Params |
string |
No |
The watermark job parameters, specified as a JSON string.
|
{"algoType":"v2"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Data |
object |
The returned data. |
|
| JobId |
string |
The job ID. |
bfb786c63****4d80648792021eff90 |
| Message |
string |
The response message. |
ok |
| RequestId |
string |
The request ID. |
****2876-6263-4B75-8F2C-CD0F7FCF**** |
| StatusCode |
integer |
The status code. |
200 |
Examples
Success response
JSON format
{
"Data": {
"JobId": "bfb786c63****4d80648792021eff90"
},
"Message": "ok",
"RequestId": "****2876-6263-4B75-8F2C-CD0F7FCF****",
"StatusCode": 200
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.