Get a list of metadata

GET {{baseUrl}}/objectMetadata?subtenantId=<string>&filter=<string>&size=10&page=0

Get Metadata for the object.

Request Params

KeyDatatypeRequiredDescription
subtenantIdstringSpecifies the search based on subtenantId. if, subtenantId is denoted as "**", it will search for data in tenants & all subtenants.
filterstring(Required) Specifies the additional filtering criteria. This is encoded and is in the JSON format. 'filter' should have only one operator from the list [or,and,none]. 'none' operator must have only one property from this list [name,size,tags,lastModified,location]. 'and/or' operator must have minimum two properties from this list [name,size,tags,lastModified,location].
sizenumberSpecifies the number of elements in a page
pagenumberSpecifies the requested page index

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;objectMetadata&quot;:[{&quot;name&quot;:&quot;test1.csv&quot;,&quot;location&quot;:&quot;Folder/test1.csv&quot;,&quot;size&quot;:15,&quot;lastModified&quot;:&quot;2018-10-03T09:22:36.559Z&quot;,&quot;tags&quot;:[&quot;tag1&quot;,&quot;tag3&quot;],&quot;storageAccount&quot;:&quot;dlbucketname&quot;,&quot;storagePath&quot;:&quot;data/ten=tenantname/myfolder/mysubfolder OR data/sub=subtenantId/myfolder/mysubfolder&quot;,&quot;subtenantId&quot;:&quot;204a896c-a23a-11e9-a2a3-2a2ae2dbcce4&quot;},{&quot;name&quot;:&quot;test1.csv&quot;,&quot;location&quot;:&quot;Folder2/test1.csv&quot;,&quot;size&quot;:30,&quot;lastModified&quot;:&quot;2018-10-03T09:22:36.559Z&quot;,&quot;tags&quot;:[&quot;tag2&quot;]}],&quot;page&quot;:{&quot;size&quot;:2,&quot;totalElements&quot;:100,&quot;totalPages&quot;:50,&quot;number&quot;:2}}