createOrderedDatastoreEntry
Creates a new entry with the content value provided.
Parameters
Name | Type | Description |
---|---|---|
universeId | UniverseId | The identifier of the experience with ordered data stores that you want to access. |
orderedDataStore | OrderedDataStore | The name of the target ordered data store. |
scope | Scope | The name of the data store scope. |
id | Id | The name of the entry. |
value | Value | The 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