*此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下這裡

MemoryStore

代表宇宙的記憶儲存。

特性

pathstring

記憶體商店 商家存的資源路徑。

格式:universes/{universe_id}/memory-store.

基本網址

https://apis.roblox.com
MemoryStore資源

{
"path": "universes/123/memory-store"
}

MemoryStore

Flush Memory Store
Beta

POST /cloud/v2/universes/{universe_id}/memory-store:flush

异步地刷新宇宙中的所有數據結構。

範圍
universe.memory-store:flush
請求路徑參數
universe_idstring
需要

宇宙ID。.

請求主體
回應

此方法不同步且會傳回一個「Operation」,代表該操作的目前狀態。其中包含一個端點路徑,您可以輪詢以獲得實際回應和適用的中繼資料。詳情請參閱關於長期執行操作的說明文件

以下部分描述操作完成時提供的回應和中繼資料物件。

回應

中繼資料

POST /cloud/v2/universes/{universe_id}/memory-store:flush

curl -L -X POST 'https://apis.roblox.com/cloud/v2/universes/{universe_id}/memory-store:flush' \
-H 'x-api-key: {your-api-key}' \
-H 'Content-Type: application/json' \
--data '{}'