GET /data/{collectionName}/{indexName}/{indexValue}

Path parameters

  • collectionName string Required

    defines the collection on which you want to call the operation (e.g users)

  • indexName string Required

    defines the name of the index to query data on (most times you will need _id)

  • indexValue string Required

    defines the value of the index to query data on

Responses

  • 200 application/json

    success

    Hide response attribute Show response attribute object
    • * string | number | boolean | object | array Additional properties
GET /data/{collectionName}/{indexName}/{indexValue}
curl \
 --request GET 'https://api.universecloud.io/data/users/_id/64a1cc789f556f7ce46c576b' \
 --header "X-Api-Key: $API_KEY"
Response examples (200)
{
  "_id": "64a1cc789f556f7ce46c576b",
  "age": 30,
  "name": "foo bar",
  "userId": "auth0|63dfc22f977173187654321"
}