/datastore/meta
Success response
code
"DATASTORE-COLLECTIONS-COUNT-FETCHED"
message
"Datastore meta data has been fetched."
nCollections
- Type: Integer
- Examples:
5
totalSize
- Type: Integer representing number of bytes
- Examples:
21736981
Error response
DATASTORE-COLLECTIONS-COUNT-FETCH-FAILED
{ code: "DATASTORE-COLLECTIONS-COUNT-FETCH-FAILED", message: "An unknown error occurred while fetching datastore meta data."}
Usage
curl "https://api.grandeur.tech/datastore/meta?apiKey=${API_KEY}" -H "Authorization: ${AUTH_TOKEN}"
Output
JSON
{
"code": "DATASTORE-COLLECTIONS-COUNT-FETCHED",
"message": "Datastore meta data has been fetched.",
"nCollections": 5,
"totalSize": 21736981
}