Initiates batch detection for user-defined skills.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Files |
array<object> |
No |
The file information. |
|
|
object |
No |
The file list. |
||
| DownloadUrl |
string |
No |
The public URL for downloading the file. The downloaded file must be a compressed package in tar.gz or zip format. |
https://test.oss-cn-hangzhou.aliyuncs.com/xxxx |
| FileName |
string |
No |
The file name. If this parameter is not specified, the file name is parsed from DownloadUrl. |
test-file |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
9FDE3D6F-26BD-5937-B0E5-8F47962B**** |
| Data |
object |
The task creation result. |
|
| RootTaskId |
string |
The ID of the root task returned after the task is submitted. |
c6e7fa8a77df6e182ac3fcf1478ab83a |
| SuccessCount |
integer |
The number of files that are uploaded. |
10 |
| FailCount |
integer |
The number of files that failed to be uploaded. |
0 |
| UploadResults |
array<object> |
The upload results. |
|
|
object |
|||
| FileHash |
string |
The SHA256 hash value of the uploaded file. |
514f44ebed1d0c1df5e16a116080b64b |
| IdentifyId |
string |
The unique ID of the uploaded file. You can use this ID to query the task result. |
1824jcadg01bsl10b |
| ErrorMsg |
string |
The error message returned when the file fails to be uploaded. |
Network error. |
| Success |
boolean |
Indicates whether the operation is successful. Valid values:
|
true |
| FileName |
string |
The name of the file. |
test-file |
Examples
Success response
JSON format
{
"RequestId": "9FDE3D6F-26BD-5937-B0E5-8F47962B****",
"Data": {
"RootTaskId": "c6e7fa8a77df6e182ac3fcf1478ab83a",
"SuccessCount": 10,
"FailCount": 0,
"UploadResults": [
{
"FileHash": "514f44ebed1d0c1df5e16a116080b64b",
"IdentifyId": "1824jcadg01bsl10b",
"ErrorMsg": "Network error.",
"Success": true,
"FileName": "test-file"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.