Almacenes de datos ordenados (beta)

*Este contenido se traduce usando la IA (Beta) y puede contener errores. Para ver esta página en inglés, haz clic en aquí.

OrderedDataStores

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

Lista

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

Parámetros

universeId string
Path
Obligatorio
orderedDataStore string
Path
Obligatorio
scope string
Path
Obligatorio
max_page_size number
page_token string
order_by string
filter string

Solicitud

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>'

Respuesta

200 - OK
OK
Devuelve un(a) object
entries array<object>
nextPageToken string

Permisos obligatorios

Crear

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

Parámetros

universeId string
Path
Obligatorio
orderedDataStore string
Path
Obligatorio
scope string
Path
Obligatorio
id string
Obligatorio

Solicitud

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>
}'

Respuesta

200 - OK
OK
Devuelve un(a) object
id string
path string
value number

Permisos obligatorios

Obtener

GET /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}

Parámetros

universeId string
Path
Obligatorio
orderedDataStore string
Path
Obligatorio
scope string
Path
Obligatorio
entry string
Path
Obligatorio

Solicitud

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>'

Respuesta

200 - OK
OK
Devuelve un(a) object
id string
path string
value number

Permisos obligatorios

Borrar

DELETE /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}

Parámetros

universeId string
Path
Obligatorio
orderedDataStore string
Path
Obligatorio
scope string
Path
Obligatorio
entry string
Path
Obligatorio

Solicitud

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>'

Respuesta

Permisos obligatorios

Actualizar

PATCH /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}

Parámetros

universeId string
Path
Obligatorio
orderedDataStore string
Path
Obligatorio
scope string
Path
Obligatorio
entry string
Path
Obligatorio
allow_missing boolean

Solicitud

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>
}'

Respuesta

200 - OK
OK
Devuelve un(a) object
id string
path string
value number

Permisos obligatorios

Incremento

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

Parámetros

universeId string
Path
Obligatorio
orderedDataStore string
Path
Obligatorio
scope string
Path
Obligatorio
entry string
Path
Obligatorio

Solicitud

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>
}'

Respuesta

200 - OK
OK
Devuelve un(a) object
id string
path string
value number

Permisos obligatorios

Objetos

CreateEntryRequest

Atributos

value number

Entry

Atributos

id string
path string
value number

IncrementEntryRequest

Atributos

amount number

ListEntriesResponse

Atributos

entries array<object>
nextPageToken string

UpdateEntryRequest

Atributos

value number