Toko Data yang Dipesan (Beta)
*Konten ini diterjemahkan menggunakan AI (Beta) dan mungkin mengandung kesalahan. Untuk melihat halaman ini dalam bahasa Inggris, klik di sini.
OrderedDataStores
https://apis.roblox.com/ordered-data-stores
Daftar
GET /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries
Parameter
universeId string
Path
Diperlukan
orderedDataStore string
Path
Diperlukan
scope string
Path
Diperlukan
max_page_size number
page_token string
order_by string
filter string
Permintaan
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>'
Respons
Kode Status lain
Buat
POST /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries
Parameter
universeId string
Path
Diperlukan
orderedDataStore string
Path
Diperlukan
scope string
Path
Diperlukan
id string
Diperlukan
CreateEntryRequest
Body
Diperlukan
Permintaan
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>
}'
Respons
Kode Status lain
Mendapatkan
GET /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Parameter
universeId string
Path
Diperlukan
orderedDataStore string
Path
Diperlukan
scope string
Path
Diperlukan
entry string
Path
Diperlukan
Permintaan
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>'
Respons
Kode Status lain
Hapus
DELETE /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Parameter
universeId string
Path
Diperlukan
orderedDataStore string
Path
Diperlukan
scope string
Path
Diperlukan
entry string
Path
Diperlukan
Permintaan
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>'
Respons
Kode Status lain
Pembaruan
PATCH /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}
Parameter
universeIdId string
Path
Diperlukan
orderedDataStore string
Path
Diperlukan
scope string
Path
Diperlukan
entry string
Path
Diperlukan
UpdateEntryRequest
Body
Diperlukan
allow_missing boolean
Permintaan
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>
}'
Respons
Kode Status lain
Meningkatkan
POST /v1/universes/{universeId}/orderedDataStores/{orderedDataStore}/scopes/{scope}/entries/{entry}:increment
Parameter
universeId string
Path
Diperlukan
orderedDataStore string
Path
Diperlukan
scope string
Path
Diperlukan
entry string
Path
Diperlukan
incrementEntryRequest
Body
Diperlukan
Permintaan
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>
}'
Respons
Kode Status lain
Objek
Objek berikut mendeskripsikan muatan yang diterima atau diberikan. Lihat masing-masing endpoint untuk mengetahui informasi selengkapnya tentang waktu penggunaan objek ini.CreateEntryRequest
Atribut
value number
Entry
Atribut
id string
path string
value number
IncrementEntryRequest
Atribut
amount number
ListEntriesResponse
Atribut
entries array<object>
nextPageToken string
UpdateEntryRequest
Atribut
value number