For example, when I perform a local batch delete operation request on the file resources of qiniu, after the request operation is complete, the information that qiniu returns to me includes code, data, error, and other information. I would like to ask: (1) will it return information such as key or hash? (2) The returned information is related to the deleted text... for example:
When I perform a local batch delete operation request on the file resources of qiniu, the information that qiniu returns to me after the request operation is completed contains information such as code and data and error. I would like to ask:
(1) will it return information such as key or hash?
(2) Does the returned information correspond to the order of deleted files? For example, if I delete two records, the first record does not exist in qiniu space, and the second record exists, qiniu should return the first response code 612 and related error information, the second response code is 200.
The returned information is in the following format:
{"Results": [{"code": 200}, {"code": 612, "data": {"error ": "no such file or directory" }}], null]}
Reply content:
For example:
When I perform a local batch delete operation request on the file resources of qiniu, the information that qiniu returns to me after the request operation is completed contains information such as code and data and error. I would like to ask:
(1) will it return information such as key or hash?
(2) Does the returned information correspond to the order of deleted files? For example, if I delete two records, the first record does not exist in qiniu space, and the second record exists, qiniu should return the first response code 612 and related error information, the second response code is 200.
The returned information is in the following format:
{"Results": [{"code": 200}, {"code": 612, "data": {"error ": "no such file or directory" }}], null]}
The delete operation does not return information such as key or hash. When you perform the delete operation, the time consumed for searching for a file is different from that for searching for a file that does not exist, which may result in a slightly different order of returned information, we recommend that you use the list interface to list all objects, check the list with the deleted array, and then delete the objects, or obtain the files that do not exist.