Skip to content

Datastores Ordered (v1)

OpenCloud v1 reference for Datastores Ordered.

Base URL: https://apis.roblox.com/ordered-data-stores

MethodPathName
GET/v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entriesgetUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntries (deprecated)
POST/v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entriespostUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntries (deprecated)
GET/v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entries/:entrygetUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry (deprecated)
DELETE/v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entries/:entrydeleteUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry (deprecated)
PATCH/v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entries/:entrypatchUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry (deprecated)
POST/v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entries/:entry:incrementpostUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntryIncrement (deprecated)

getUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntries deprecated

Section titled “getUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntries deprecated”

GET /v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entries

Returns a list of entries from an ordered data store.

See: GET https://apis.roblox.com/cloud/v2/universes/{universe_id}/ordered-data-stores/{ordered_data_store_id}/scopes/{scope_id}/entries

Scopes: universe.ordered-data-store.scope.entry:read

Usage
import { fetchApi } from 'rozod';
import { getUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntries } from 'rozod/lib/opencloud/v1/datastores-ordered';
const data = await fetchApi(getUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntries, {
universeId: /* string */,
orderedDataStore: /* string */,
scope: /* string */,
max_page_size: /* integer? */,
page_token: /* string? */,
order_by: /* string? */,
filter: /* string? */
});
NameTypeRequiredDescription
universeIdstringYesThe identifier of the experience with ordered data stores that you want to access. You can find your experience’s universe ID on Creator Hub.
orderedDataStorestringYesThe name of the target ordered data store.
scopestringYesThe name of the data store scope. See Scopes.
max_page_sizeinteger?NoThe maximum number of entries to return. The service may return fewer than this value. The default value is 10. The maximum value is 100, and any input above 100 is coerced to 100.
page_tokenstring?NoA page token received from a previous List call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to List must match the call providing the page token.
order_bystring?NoThe enumeration direction. The order by default is ascending. Input a desc suffix for descending.
filterstring?NoThe range of qualifying values of entries to return. See Filters.
FieldTypeDescription
entriesobject[]See below
nextPageTokenstring

entries[] item fields:

FieldTypeDescription
pathstring
idstring
valuenumber
StatusDescription
400Bad Request: invalid orderedDataStore, scope or entry name or encoding.
403Forbidden: studio access to APIs is not allowed, incorrect API key or scope.
429Too Many Requests.

postUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntries deprecated

Section titled “postUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntries deprecated”

POST /v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entries

Creates a new entry with the content value provided.

See: POST https://apis.roblox.com/cloud/v2/universes/{universe_id}/ordered-data-stores/{ordered_data_store_id}/scopes/{scope_id}/entries

Scopes: universe.ordered-data-store.scope.entry:write

Usage
import { fetchApi } from 'rozod';
import { postUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntries } from 'rozod/lib/opencloud/v1/datastores-ordered';
const data = await fetchApi(postUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntries, {
universeId: /* string */,
orderedDataStore: /* string */,
scope: /* string */,
id: /* string */,
body: { /* ... */ }
});
NameTypeRequiredDescription
universeIdstringYesThe identifier of the experience with ordered data stores that you want to access. You can find your experience’s universe ID on Creator Hub.
orderedDataStorestringYesThe name of the ordered data store.
scopestringYesThe name of the data store scope. See Scopes.
idstringYesThe name of the entry.
FieldTypeDescription
valuenumber
FieldTypeDescription
pathstring
idstring
valuenumber
StatusDescription
400Bad Request: invalid orderedDataStore, scope or entry name or encoding.
403Forbidden: studio access to APIs is not allowed, incorrect API key or scope.
404Not found.
429Too Many Requests.

getUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry deprecated

Section titled “getUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry deprecated”

GET /v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entries/:entry

Gets and returns the specified entry.

See: GET https://apis.roblox.com/cloud/v2/universes/{universe_id}/ordered-data-stores/{ordered_data_store_id}/scopes/{scope_id}/entries/{entry_id}

Scopes: universe.ordered-data-store.scope.entry:read

Usage
import { fetchApi } from 'rozod';
import { getUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry } from 'rozod/lib/opencloud/v1/datastores-ordered';
const data = await fetchApi(getUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry, {
universeId: /* string */,
orderedDataStore: /* string */,
scope: /* string */,
entry: /* string */
});
NameTypeRequiredDescription
universeIdstringYesThe identifier of the experience with ordered data stores that you want to access. You can find your experience’s universe ID on Creator Hub.
orderedDataStorestringYesThe name of the ordered data store.
scopestringYesThe name of the data store scope. See Scopes.
entrystringYesThe entry ID.
FieldTypeDescription
pathstring
idstring
valuenumber
StatusDescription
400Bad Request: invalid orderedDataStore, scope or entry name or encoding.
403Forbidden: studio access to APIs is not allowed, incorrect API key or scope.
404Not found.
429Too Many Requests.

deleteUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry deprecated

Section titled “deleteUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry deprecated”

DELETE /v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entries/:entry

Deletes the specified entry. Unlike standard data stores, which mark entries for deletion, ordered data store entries are deleted immediately.

See: DELETE https://apis.roblox.com/cloud/v2/universes/{universe_id}/ordered-data-stores/{ordered_data_store_id}/scopes/{scope_id}/entries/{entry_id}

Scopes: universe.ordered-data-store.scope.entry:write

Usage
import { fetchApi } from 'rozod';
import { deleteUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry } from 'rozod/lib/opencloud/v1/datastores-ordered';
const data = await fetchApi(deleteUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry, {
universeId: /* string */,
orderedDataStore: /* string */,
scope: /* string */,
entry: /* string */
});
NameTypeRequiredDescription
universeIdstringYesThe identifier of the experience with ordered data stores that you want to access. You can find your experience’s universe ID on Creator Hub.
orderedDataStorestringYesThe name of the ordered data store.
scopestringYesThe name of the data store scope. See Scopes.
entrystringYesThe entry ID.

Type: unknown

StatusDescription
400Bad Request: invalid orderedDataStore, scope or entry name or encoding.
403Forbidden: Studio access to APIs is not allowed, incorrect API key or scope.
404Not found.
429Too Many Requests.

patchUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry deprecated

Section titled “patchUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry deprecated”

PATCH /v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entries/:entry

Updates an entry value and returns the updated entry.

See: PATCH https://apis.roblox.com/cloud/v2/universes/{universe_id}/ordered-data-stores/{ordered_data_store_id}/scopes/{scope_id}/entries/{entry_id}

Scopes: universe.ordered-data-store.scope.entry:write

Usage
import { fetchApi } from 'rozod';
import { patchUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry } from 'rozod/lib/opencloud/v1/datastores-ordered';
const data = await fetchApi(patchUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntry, {
universeId: /* string */,
orderedDataStore: /* string */,
scope: /* string */,
entry: /* string */,
allow_missing: /* boolean? */,
body: { /* ... */ }
});
NameTypeRequiredDescription
universeIdstringYesThe identifier of the experience with ordered data stores that you want to access. You can find your experience’s universe ID on Creator Hub.
orderedDataStorestringYesThe name of the ordered data store.
scopestringYesThe name of the data store scope. See Scopes.
entrystringYesThe entry ID.
allow_missingboolean?NoThe flag to allow the creation of an entry if the entry doesn’t exist. See Allow missing flags.

All fields are optional (PATCH partial update)

FieldTypeDescription
valuenumber
FieldTypeDescription
pathstring
idstring
valuenumber
StatusDescription
400Bad Request: invalid orderedDataStore, scope or entry name or encoding.
403Forbidden: studio access to APIs is not allowed, incorrect API key or scope.
404Not found.
409Aborted.
429Too Many Requests.

postUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntryIncrement deprecated

Section titled “postUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntryIncrement deprecated”

POST /v1/universes/:universeId/orderedDataStores/:orderedDataStore/scopes/:scope/entries/:entry:increment

Increments the value of the key by the provided amount and returns the updated entry. Known issue: Entry values can increment past the valid range and this may persist in the backend. Returned values will clamp to the valid range.

See: POST https://apis.roblox.com/cloud/v2/universes/{universe_id}/ordered-data-stores/{ordered_data_store_id}/scopes/{scope_id}/entries/{entry_id}:increment

Scopes: universe.ordered-data-store.scope.entry:write

Usage
import { fetchApi } from 'rozod';
import { postUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntryIncrement } from 'rozod/lib/opencloud/v1/datastores-ordered';
const data = await fetchApi(postUniversesUniverseIdOrderedDataStoresOrderedDataStoreScopesScopeEntriesEntryIncrement, {
universeId: /* string */,
orderedDataStore: /* string */,
scope: /* string */,
entry: /* string */,
body: { /* ... */ }
});
NameTypeRequiredDescription
universeIdstringYesThe identifier of the experience with ordered data stores that you want to access. You can find your experience’s universe ID on Creator Hub.
orderedDataStorestringYesThe name of the ordered data store.
scopestringYesThe name of the data store scope. See Scopes.
entrystringYesThe entry ID.
FieldTypeDescription
amountnumber
FieldTypeDescription
pathstring
idstring
valuenumber
StatusDescription
400Bad Request: invalid orderedDataStore, scope or entry name or encoding.
403Forbidden: studio access to APIs is not allowed, incorrect API key or scope.
404Not found.
429Too Many Requests.