Cloud APIs
OrderedDataStoresApi_V2
createOrderedDataStoreEntry

createOrderedDataStoreEntry

Creates a new entry in an ordered data store.

Parameters

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

Example

const { data: entry } = await OrderedDataStoresApi_V2.createOrderedDataStoreEntry({
  universeId: 5097539509,
  dataStoreId: "PointsStore",
  scope: "global",
  entryId: "453482811",
  entryValue: 15,
}); 

Example Data

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

Endpoint

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