OrderedDataStoreEntry

Thuộc Tính

pathstring
valuenumber
idstring
Chỉ Xuất
URL Cơ Sở

https://apis.roblox.com/cloud
Tài nguyên 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
Bản Beta

GET /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries
Phạm Vi
universe.ordered-data-store.scope.entry:read
Yêu CầuTham Số Đường Dẫn
universestring
Bắt Buộc
ordered-data-storestring
Bắt Buộc
scopestring
Bắt Buộc
Tham Số Truy Vấn
maxPageSizenumber
pageTokenstring
orderBystring
filterstring
Phản Hồi
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}'
Phản Hồi

{
"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
Bản Beta

POST /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries
Phạm Vi
universe.ordered-data-store.scope.entry:write
Yêu CầuTham Số Đường Dẫn
universestring
Bắt Buộc
ordered-data-storestring
Bắt Buộc
scopestring
Bắt Buộc
Tham Số Truy Vấn
idstring
Yêu Cầu Cơ Thể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" \
}'
Phản Hồi

{
"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
Bản Beta

GET /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
Phạm Vi
universe.ordered-data-store.scope.entry:read
Yêu CầuTham Số Đường Dẫn
universestring
Bắt Buộc
ordered-data-storestring
Bắt Buộc
scopestring
Bắt Buộc
entrystring
Bắt Buộc
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}'
Phản Hồi

{
"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
Bản Beta

DELETE /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
Phạm Vi
universe.ordered-data-store.scope.entry:write
Yêu CầuTham Số Đường Dẫn
universestring
Bắt Buộc
ordered-data-storestring
Bắt Buộc
scopestring
Bắt Buộc
entrystring
Bắt Buộc
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ản Beta

PATCH /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}
Phạm Vi
universe.ordered-data-store.scope.entry:write
Yêu CầuTham Số Đường Dẫn
universestring
Bắt Buộc
ordered-data-storestring
Bắt Buộc
scopestring
Bắt Buộc
entrystring
Bắt Buộc
Tham Số Truy Vấn
allowMissingboolean
Yêu Cầu Cơ Thể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" \
}'
Phản Hồi

{
"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
Bản Beta

POST /cloud/v2/universes/{universe}/ordered-data-stores/{ordered-data-store}/scopes/{scope}/entries/{entry}:increment
Phạm Vi
universe.ordered-data-store.scope.entry:write
Yêu CầuTham Số Đường Dẫn
universestring
Bắt Buộc
ordered-data-storestring
Bắt Buộc
scopestring
Bắt Buộc
entrystring
Bắt Buộc
Yêu Cầu Cơ Thể
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" \
}'
Phản Hồi

{
"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"
}