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

특정 VI의 경우 복수개의 입력이 필요할 수도 있음

type

String

Required

VI 타입 (People Counting, Face Recognition, …)

appParams [ ]

String

Optional

VI 타입에 따른 설정 파라메터

미입력 시 기본값 적용

preferredAlarmPeriod

Int

Optional

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

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

See TaskContext

Request Example

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

Response

Key

Type

Description

outputUris outputs [ ]

String

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

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

appId

String

앱 인스턴스 ID

appContexts [ ]

String

앱의 현재 컨택스트