OrderedDataStoreEntry

특성

pathstring
valuenumber
idstring
출력 전용
기본 URL

https://apis.roblox.com/cloud
OrderedDataStoreEntry 리소스

{
"path": "universes/123/ordered-data-stores/some-ordered-data-store-id/scopes/some-ordered-data-store-scope-id/entries/some-ordered-data-store-entry-id",
"value": "number",
"id": "string"
}

OrderedDataStoreEntry

List Ordered Data Store Entries
베타

GET /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries
범위
universe.ordered-data-store.scope.entry:read
요청경로 매개 변수
universestring
필수
ordered-data-storestring
필수
scopestring
필수
쿼리 매개 변수
maxPageSizenumber
pageTokenstring
orderBystring
filterstring
응답
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}'
응답

{
"orderedDataStoreEntries": [
{
"path": "universes/123/ordered-data-stores/some-ordered-data-store-id/scopes/some-ordered-data-store-scope-id/entries/some-ordered-data-store-entry-id",
"value": "number",
"id": "string"
}
],
"nextPageToken": "string"
}

OrderedDataStoreEntry

Create Ordered Data Store Entry
베타

POST /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries
범위
universe.ordered-data-store.scope.entry:write
요청경로 매개 변수
universestring
필수
ordered-data-storestring
필수
scopestring
필수
쿼리 매개 변수
idstring
요청 본문OrderedDataStoreEntry
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" \
}'
응답

{
"path": "universes/123/ordered-data-stores/some-ordered-data-store-id/scopes/some-ordered-data-store-scope-id/entries/some-ordered-data-store-entry-id",
"value": "number",
"id": "string"
}

OrderedDataStoreEntry

Get Ordered Data Store Entry
베타

GET /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
범위
universe.ordered-data-store.scope.entry:read
요청경로 매개 변수
universestring
필수
ordered-data-storestring
필수
scopestring
필수
entrystring
필수
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}'
응답

{
"path": "universes/123/ordered-data-stores/some-ordered-data-store-id/scopes/some-ordered-data-store-scope-id/entries/some-ordered-data-store-entry-id",
"value": "number",
"id": "string"
}

OrderedDataStoreEntry

Delete Ordered Data Store Entry
베타

DELETE /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
범위
universe.ordered-data-store.scope.entry:write
요청경로 매개 변수
universestring
필수
ordered-data-storestring
필수
scopestring
필수
entrystring
필수
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
베타

PATCH /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
범위
universe.ordered-data-store.scope.entry:write
요청경로 매개 변수
universestring
필수
ordered-data-storestring
필수
scopestring
필수
entrystring
필수
쿼리 매개 변수
allowMissingboolean
요청 본문OrderedDataStoreEntry
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" \
}'
응답

{
"path": "universes/123/ordered-data-stores/some-ordered-data-store-id/scopes/some-ordered-data-store-scope-id/entries/some-ordered-data-store-entry-id",
"value": "number",
"id": "string"
}

OrderedDataStoreEntry

Increment Ordered Data Store Entry
베타

POST /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}:increment
범위
universe.ordered-data-store.scope.entry:write
요청경로 매개 변수
universestring
필수
ordered-data-storestring
필수
scopestring
필수
entrystring
필수
요청 본문
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" \
}'
응답

{
"path": "universes/123/ordered-data-stores/some-ordered-data-store-id/scopes/some-ordered-data-store-scope-id/entries/some-ordered-data-store-entry-id",
"value": "number",
"id": "string"
}