OrderedDataStoreEntry

Attributi

pathstring
valuenumber
idstring
Output Only
URL di base

https://apis.roblox.com/cloud
Risorsa OrderedDataStoreEntry

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

OrderedDataStoreEntry

List Ordered Data Store Entries
Beta

GET /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries
Campi
universe.ordered-data-store.scope.entry:read
RichiestaParametri percorso
universestring
Necessario
ordered-data-storestring
Necessario
scopestring
Necessario
Parametri query
maxPageSizenumber
pageTokenstring
orderBystring
filterstring
Risposta
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}'
Risposta

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

OrderedDataStoreEntry

Create Ordered Data Store Entry
Beta

POST /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries
Campi
universe.ordered-data-store.scope.entry:write
RichiestaParametri percorso
universestring
Necessario
ordered-data-storestring
Necessario
scopestring
Necessario
Parametri query
idstring
Corpo della richiestaOrderedDataStoreEntry
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" \
}'
Risposta

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

OrderedDataStoreEntry

Get Ordered Data Store Entry
Beta

GET /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
Campi
universe.ordered-data-store.scope.entry:read
RichiestaParametri percorso
universestring
Necessario
ordered-data-storestring
Necessario
scopestring
Necessario
entrystring
Necessario
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}'
Risposta

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

OrderedDataStoreEntry

Delete Ordered Data Store Entry
Beta

DELETE /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
Campi
universe.ordered-data-store.scope.entry:write
RichiestaParametri percorso
universestring
Necessario
ordered-data-storestring
Necessario
scopestring
Necessario
entrystring
Necessario
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
Beta

PATCH /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
Campi
universe.ordered-data-store.scope.entry:write
RichiestaParametri percorso
universestring
Necessario
ordered-data-storestring
Necessario
scopestring
Necessario
entrystring
Necessario
Parametri query
allowMissingboolean
Corpo della richiestaOrderedDataStoreEntry
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" \
}'
Risposta

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

OrderedDataStoreEntry

Increment Ordered Data Store Entry
Beta

POST /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}:increment
Campi
universe.ordered-data-store.scope.entry:write
RichiestaParametri percorso
universestring
Necessario
ordered-data-storestring
Necessario
scopestring
Necessario
entrystring
Necessario
Corpo della richiesta
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" \
}'
Risposta

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