Cloud APIs
OrderedDataStoresApi_V1
createOrderedDatastoreEntry

createOrderedDatastoreEntry

Creates a new entry with the content value provided.

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 name of the entry.
valueValueThe value of the entry.

Example

const { data: createdEntry } = await OrderedDataStoresApi_V1.createOrderedDatastoreEntry({
  universeId: 5097539509,
  orderedDataStore: "PointsStore",
  scope: "global",
  id: "45348282",
  value: 54,
}); 

Example Data

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

Endpoint

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