/
tasks.read

tasks.read

Read task.

HTTP Request

GET https://api.playcan.video/v1/tasks/{id}

Path parameters

Parameters

Type

Description

Parameters

Type

Description

id

String

Task ID

offset

Integer

페이징 시작 인덱스

limit

Integer

offset으로부터 인덱스 카운트

field

String

Partial Response용 필드명

{field name}

String

검색을 위한 필드명

q

String

전역검색 쿼리 예약어

 

[Request Example]

URI example

Description

URI example

Description

https://playcanapi.com/v1/tasks/{id}

id가 {id}인 task 조회

https://playcanapi.com/v1/tasks?offset=50&limit=10

50번째부터 10개 task 조회

https://playcanapi.com/v1/tasks?field=id,serviceId,outputs

모든 task의 id, serviceId, outputs 필드만 조회

https://playcanapi.com/v1/tasks?q=servicdId%3D100&offset=10&limit=5

serviceId가 100인 모든 task 중 10번째부터 5개 조회

Response

Key

Type

Description

Key

Type

Description

id

String

Task의 ID

serviceId

String

Task와 연결 된 Service ID

appInstanceId

String

앱 인스턴스 ID

taskContext

Object

See TaskContext