ライブカーテンコンテンツ情報の照会
    • PDF

    ライブカーテンコンテンツ情報の照会

    • PDF

    Article Summary

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

    リクエスト

    GET https://livestation.apigw.ntruss.com/api/v2/curtainContents/{contentId}
    
    

    リクエストヘッダ

    ヘッダ名必須有無説明
    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.idIntegerライブカーテンのコンテンツ ID
    content.registerTimeTimestampライブカーテンコンテンツ作成リクエスト時間
    content.updatedTimeTimestampライブカーテンコンテンツアップデート時間
    content.statusStringライブカーテンのコンテンツ状態CREATING,READY,PROCESSING_FAIL,DELETED
    content.fileSizeIntegerライブカーテンコンテンツファイルサイズ
    content.fileDurationIntegerライブカーテンコンテンツファイル再生時間
    content.inputArrayライブカーテンコンテンツとして作成するコンテンツの Object Storageパス(bucketName/filePath)

    レスポンス例

    HTTP/1.1 200 OK
    Server: nginx
    Date: Fri, 26 Jun 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":  { 
          "id": 1162,
          "registerTime": 1658225926965,
          "updatedTime": 1658225931573,
          "status": "READY",
          "fileSize": 23008143,
          "fileDuration": 218,
          "input": [
            "myTestBucket/testVideo2.mp4"
          ]
        }
    }
    
    

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

    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.