Cloud APIs
OrderedDataStoresApi_V1
updateOrderedDatastoreEntry

updateOrderedDatastoreEntry

Updates the specified entry.

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.
idIdThe id of the entry.
newValueValueThe value to set the entry to.
createIfNoEntryExists?booleanThe flag to allow the creation of an entry if the entry doesn't exist. (allow_missing)

Example

const { data: updatedEntry } = await OrderedDataStoresApi_V1.updateOrderedDatastoreEntry({
  universeId: 5097539509,
  orderedDataStore: "PointsStore",
  scope: "global",
  id: "45348281",
  newValue: 58,
}); 

Example Data

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

Endpoint

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