Instance

Atributos

pathstring
hasChildrenboolean
Solo salida
engineInstanceobject
URL base

https://apis.roblox.com/cloud
El recurso 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}
Ámbitos
universe.place.instance:read
SolicitudParámetros de ruta
universestring
Obligatorio
placestring
Obligatorio
instancestring
Obligatorio
Respuesta
RespuestaInstanceMetadatos
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}
Ámbitos
universe.place.instance:write
SolicitudParámetros de ruta
universestring
Obligatorio
placestring
Obligatorio
instancestring
Obligatorio
Parámetros de consulta
updateMaskstring
Solicitar cuerpoInstance
Respuesta
RespuestaInstanceMetadatos
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
Ámbitos
universe.place.instance:read
SolicitudParámetros de ruta
universestring
Obligatorio
placestring
Obligatorio
instancestring
Obligatorio
Parámetros de consulta
maxPageSizenumber
pageTokenstring
Respuesta
Respuesta
nextPageTokenstring
Metadatos
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}'