Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Update jobtask.

HTTP Request

PUT https://playcanapiapi.playcan.comvideo/v1/jobstasks/{id}

Path parameters

Parameters

Type

Required

Description

id

String

RequiredJob의

idTask ID

Request

Key

Type

Required

Description

inputUris [ ]taskContext

StringObject

Required

입력 URI

앱에 따라 복수개의 입력이 필요할 수도 있음

type

String

Required

앱 타입 (PoD, People Counting, Face Recognition, …)

preferredAlarmPeriod

Int

Optional

선호하는 알람 주기 (단위: 초)

서버는 설정 주기대로 알람을 주기 위해 노력함

appParams [ ]

String

Optional

앱이 입력받는 파라메터. 앱마다 형식이 다름.

미입력 시 기본값 적용

See TaskContext

Request Example

Code Block
languagejson
{
  "inputUris": [ "rtsp://98.210.72.185", "playcan://outputs/0" ],
  "type": "PeopleCounting",
  "preferredAlarmPeriod": 3,
  "appParams": {
taskContext": { 
  "annotationMode":"normal",  object   "sensibility":"5"
    // You can add more application specific parameters ...
  (TaskContext)
  }
}

Response

Key

Type

Description

outputUris outputs [ ]

String

출력 데이터에 접근할 수 있는 URI

VI 타입에 앱에 따라 여러 개의 URI를 반환하는 경우도 있음

appId

String

앱 인스턴스 ID

appContexts [ ]

String

앱의 현재 컨택스트