Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 15 Current »

Create a task.

HTTP Request

POST https://playcanapi.com/v1/tasks

Request

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

id

String

Task의 ID

serviceId

String

Task와 연결 된 Service ID

appInstanceId

String

앱 인스턴스 ID

outputs [ ]

String

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

  • No labels