/
tasks.create

tasks.create

Create a task.

HTTP Request

POST https://api.playcan.video/v1/tasks

Request

Key

Type

Required

Description

Key

Type

Required

Description

serviceId

String

 

Task를 연결시킬 Service의 ID. 미입력 시 신규 Service 자동 생성 후 ID 반환

taskContext

Object

Required

See TaskContext

Request Example

{ "serviceId": "24", "taskContext": { object (TaskContext) } }

 

Response

Key

Type

Description

Key

Type

Description

id

String

Task의 ID

serviceId

String

Task와 연결 된 Service ID

appInstanceId

String

앱 인스턴스 ID

outputs [ ]

String

출력 데이터에 접근할 수 있는 URI. 앱에 따라 여러 개의 URI를 반환하는 경우도 있음