List Cloud Storage files, page by page.
- Effect: none. Read-only. Safe to retry with bounded backoff.
- Visibility: only files whose upload was confirmed are listed — a file with a pre-signed URL that was never completed does not appear. Members without the all-data permission see only files they uploaded.
- Filtering:
fileNamematches partially;tagIdsis an OR match; results are ordered newest first and the order cannot be changed. - Caveat: an entry in
tagInfocan be null when a tag was deleted while still attached to the file.
File type filter: 0 = image, 1 = video, 2 = application, 3 = audio, 4 = document, 5 = other.
Example:0
POST
curl -i -X POST \
http://127.0.0.1:40000/api/cloudstorage/file/page \
-H 'Content-Type: application/json' \
-d '{
"pageNo": 1,
"pageSize": 20,
"fileName": "report",
"tagIds": [
"1800000000000001"
]
}'Success
Operation request ID. This field may be present when the request passes through the API gateway.
Example:"1d4f3ea968664593860b94b35d4ebf5e"
Response
{ "code": 0, "msg": null, "requestId": "1d4f3ea968664593860b94b35d4ebf5e", "data": { "current": "1", "pages": "7", "total": "128", "dataList": [ … ] } }