Armazenamentos de dados ordenados (Beta)
*Este conteúdo é traduzido por IA (Beta) e pode conter erros. Para ver a página em inglês, clique aqui.
OrderedDataStores
https://apis.roblox.com/ordered-data-stores
Lista
GET /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries
Parâmetros
universeId string
Path
Obrigatório
orderedDataStore string
Path
Obrigatório
scope string
Path
Obrigatório
max_page_size number
page_token string
order_by string
filter string
Solicitação
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>'
Resposta
Outros códigos de status
Permissões necessárias
Criar
POST /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries
Parâmetros
universeId string
Path
Obrigatório
orderedDataStore string
Path
Obrigatório
scope string
Path
Obrigatório
id string
Obrigatório
Solicitação
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>
}'
Resposta
Outros códigos de status
Permissões necessárias
Pegue
GET /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Parâmetros
universeId string
Path
Obrigatório
orderedDataStore string
Path
Obrigatório
scope string
Path
Obrigatório
entry string
Path
Obrigatório
Solicitação
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>'
Resposta
Outros códigos de status
Permissões necessárias
Excluir
DELETE /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Parâmetros
universeId string
Path
Obrigatório
orderedDataStore string
Path
Obrigatório
scope string
Path
Obrigatório
entry string
Path
Obrigatório
Solicitação
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>'
Resposta
Outros códigos de status
Permissões necessárias
Atualizar
PATCH /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Parâmetros
universeId string
Path
Obrigatório
orderedDataStore string
Path
Obrigatório
scope string
Path
Obrigatório
entry string
Path
Obrigatório
allow_missing boolean
Solicitação
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>
}'
Resposta
Outros códigos de status
Permissões necessárias
Incremento
POST /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}:increment
Parâmetros
universeId string
Path
Obrigatório
orderedDataStore string
Path
Obrigatório
scope string
Path
Obrigatório
entry string
Path
Obrigatório
Solicitação
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>
}'
Resposta
Outros códigos de status
Permissões necessárias
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