I have a hierarchy
my container
--images
--img01
--img02
<BlobPrefix>images</BlobPrefix>
GET /account/mycontainer
x-ms-date:Tue, 07 Feb 2017 05:38:21 GMT
x-ms-version:2016-05-31
comp:list
delimeter:/
maxresults:4
restype:container
http://account.blob.core.windows.net/mycontainer?restype=container&comp=list&delimeter=/&maxresults=4
<xml>
<blobs>
<blob><Name>images/img01</Name>
<blob><Name>images/img02</Name>
</blobs>
</xml>
<xml>
<blobs>
<BlobPrefix>
<Name>images/</Name>
</BlobPrefix >
</xml>
According to your description, I checked Delimited Blob List and tested this method on my side. To simplify this issue, I created a container and set "Container Public Access Level" to "Public read access for container and blobs". Here is the file structure of my blob container:
https://brucechen.blob.core.windows.net/brucechen?restype=container&comp=list
Result:
https://brucechen.blob.core.windows.net/brucechen?restype=container&comp=list&delimiter=%2F
Result:
According to your stringToSign
, the name of delimeter
is incorrect, you need to change it to delimiter
. For more details, you could refer to List Blobs.