When a qiniu request is sent to delete files in batches, does the returned response contain information such as the key or hash of the deleted file? What should I do if I want to obtain this information?

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.