Stockage de données ordonné (Beta)
*Ce contenu est traduit en utilisant l'IA (Beta) et peut contenir des erreurs. Pour consulter cette page en anglais, clique ici.
OrderedDataStores
https://apis.roblox.com/ordered-data-stores
Liste
GET /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries
Paramètres
universeId string
Path
Requis
orderedDataStore string
Path
Requis
scope string
Path
Requis
max_page_size number
page_token string
order_by string
filter string
Requête
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>'
Réponse
Autres codes de statut
Autorisations requises
Créer
POST /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries
Paramètres
universeId string
Path
Requis
orderedDataStore string
Path
Requis
scope string
Path
Requis
id string
Requis
Requête
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>
}'
Réponse
Autres codes de statut
Autorisations requises
Obtenir
GET /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Paramètres
universeId string
Path
Requis
orderedDataStore string
Path
Requis
scope string
Path
Requis
entry string
Path
Requis
Requête
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>'
Réponse
Autres codes de statut
Autorisations requises
Supprimer
DELETE /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Paramètres
universeId string
Path
Requis
orderedDataStore string
Path
Requis
scope string
Path
Requis
entry string
Path
Requis
Requête
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>'
Réponse
Autres codes de statut
Autorisations requises
Mise à jour
PATCH /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Paramètres
universeId string
Path
Requis
orderedDataStore string
Path
Requis
scope string
Path
Requis
entry string
Path
Requis
allow_missing boolean
Requête
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>
}'
Réponse
Autres codes de statut
Autorisations requises
Incrément
POST /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}:increment
Paramètres
universeId string
Path
Requis
orderedDataStore string
Path
Requis
scope string
Path
Requis
entry string
Path
Requis
Requête
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>
}'
Réponse
Autres codes de statut
Autorisations requises
Objets
CreateEntryRequest
Attributs
value number
Entry
Attributs
id string
path string
value number
IncrementEntryRequest
Attributs
amount number
ListEntriesResponse
Attributs
entries array<object>
nextPageToken string
UpdateEntryRequest
Attributs
value number