@cdues Firstly, Apologies for the delay response! I am check on your query!
The behavior you are experiencing with the Azure Blob Storage REST API and LabVIEW's NI Cloud Toolkit is likely related to pagination. The XML response you provided indicates that the <Blobs />
element is empty, which typically means that no blobs were returned in the current page of results. The <NextMarker>
element contains a token that you can use to retrieve the next page of results.
Pagination is a common mechanism used in APIs to manage large result sets by dividing them into smaller pages. It allows you to retrieve a limited number of results at a time and navigate through the complete result set using the provided markers or tokens.
In your case, if you are not receiving any blob names in the first request and the <Blobs />
element is empty, it suggests that the response might be paginated, and the first page you received is empty. To retrieve all the blobs, you would need to make subsequent requests using the pagination token provided in the <NextMarker>
element.
Try to modify your LabVIEW code to handle pagination. After the initial request, you should check if the <Blobs />
element is empty and if a <NextMarker>
is provided. If so, make another request using the pagination token to retrieve the next page of results. Repeat this process until you have retrieved all the blobs.
You can extract the pagination token (NextMarker
) from the XML response and include it as a parameter in subsequent requests. This will help you retrieve the remaining blobs and ensure you get a complete list.
By implementing pagination in your code, you should be able to retrieve all the blobs from the Azure Blob Storage container consistently, regardless of the size of the result set.
Looking forward for your reply!