Get a list of metadata
GET {{baseUrl}}/objectMetadata?subtenantId=<string>&filter=<string>&size=10&page=0
Get Metadata for the object.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
subtenantId | string | Specifies the search based on subtenantId. if, subtenantId is denoted as "**", it will search for data in tenants & all subtenants. | |
filter | string | (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]. | |
size | number | Specifies the number of elements in a page | |
page | number | Specifies the requested page index |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"objectMetadata":[{"name":"test1.csv","location":"Folder/test1.csv","size":15,"lastModified":"2018-10-03T09:22:36.559Z","tags":["tag1","tag3"],"storageAccount":"dlbucketname","storagePath":"data/ten=tenantname/myfolder/mysubfolder OR data/sub=subtenantId/myfolder/mysubfolder","subtenantId":"204a896c-a23a-11e9-a2a3-2a2ae2dbcce4"},{"name":"test1.csv","location":"Folder2/test1.csv","size":30,"lastModified":"2018-10-03T09:22:36.559Z","tags":["tag2"]}],"page":{"size":2,"totalElements":100,"totalPages":50,"number":2}}