プレイヤーリストの照会
    • PDF

    プレイヤーリストの照会

    • PDF

    Article Summary

    プレイヤーリストを照会します。

    リクエスト

    GET {API_URL}/players
    

    リクエストパラメータ

    フィールド名要否タイプ制約事項説明
    page_sizeNInteger10 ~ 1000ページ当たりの項目数(default: 10)
    page_noNInteger1 ~ 1000ページ番号(default: 1)
    sort_typeNStringdesc / asc作成日基準ソート(default: desc)

    レスポンス

    フィールド名タイプ説明備考
    result[] Object
    result.page_countInteger全体ページ数
    result.page_noInteger現在のページ番号
    result.page_sizeIntegerリクエストしたページ当たりの項目数
    result.totalInteger項目の総数
    result.pricingStringユーザの料金プラン(free: 無料/pay: 有料)
    result.list[] Object
    result.list.noIntegerプレイヤー番号
    result.list.nameStringプレイヤー名
    result.list.versionStringSDKプレーヤーバージョン
    result.list.access_keyStringプレイヤーアクセスキー
    result.list.updated_atString修正日時
    result.list.created_atString作成日時

    成功コード

    HttpStatusCodeCodeMessage
    200200ok

    リクエスト例

    GET /api/v1/players
    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": [ {
            "no": 3994,
             "name": "apiguide",
             "version": "latest",
             "access_key": "23c6e1b8cd62a6b0f12db7920f7336f0",
             "updated_at": "2023-04-13T01:34:13.000+00:00",
             "created_at": "2023-04-13T01:34:13.000+00:00"
        } ],
        "pagination": {
            "page_size": 10,
            "page_no": 1,
            "total": 1,
            "page_count": 1
        },
        "pricing": "pay"
    }
    

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

    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.