Instance

Atribut

pathstring
hasChildrenboolean
Hanya Output
engineInstanceobject
Base URL

https://apis.roblox.com
Resource Instance

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

Instance

Get Instance
Beta

GET /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}
Cakupan
universe.place.instance:read
PermintaanParameter Jalur
universe_idstring
Diperlukan
place_idstring
Diperlukan
instance_idstring
Diperlukan
Respons
ResponsInstanceMetadata
GET /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}

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

Instance

Update Instance
Beta

PATCH /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}
Cakupan
universe.place.instance:write
PermintaanParameter Jalur
universe_idstring
Diperlukan
place_idstring
Diperlukan
instance_idstring
Diperlukan
Parameter Kueri
updateMaskstring
Request BodyInstance
Respons
ResponsInstanceMetadata
PATCH /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}

curl -L -X PATCH 'https://apis.roblox.com/cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}?updateMask={string}' \
-H 'x-api-key: {your-api-key}' \
-H 'Content-Type: application/json' \
--data '{
"engineInstance": {
"Id": "string",
"Parent": "string",
"Name": "string",
"Details": {
"Folder": {}
}
}
}'

Instance

List Instance Children
Beta

GET /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}:listChildren
Cakupan
universe.place.instance:read
PermintaanParameter Jalur
universe_idstring
Diperlukan
place_idstring
Diperlukan
instance_idstring
Diperlukan
Parameter Kueri
maxPageSizenumber
pageTokenstring
Respons
Respons
nextPageTokenstring
Metadata
GET /cloud/v2/universes/{universe_id}/places/{place_id}/instances/{instance_id}:listChildren

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