ライブカーテンの終了
    • PDF

    ライブカーテンの終了

    • PDF

    Article Summary

    Live Stationのライブカーテンを終了するための APIです。ライブカーテンのコンテンツリストの照会のために、ライブカーテンコンテンツリストの照会 APIを提供します。

    リクエスト

    POST https://livestation.apigw.ntruss.com/api/v2/channels/{channelId}/curtain/remove
    

    リクエストヘッダ

    ヘッダ名必須有無説明
    x-ncp-apigw-timestampYES- 1970年1月1日00:00:00協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表したもの
    - API Gatewayサーバとの時間差が5分以上の場合は無効なリクエストとみなす
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-iam-access-keyYESNAVERクラウドプラットフォームポータルから発行された Access Key ID値
    x-ncp-iam-access-key:{Sub Account Access Key}
    x-ncp-apigw-signature-v2YESAccess Key ID値と Secret Keyで暗号化した署名
    x-ncp-apigw-signature-v2:{API Gateway Signature}
    Content-TypeYESRequest body content typeを application/jsonに指定
    Content-Type: application/json
    x-ncp-region_codeYESリージョンコード(KR)

    レスポンス

    フィールド名タイプ説明備考
    contentObjectライブカーテンのオブジェクト
    content.contentObjectライブカーテンのコンテンツオブジェクト
    content.content.idsIntegerライブカーテンのコンテンツ ID
    content.content.insertTimeIntegerライブカーテン機能を維持する時間(単位: 分)
    content.content.responseTimeTimestampライブカーテン処理リクエストのレスポンス時間
    content.channelIdStringライブカーテンを実施するチャンネル ID
    content.isLiveCurtainBooleanライブカーテンの処理中の有無

    レスポンス例

    HTTP/1.1 200 OK
    Server: nginx
    Date: Fri, 19 Jul 2022 09:53:32 GMT
    Content-Type: application/json;charset=utf-8
    Connection: keep-alive
    Access-Control-Allow-Origin: *
    x-ncp-trace-id: 36c9k60om4p3238cpmc9gm4cj4
    
    {
      "content": {
        "content": {
          "ids": [
            1162
          ],
          "insertTime": 10,
          "responseTime": 1658230802165
        },
        "channelId": "ls-20220623115623-fHnXy",
        "isLiveCurtain": false
      }
    }
    
    

    この記事は役に立ちましたか?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.