ndi.cloud.api.files.getSignedURLSetAll
GETSIGNEDURLSETALL Walk every page of a document's signed URL set.
[B, ANSWER, APIRESPONSE, APIURL] = ndi.cloud.api.files.getSignedURLSetAll(CLOUDDATASETID, CLOUDDOCUMENTID)
[...] = ndi.cloud.api.files.getSignedURLSetAll(..., 'limit', N, 'maxPages', M)
Calls ndi.cloud.api.files.getSignedURLSet repeatedly, following
nextCursor until the server signals no more pages, and merges every
page's `files` map into a single struct.
For a document that references a few thousand files this is fine; for
the much larger lightsheet / spatial-transcriptomics case the async
job path (createSignedURLSetJob + waitForSignedURLSetJob) is preferred.
Inputs:
cloudDatasetID - The ID of the dataset.
cloudDocumentID - The cloud API ID of the document.
Name-Value Pairs:
'limit' (double) - Per-page limit passed to the server. Default 500.
'maxPages' (double) - Safety cap on the number of pages walked.
Default 1000. If reached, b is false and
answer.state is 'maxPagesReached'.
Outputs:
b - True if every page was fetched successfully.
answer - On success, a struct with fields:
datasetId, documentId, totalCount, pageCount,
pages, expiresAt, files.
`files` is a struct whose field names are file UIDs
and whose values are pre-signed GET URLs.
`fileInfo` is an Nx1 struct array (uid, uploaded,
size, crc32) across all pages; crc32 is '' when none
was recorded.
apiResponse - The matlab.net.http.ResponseMessage from the last page.
apiURL - The URL of the last page.
See also: ndi.cloud.api.implementation.files.GetSignedURLSetAll,
ndi.cloud.api.files.getSignedURLSet,
ndi.cloud.api.files.createSignedURLSetJob