LuauExecutionSessionTask

  • ĐƯỜNG DẪN TÀI NGUYÊN
  • /cloud/v2/universes/{universe}/places/{place}/luau-execution-session-tasks
  • /cloud/v2/universes/{universe}/places/{place}/versions/{version}/luau-execution-session-tasks
  • /cloud/v2/universes/{universe}/places/{place}/luau-execution-sessions/{luau-execution-session}/tasks
  • /cloud/v2/universes/{universe}/places/{place}/versions/{version}/luau-execution-sessions/{luau-execution-session}/tasks

Thuộc Tính

pathstring
createTimestring
Chỉ Xuất
updateTimestring
Chỉ Xuất
userstring
Chỉ Xuất
stateEnum<string>
Chỉ Xuất
scriptstring
Bất Biến

Một trong những thông tin sau đây cho result:

errorobject
outputobject
URL Cơ Sở

https://apis.roblox.com/cloud
Tài nguyên LuauExecutionSessionTask

{
"path": "universes/123/places/123/luau-execution-session-tasks/123e4567-e89b-12d3-a456-426655440000",
"createTime": "2023-07-05T12:34:56Z",
"updateTime": "2023-07-05T12:34:56Z",
"user": "string",
"state": "STATE_UNSPECIFIED",
"script": "string",
"error": {
"code": "ERROR_CODE_UNSPECIFIED",
"message": "string"
}
}

LuauExecutionSessionTask

Create Luau Execution Session Task
Bản Beta

POST /cloud/v2/universes/{universe}/places/{place}/luau-execution-session-tasks
Phạm Vi
universe.place.luau-execution-session:write
Yêu CầuTham Số Đường Dẫn
universestring
Bắt Buộc
placestring
Bắt Buộc
Yêu Cầu Cơ ThểLuauExecutionSessionTask
POST /cloud/v2/universes/{universe}/places/{place}/luau-execution-session-tasks

curl -L -X POST 'https://apis.roblox.com/cloud/v2/universes/{universe}/places/{place}/luau-execution-session-tasks' \
-H 'x-api-key: {your-api-key}' \
--data '{ \
"script": "string", \
"error": { \
"code": "ERROR_CODE_UNSPECIFIED", \
"message": "string" \
} \
}'
Phản Hồi

{
"path": "universes/123/places/123/luau-execution-session-tasks/123e4567-e89b-12d3-a456-426655440000",
"createTime": "2023-07-05T12:34:56Z",
"updateTime": "2023-07-05T12:34:56Z",
"user": "string",
"state": "STATE_UNSPECIFIED",
"script": "string",
"error": {
"code": "ERROR_CODE_UNSPECIFIED",
"message": "string"
}
}