Get Unique Data
DevelopingPOST
/api/collections/data/fetch/uniqueLast modified:Â 4 months ago
Request
Body Params application/json
collection
stringÂ
required
key
stringÂ
required
Define the Key
for which you want to fetch all the unique values
orderBy
stringÂ
optional
Select a key by which you want to sort it as. It can be the same Key
or a different one.
orderType
enum<string>Â
optional
Allowed values:
ascdesc
Example
{
"collection": "datalogs",
"key": "requestBodySize",
"orderBy": "docCreatedAt",
"orderType": "desc"
}
Request samples
Responses
Bad Request(400)
Record Not Found(404)
OK(200)
HTTP Code:Â 400
Content Type :Â JSONapplication/json
Data Schema
status
stringÂ
required
message
stringÂ
required
processingTime
numberÂ
required
processingId
stringÂ
required
Example
{
"status": "elit",
"message": "Quos harum voluptatum voluptatem. Maiores reiciendis repudiandae temporibus voluptate rem sit odit delectus error. Corporis iusto voluptate harum repudiandae.",
"processingTime": 63358319.03599033,
"processingId": "deserunt"
}
Last modified: 4 months ago