LuauExecutionSessionTask

  • 리소스 경로
  • /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

특성

pathstring
createTimestring
출력 전용
updateTimestring
출력 전용
userstring
출력 전용
stateEnum<string>
출력 전용
scriptstring
불변

result에 대해 다음 중 하나 선택 가능:

errorobject
outputobject
기본 URL

https://apis.roblox.com/cloud
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
베타

POST /cloud/v2/universes/{universe}/places/{place}/luau-execution-session-tasks
범위
universe.place.luau-execution-session:write
요청경로 매개 변수
universestring
필수
placestring
필수
요청 본문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" \
} \
}'
응답

{
"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

Get Luau Execution Session Task
베타

GET /cloud/v2/universes/{universe}/places/{place}/luau-execution-session-tasks/{luau-execution-session-task}
범위
universe.place.luau-execution-session:readuniverse.place.luau-execution-session:write
요청경로 매개 변수
universestring
필수
placestring
필수
luau-execution-session-taskstring
필수
쿼리 매개 변수
viewEnum<string>
GET /cloud/v2/universes/{universe}/places/{place}/luau-execution-session-tasks/{luau-execution-session-task}

curl -L -X GET 'https://apis.roblox.com/cloud/v2/universes/{universe}/places/{place}/luau-execution-session-tasks/{luau-execution-session-task}?view={string}' \
-H 'x-api-key: {your-api-key}'
응답

{
"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"
}
}