---
updatedAt: 2025-02-14T01:19:25.000Z
agentTools:
  projectIndex: https://kollus-live-jp.readme.io/llms.txt
---

# 編成情報修正

プログラムIDを通して編成情報を修正します。<br><br>アクセス可能な権限 :最高管理者

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Kollus Live API (JP)",
    "description": "\n<h3>Usage</h3>\n<ol>\n<li>Oauth2 API Specの標準に対応しています。</li>\n<li>API認証にはClient_ID, Client_Secretなどの情報が必要となります。これらの情報はKollus Live Consoleから発行することができます。</li>\n<li>このAPIページ(Swagger UI)に記載されている機能を試すには事前にKollus Live ConsoleからClientを生成する際に Redirect URLに'https://live-jp.kollus.com/api/oauth2-callback'を登録してください。</li>\n<li>Kollus Live ConsoleからClientを生成・変更する際にRedirect URLが複数存在する場合には','で区分し、複数入力することができます。</li>\n<li>Update関連APIは変更を行うフィールドのみに反映されます。\nこのAPIページ(Swagger UI)から直接テストを行う場合、変更したいフィールドではなく他のフィールドが変更される可能性があります。<br/>\nこのAPIページ(Swagger UI)からUpdate Apiテストを行うことは禁止しています。</li>\n<li>APIの呼出は1分当たり60回が最大限度です。連続でAPIを呼出す場合、最低1秒の間隔を入れてください。</li>\n</ol>\n<h4>Supported Credentials</h4>\n<ul>\n<li>Authorization Code</li>\n<li>Personal Access Token</li>\n</ul>\n<h4>Scope List</h4>\n<p>Access Tokenをリクエストする際にはScopeを明示してください。複数のScopeは' '（空白）で区分し、文字列を作ります。 ex) 'live:control live:statistics'</p>\n<ul>\n<li>live:control : ライブコンソールコントロール</li>\n<li>live:statistics : ライブ統計</li>\n</ul>\n<h4>Role List</h4>\n<p>ユーザーの役割(role)によってAPIアクセス権限が制限されます。APIページの説明に許可されたroleの範囲を記載しています。</p>\n<ul>\n<li>Owner : 最高管理者</li>\n<li>Manager : 管理者</li>\n<li>Viewer : 運用者</li>\n</ul>\n",
    "contact": {},
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api-live-jp.kollus.com/api",
      "description": "Kollus Live API"
    }
  ],
  "paths": {
    "/v1/live/service-accounts/{service_account_key}/channels/{channel_key}/programs/{program_id}": {
      "put": {
        "tags": [
          "編成管理"
        ],
        "summary": "編成情報修正",
        "description": "プログラムIDを通して編成情報を修正します。<br><br>アクセス可能な権限 :最高管理者",
        "parameters": [
          {
            "name": "service_account_key",
            "in": "path",
            "description": "サービスアカウントキー",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "channel_key",
            "in": "path",
            "description": "チャンネルキー",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "program_id",
            "in": "path",
            "description": "プログラムID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "required": [
                  "title",
                  "general_file_upload_file_keys[]",
                  "start_date"
                ],
                "properties": {
                  "title": {
                    "description": "タイトル",
                    "type": "string"
                  },
                  "wait_file_id": {
                    "description": "待機画面ファイルID",
                    "type": "integer"
                  },
                  "wait_file_duration": {
                    "description": "待機画面持続時間",
                    "type": "integer"
                  },
                  "general_file_upload_file_keys[]": {
                    "description": "コンテンツキーリスト",
                    "type": "array",
                    "items": {
                      "description": "アップロードファイルキー",
                      "type": "string"
                    }
                  },
                  "start_date": {
                    "description": "開始日付 ex)2023-12-01 01:00:00",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ApiOpenProgramSchedule"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "401": {
            "description": "Unauthenticated"
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Unprocessable entity"
          }
        },
        "security": [
          {
            "kollus_oauth2": [
              "live:control"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ApiOpenLiveMediaGeneralFile": {
        "properties": {
          "id": {
            "description": "ID",
            "type": "integer"
          },
          "title": {
            "description": "タイトル",
            "type": "string"
          },
          "upload_file_key": {
            "description": "アップロードファイルキー",
            "type": "string"
          },
          "raw_duration": {
            "description": "待ち受け画面の持続時間(ms)",
            "type": "integer"
          },
          "created_at": {
            "description": "生成日",
            "type": "string"
          },
          "updated_at": {
            "description": "修正日",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ApiOpenProgramSchedule": {
        "properties": {
          "id": {
            "description": "ID",
            "type": "integer"
          },
          "live_program_id": {
            "description": "編成ID",
            "type": "integer"
          },
          "live_media_channel_key": {
            "description": "チャンネルキー",
            "type": "string"
          },
          "title": {
            "description": "タイトル",
            "type": "string"
          },
          "wait_file": {
            "$ref": "#/components/schemas/ApiOpenLiveMediaWaitFile"
          },
          "files": {
            "$ref": "#/components/schemas/ApiOpenLiveMediaGeneralFile"
          },
          "ongoing": {
            "description": "放送進行中",
            "type": "integer"
          },
          "finished": {
            "description": "放送終了",
            "type": "integer"
          },
          "started_at": {
            "description": "放送開始時間",
            "type": "string"
          },
          "ended_at": {
            "description": "放送終了時間",
            "type": "string"
          },
          "created_at": {
            "description": "生成日",
            "type": "string"
          },
          "updated_at": {
            "description": "修正日",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ApiOpenLiveMediaWaitFile": {
        "description": "待機画面ファイル",
        "properties": {
          "id": {
            "description": "ID",
            "type": "integer"
          },
          "title": {
            "description": "待機画面",
            "type": "string"
          },
          "upload_file_key": {
            "description": "アップロードファイルキー",
            "type": "string"
          },
          "raw_duration": {
            "description": "待機画面の持続時間(ms)",
            "type": "integer"
          },
          "created_at": {
            "description": "生成日",
            "type": "string"
          },
          "updated_at": {
            "description": "修正日",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "kollus_oauth2": {
        "type": "oauth2",
        "description": "Kollus oauth2 security.",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://live-jp.kollus.com/oauth/authorize",
            "tokenUrl": "https://live-jp.kollus.com/oauth/token",
            "refreshUrl": "https://live-jp.kollus.com/token/refresh",
            "scopes": {
              "live:control": "Live Control",
              "live:statistics": "Live Statistics"
            }
          },
          "clientCredentials": {
            "tokenUrl": "https://live-jp.kollus.com/oauth/token",
            "refreshUrl": "https://live-jp.kollus.com/token/refresh",
            "scopes": {
              "live:creator": "Live Creator App",
              "platform-app": "Platform Api Actions"
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```