プレイヤーバージョンリストの照会
    • PDF

    プレイヤーバージョンリストの照会

    • PDF

    記事の要約

    使用可能なプレイヤー バージョンのリストを照会する方法は以下のとおりです。

    リクエスト

    GET {API_URL}/players/versions
    

    レスポンス

    フィールド名タイプ説明備考
    result[] Object
    result.versionStringプレイヤーバージョン
    result.script_urlStringウェブ用ジャバスクリプト URL
    result.ios_urlStringiosパッケージ URL
    result.aos_urlStringaosパッケージ URL

    成功コード

    HttpStatusCodeCodeMessage
    200200ok

    リクエスト例

    GET /api/v1/players/versions
    HOST: vpe.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-timestamp:1521787414578
    x-ncp-iam-access-key:6uxz1nKkcYwUjWRG5Q1V7NsW0i5jErlu2NjBXXgy
    x-ncp-apigw-signature-v2:iJFK773KH0WwQ79PasqJ+ZGixtpDQ/abS57WGQdld2M=
    x-ncp-region_code:KR
    

    レスポンス例

    HTTP/1.1 200 OK
    Date: Fri, 26 Feb 2021 09:53:32 GMT
    Content-Type: application/json;charset=utf-8
    Connection: keep-alive
    Access-Control-Allow-Origin: *
    x-ncp-trace-id: 36c9k60om4p3238cpmc9gm4cj4
    
    {
      "code": "200",
      "message": "ok",
      "result": [
        {
          "version": "1.0.2",
          "script_url": "https://beta.player.vpe.naverncp.com/ncplayer.1.0.2.js?access_key={key}",
          "ios_url": "https://beta.player.vpe.naverncp.com/nativeSDK/ios_ncplayer_sdk.1.0.2.zip",
          "aos_url": "https://beta.player.vpe.naverncp.com/nativeSDK/aos_ncplayer_sdk.1.0.2.zip"
        },
        {
          "version": "1.0.1",
          "script_url": "https://beta.player.vpe.naverncp.com/ncplayer.1.0.1.js?access_key={key}",
          "ios_url": "https://beta.player.vpe.naverncp.com/nativeSDK/ios_ncplayer_sdk.1.0.1.zip",
          "aos_url": "https://beta.player.vpe.naverncp.com/nativeSDK/aos_ncplayer_sdk.1.0.1.zip"
        },
        {
          "version": "1.0.0",
          "script_url": "https://beta.player.vpe.naverncp.com/ncplayer.1.0.0.js?access_key={key}",
          "ios_url": "https://beta.player.vpe.naverncp.com/nativeSDK/ios_ncplayer_sdk.1.0.0.zip",
          "aos_url": "https://beta.player.vpe.naverncp.com/nativeSDK/aos_ncplayer_sdk.1.0.0.zip"
        }
      ]
    }
    

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

    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.