Retrieve the collection list against the list of search terms/keywords. By default AND operation will be applied between the search terms.
By default 50 collections will return, you can also set search offset by setting from attribute, for example for first page set from to zero and after that you set 50, 100, 150 and so on.
The Request Body must be a JSON-formatted list of collections which include the following properties.
The Response Body must be a JSON object
Bad Request
Unauthorized. Missing Authorization or AccessToken or Access Token expired
returns JSON object with error description.
{- "from": 0,
- "searchTerm": [
- "*"
], - "includeDeleted": true,
- "includeVersions": true,
- "sortBy": [
- {
- "metadataDefinitionSearchField": "lastUpdatedEpoch",
- "order": "desc"
}
], - "operation": "AND",
- "aggregations": false,
- "keywordSearchField": "filename"
}
[- {
- "hitCount": 0,
- "result": [
- {
- "collectionId": "6c921f5c-24c2-40b9-8718-3ad2d4a6be54",
- "createdEpoch": 1613773880176,
- "customerId": 1571671853455,
- "lastUpdatedEpoch": 1613773880176,
- "collectionType": "private",
- "name": "Animal Photos",
- "shared": "Y",
- "shareDocument": [
- "string"
], - "userCognitoId": "7d675ef0-f423-11e9-8071-89c0c4052141",
- "collectionDocument": [
- "58ab7b10-2c0a-4ff6-b9d4-098b4abd6175"
]
}
], - "facets": [
- { }
]
}
]