program_mod

program_mod

  • 사용자가 정의했던 파일 채널에 대한 내용을 수정하여 API 서버에 보냅니다.

API Response

200 OK
{"result_code":0,"result_msg":"SUCCESS", ...}

Body

  • result code 와 result message 별 설명은 다음과 같습니다.

key
value
설명

result_code

0

성공

10000~19999

API Server Error

20000~20399

API Data Error

20400~20499

API DB Error

31000~31999

채널 조건 Error

32000~32999

스케줄 조건 Error

스케줄에 할당된 파일 채널을 수정

post

Manager의 스케줄에 할당된 파일 채널을 수정합니다.

Path parameters
channel_idstringRequired

스케줄 설정을 적용하려는 대상 채널의 고유 식별 자

Body
Responses
200

Successful operation

application/json
post
/program_mod/{channel_id}
POST /program_mod/{channel_id} HTTP/1.1
Host: solrtmp.solbox.com:8080
Content-Type: application/json
Accept: */*
Content-Length: 164

{
  "programs": [
    {
      "id": "test_abcd22",
      "category": "advt",
      "type": "single",
      "sources": [
        {
          "ref": "1080p",
          "path": "/CLIP/test_1080p.mp4",
          "playtime": 60000,
          "storage": [
            "sol_1"
          ]
        }
      ]
    }
  ]
}
{
  "result_code": 0,
  "result_msg": "success"
}

Last updated