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
Otros códigos de estado
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
Otros códigos de estado
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
Otros códigos de estado
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
Otros códigos de estado
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
Otros códigos de estado
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
Otros códigos de estado
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