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

String

Required

입력 URI

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

jobType

String

Required

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

jobParams[ ]

String

Optional

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

미입력 시 기본값 적용

inputContentsInfo[ ]

String

Optional

각 입력에 대한 추가정보 표기

VI에서 입력 URI에 대한 부가정보를 요구할 때에만 입력

preferredAlarmPeriod

Int

Optional

알람을 주는 VI의 경우, 선호 주기 (단위: 초)

선호 주기를 정확히 맞춰주는 것을 보장하지는 않음Object

Required

See TaskContext

Request Example

Code Block
languagejson
{
  "inputUristaskContext": [ "rtsp://98.210.72.185", "rtsp://98.210.72.186" ],
  "jobType": "PeopleCounting",
  "jobParams": [ "param0", "param1" ],
  "inputContentsInfo": [ "video", "thermalVideo"]
{ 
    object (TaskContext)
  }
}

Response

Key

Type

Description

outputUrisoutputs [ ]

String

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

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

...