I have a container with blobs and a folder containing blog. Now If I use this URI,
I was expecting the output to have all the blob names under the container and the folder name alone. But to my surprise all I got is blob names. Can someone please tell me whether there is anything wrong, or should I change the query ? Thanks in advance.
Your expectation would seem realistic given the
documentation. It might be worth using some third-party storage visualization tool such as
Cloud Storage Studio to verify the "folder" structure is what you think it is.
URL for listing blobs that you're using looks fine. Here is one thing that you may want to look into the response received from Azure Storage.
You will not get a separate node for folders i.e. all folders and blobs are contained "Blobs" node. The way to differentiate between a folder & a blob is by looking for <BlobPrefix> node in the response XML. This will contain the folders
while the <Blob> node will contain the actual blob.