OrderedDataStoreEntry

Attributs

pathstring
valuenumber
idstring
Sortie seule
URL de base

https://apis.roblox.com/cloud
La ressource OrderedDataStoreEntry

{
"path": "string",
"value": "number",
"id": "string"
}

OrderedDataStoreEntry

List Ordered Data Store Entries
Bêta

GET /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries
Périmètres d'application
universe.ordered-data-store.scope.entry:read
RequêteParamètres du chemin
universestring
Requis
ordered-data-storestring
Requis
scopestring
Requis
Paramètres de requête
maxPageSizenumber
pageTokenstring
orderBystring
filterstring
Réponse
nextPageTokenstring
GET /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries

curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries?maxPageSize=10&pageToken={string}&orderBy={string}&filter={string}' \
-H 'x-api-key: {your-api-key}'
Réponse

{
"orderedDataStoreEntries": [
{
"path": "string",
"value": "number",
"id": "string"
}
],
"nextPageToken": "string"
}

OrderedDataStoreEntry

Create Ordered Data Store Entry
Bêta

POST /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries
Périmètres d'application
universe.ordered-data-store.scope.entry:write
RequêteParamètres du chemin
universestring
Requis
ordered-data-storestring
Requis
scopestring
Requis
Paramètres de requête
idstring
Corps de la requêteOrderedDataStoreEntry
POST /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries

curl -L -X POST 'https://apis.roblox.com/cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries?id=my-entry' \
-H 'x-api-key: {your-api-key}' \
--data '{ \
"value": "number" \
}'
Réponse

{
"path": "string",
"value": "number",
"id": "string"
}

OrderedDataStoreEntry

Get Ordered Data Store Entry
Bêta

GET /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
Périmètres d'application
universe.ordered-data-store.scope.entry:read
RequêteParamètres du chemin
universestring
Requis
ordered-data-storestring
Requis
scopestring
Requis
entrystring
Requis
GET /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}

curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}' \
-H 'x-api-key: {your-api-key}'
Réponse

{
"path": "string",
"value": "number",
"id": "string"
}

OrderedDataStoreEntry

Delete Ordered Data Store Entry
Bêta

DELETE /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
Périmètres d'application
universe.ordered-data-store.scope.entry:write
RequêteParamètres du chemin
universestring
Requis
ordered-data-storestring
Requis
scopestring
Requis
entrystring
Requis
DELETE /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}

curl -L -X DELETE 'https://apis.roblox.com/cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}' \
-H 'x-api-key: {your-api-key}'

OrderedDataStoreEntry

Update Ordered Data Store Entry
Bêta

PATCH /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
Périmètres d'application
universe.ordered-data-store.scope.entry:write
RequêteParamètres du chemin
universestring
Requis
ordered-data-storestring
Requis
scopestring
Requis
entrystring
Requis
Paramètres de requête
allowMissingboolean
Corps de la requêteOrderedDataStoreEntry
PATCH /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}

curl -L -X PATCH 'https://apis.roblox.com/cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}?allowMissing={boolean}' \
-H 'x-api-key: {your-api-key}' \
--data '{ \
"value": "number" \
}'
Réponse

{
"path": "string",
"value": "number",
"id": "string"
}

OrderedDataStoreEntry

Increment Ordered Data Store Entry
Bêta

POST /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}:increment
Périmètres d'application
universe.ordered-data-store.scope.entry:write
RequêteParamètres du chemin
universestring
Requis
ordered-data-storestring
Requis
scopestring
Requis
entrystring
Requis
Corps de la requête
pathstring
amountnumber
POST /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}:increment

curl -L -X POST 'https://apis.roblox.com/cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}:increment' \
-H 'x-api-key: {your-api-key}' \
--data '{ \
"amount": "number" \
}'
Réponse

{
"path": "string",
"value": "number",
"id": "string"
}