New endpoint ListBucketObjects
Depends #1051 (closed)
Once we have basic support for buckets listing, we need a new endpoint to list the content of a bucket (named ListBucket).
It should take two parameters:
-
bucket_nameas path parameter - optionally
pathas query parameter to specify a prefix
When path is not specified, the root folders/files are listed.
The serializer should expose basic informations:
-
nameis the name of the file/folder -
typeis eitherfile|folder
The user requires a new scope CephImport to use that endpoint: If the scope is missing, the endpoint simply returns a 403
Edited by Erwan Rouchet