Cloud APIs
OrderedDataStoresApi_V2
updateOrderedDataStoreEntry

updateOrderedDataStoreEntry

Updates an entry in an ordered data store.

Parameters

NameTypeDescription
universeIdUniverseIdThe ID of the universe to update the entry in.
dataStoreIdDataStoreIdThe ID (name) of the data store to update the entry in.
scopeScopeThe scope of the data store entry to update.
entryIdEntryIdthe ID (name) of the entry to update.

Example

const { data: entry } = await OrderedDataStoresApi_V2.updateOrderedDataStoreEntry({
  universeId: 5097539509,
  dataStoreId: "PointsStore",
  scope: "global",
  entryId: "45348281",
  newEntryValue: 45,
}); 

Example Data

{
  path: "universes/5097539509/ordered-data-stores/PointsStore/scopes/global/entries/45348281",
  value: 45,
  id: "45348281",
} 

Endpoint

PATCH /v2/universes/{universeId}/ordered-data-stores/{dataStoreId}/scopes/{scope}/entries/{entryId}