Cloud APIs
OrderedDataStoresApi_V1
listOrderedDatastoreEntries

listOrderedDatastoreEntries

Returns a list of entries from an ordered data store.

Parameters

NameTypeDescription
universeIdUniverseIdThe identifier of the experience with ordered data stores that you want to access.
orderedDataStoreOrderedDataStoreThe name of the target ordered data store.
scopeScopeThe name of the data store scope.
maxPageSize?numberThe maximum number of entries to return. The service may return fewer than this value. The default value is 10. The maximum value is 100, and any input above 100 is coerced to 100.
orderBy?"desc" | "asc"The enumeration direction. The order by default is ascending. Input a desc suffix for descending.
filter?stringThe range of qualifying values of entries to return.
cursor?stringA page token received from a previous List call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to List must match the call providing the page token.

Example

const { data: entries } = await OrderedDataStoresApi_V1.listOrderedDatastoreEntries({
  universeId: 5097539509,
  orderedDataStore: "PointsStore",
  scope: "global",
}); 

Example Data

[
  {
    path: "universes/5097539509/orderedDataStores/PointsStore/scopes/global/entries/45348281",
    value: 54,
    id: "45348281",
  },
] 

Endpoint

GET /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries