Ordered Data Stores (Beta)
OrderedDataStores
https://apis.roblox.com/ordered-data-stores
List
GET /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries
Parameters
universeId string
Path
Required
orderedDataStore string
Path
Required
scope string
Path
Required
max_page_size number
page_token string
order_by string
filter string
Request
curl
curl --location 'https://apis.roblox.com/ordered-data-stores/v1/universes/<universeId>/orderedDataStores/<orderedDataStore>/scopes/<scope>/entries' \
--header 'x-api-key: <insert-api-key>'
Response
Other Status Codes
Required Permissions
Create
POST /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries
Parameters
universeId string
Path
Required
orderedDataStore string
Path
Required
scope string
Path
Required
id string
Required
Request
curl
curl --location 'https://apis.roblox.com/ordered-data-stores/v1/universes/<universeId>/orderedDataStores/<orderedDataStore>/scopes/<scope>/entries?id=<id>' \
--header 'x-api-key: <insert-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"value": <long>
}'
Response
Other Status Codes
Required Permissions
Get
GET /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Parameters
universeId string
Path
Required
orderedDataStore string
Path
Required
scope string
Path
Required
entry string
Path
Required
Request
curl
curl --location 'https://apis.roblox.com/ordered-data-stores/v1/universes/<universeId>/orderedDataStores/<orderedDataStore>/scopes/<scope>/entries/<entry>' \
--header 'x-api-key: <insert-api-key>'
Response
Other Status Codes
Required Permissions
Delete
DELETE /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Parameters
universeId string
Path
Required
orderedDataStore string
Path
Required
scope string
Path
Required
entry string
Path
Required
Request
curl
curl --location --request DELETE 'https://apis.roblox.com/ordered-data-stores/v1/universes/<universeId>/orderedDataStores/<orderedDataStore>/scopes/<scope>/entries/<entry>' \
--header 'x-api-key: <insert-api-key>'
Response
Other Status Codes
Required Permissions
Update
PATCH /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Parameters
universeId string
Path
Required
orderedDataStore string
Path
Required
scope string
Path
Required
entry string
Path
Required
allow_missing boolean
Request
curl
curl --location --request PATCH 'https://apis.roblox.com/ordered-data-stores/v1/universes/<universeId>/orderedDataStores/<orderedDataStore>/scopes/<scope>/entries/<entry>' \
--header 'x-api-key: <insert-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"value": <long>
}'
Response
Other Status Codes
Required Permissions
Increment
POST /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}:increment
Parameters
universeId string
Path
Required
orderedDataStore string
Path
Required
scope string
Path
Required
entry string
Path
Required
Request
curl
curl --location 'https://apis.roblox.com/ordered-data-stores/v1/universes/<universeId>/orderedDataStores/<orderedDataStore>/scopes/<scope>/entries/<entry>:increment' \
--header 'x-api-key: <insert-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"amount": <long>
}'
Response
Other Status Codes
Required Permissions
Objects
The following objects describe payloads that are accepted or returned. See each individual endpoint for more information on when these objects are used.Entry
Attributes
path string
id string
value number
IncrementEntryRequest
Attributes
amount number
UpdateEntryRequest
Attributes
value number
CreateEntryRequest
Attributes
value number
ListEntriesResponse
Attributes
entries array<object>
nextPageToken string