Instance

特性

pathstring
hasChildrenboolean
僅限輸出
engineInstanceobject
基本網址

https://apis.roblox.com/cloud
Instance資源

{
"path": "universes/123/places/123/instances/0123456789abcdef0123456789abcdef",
"hasChildren": true,
"engineInstance": {
"Id": "string",
"Parent": "string",
"Name": "string",
"Details": {
"Folder": null
}
}
}

Instance

Get Instance
Beta

GET /cloud/v2/universes/{universe}/places/{place}/instances/{instance}
範圍
universe.place.instance:read
請求路徑參數
universestring
需要
placestring
需要
instancestring
需要
回應
回應Instance中繼資料
GET /cloud/v2/universes/{universe}/places/{place}/instances/{instance}

curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe}/places/{place}/instances/{instance}' \
-H 'x-api-key: {your-api-key}'

Instance

Update Instance
Beta

PATCH /cloud/v2/universes/{universe}/places/{place}/instances/{instance}
範圍
universe.place.instance:write
請求路徑參數
universestring
需要
placestring
需要
instancestring
需要
查詢參數
updateMaskstring
請求主體Instance
回應
回應Instance中繼資料
PATCH /cloud/v2/universes/{universe}/places/{place}/instances/{instance}

curl -L -X PATCH 'https://apis.roblox.com/cloud/v2/universes/{universe}/places/{place}/instances/{instance}?updateMask={string}' \
-H 'x-api-key: {your-api-key}' \
--data '{ \
"engineInstance": { \
"Id": "string", \
"Parent": "string", \
"Name": "string", \
"Details": { \
"Folder": null \
} \
} \
}'

Instance

List Instance Children
Beta

GET /cloud/v2/universes/{universe}/places/{place}/instances/{instance}:listChildren
範圍
universe.place.instance:read
請求路徑參數
universestring
需要
placestring
需要
instancestring
需要
查詢參數
maxPageSizenumber
pageTokenstring
回應
回應
nextPageTokenstring
中繼資料
GET /cloud/v2/universes/{universe}/places/{place}/instances/{instance}:listChildren

curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe}/places/{place}/instances/{instance}:listChildren?maxPageSize=100&pageToken={string}' \
-H 'x-api-key: {your-api-key}'