实例的资源路径。
格式:universes/{universe_id}/places/{place_id}/instances/{instance_id}.
*此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按 此处。
代表数据模型实例。
实例的资源路径。
格式:universes/{universe_id}/places/{place_id}/instances/{instance_id}.
实例是否有任何子实例.
实例的属性详情.
https://apis.roblox.com
{
"path": "universes/123/places/123/instances/0123456789abcdef0123456789abcdef",
"hasChildren": true,
"engineInstance": {
"Id": "string",
"Parent": "string",
"Name": "string",
"Details": {
"Folder": {}
}
}
}
获取实例和其属性数据。
最大支持的响应数据规模为 500,000 字节。如果此限制超出,返回的 Operation 将用具有错误代码 422 的错误结果完成。
宇宙ID。.
地点ID。.
实例 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}'
更新实例的属性数据。
当更新Script实例的源属性时,最大允许属性大小是在 UTF-8 编码后的 200,000 字节。
宇宙ID。.
地点ID。.
实例 ID。.
要更新的字段列表。. 此字符串格式为 FieldMask。
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": {}
}
}
}'
列出实例的子集。
最大支持的响应数据规模为 500,000 字节。如果此限制超出,返回的 Operation 将用具有错误代码 422 的错误结果完成。
宇宙ID。.
地点ID。.
实例 ID。.
要返回的最大子实例数。服务可能返回小于此值。如果未指定,最多 200 个子程序将返回。最大值为 200;超过 200 的值将被强制为 200。.
来自以前的 ListInstanceChildrenRequest 调用的页面代币。提供这个以检索后续页面。
当页面分页时,所有其他参数提供给 ListInstanceChildrenRequest 必须匹配提供页面代币的调用。.
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}'