ユーザー照会
    • PDF

    ユーザー照会

    • PDF

    Article Summary

    ユーザーUIDでユーザーを照会します。

    要請

    GET https://dashboard-api.gamepot.ntruss.com/v1/api/project/{projectId}/user/{userId}
    
    項目タイプ必須かどうか説明備考
    projectIdStringOGamePot SDKの projectId
    userIdStringOGamePot SDKの userId

    要請Header

    Header名必須かどうか説明
    x-api-keyOGamePotで発行する認証key
    accept-languageX使用言語

    応答

    フィールド名タイプ説明
    statusInt結果値 (1: 成功)
    idStringユーザーID
    deletedBoolean会員削除可否醫 (true : 削除, false : 正常醫)
    store_idStringアカウント作成時に接続したストア (google...)
    countryStringユーザ 国家 コード (ISO 3166-1 基準)
    remoteipStringユーザ IP
    adidString広告 id
    deviceString機器種類(android,ios)
    networkStringユーザ接続ネットワーク(WI-FI...)
    versionStringClientのバージョン情報
    modelStringユーザ機器モデル名
    tokenStringプッシュ·トークン
    pushBooleanプッシュ同意の可否 (true : 同義, false : 非同義)
    nightBoolean야간 푸시 동의 여부 (true : 同義, false : 非同義)
    adBoolean광고성 푸시 동의 여부 (true : 同義, false : 非同義)
    memoString会員メモ
    device_idString会員デバイス ID
    createdAtString会員が生成された日付
    updatedAtString会員情報を修正した日付
    loginedAtString終接続日
    deletedAtString会員削除された日付

    例示

    要請例

    curl --request GET \
    --url https://dashboard-api.gamepot.ntruss.com/v1/api/project/12a0f2ff-xxxx-xxxx-xxxx-9c13ef02f5fs/user/h43ea8e8-xxxx-xxxx-xxxx-531a46d25eef \
    --header 'accept-language: ko' \
    --header 'x-api-key: 86dcgffae0641745432as02a8801ce5a5475f764fxxxxxxxxx'
    

    応答例

    {
      "status": 1,
      "result":{
        "id":"XXXXXXXX",
        "deleted":false,
        "store_id":"one",
        "country":"KR",
        "remoteip":"xxx.xxx.xxx.xxxx",
        "nickname":null,
        "adid":"XXXXXX-XXXX-XXXX-XXXX-XXXXXX",
        "device":"android",
        "network":"WIFI",
        "version":"11",
        "model":"SM-G977N",
        "token":"XXXXXXXX",
        "push":true,
        "push_date":{
            "on":"2023-04-21T11:22:55+09:00",
            "off":null
        },
        "night":true,
        "night_date":{
            "on":"2023-04-21T11:22:55+09:00",
            "off":"2023-04-20T11:22:58+09:00"
        },
        "ad":true,
        "memo":null,
        "device_id":"XXXXX-XXXXX-XXXXX",
        "agree":{
            "termsofuse":"Y",
            "termsofuseAt":"2023-04-21T11:22:55+09:00",
            "privacypolicy":"Y",
            "privacypolicyAt":"2023-04-21T11:22:55+09:00"
        },
        "verify":{
            "key":null,
            "updatedAt":null
        },
        "adult":null,
        "gdpr":{
            "status":4,
            "email_verified":null,
            "checked_story_category_ids":[
            "gdpr_term",
            "gdpr_privacy",
            "gdpr_push_normal",
            "gdpr_push_night"
            ]
        },
        "createdAt":"2023-04-21T11:22:55+09:00",
        "updatedAt":"2023-04-21T11:22:55+09:00",
        "loginedAt":"2023-04-21T11:22:55+09:00",
        "deletedAt":null
     }
    }
    

    エラーコード

    Gamepot Open APIリクエスト時に発生する共通エラーコードです。

    parameter説明
    statusエラーコード(1: 成功、失敗時Error code参考)
    messageエラー詳細説明
    エラーコード説明
    -1ダッシュボードにないkeyを使用した場合
    -2ダッシュボードのkeyとheaderのkeyが異なる場合
    -3ダッシュボードで削除したkeyを使用した場合
    -4ダッシュボードで未使用に処理されたkeyを使用した場合
    -5keyが切れた場合
    -6プロジェクトIDがない場合
    {
      "status": -6,
      "message": "projectId was wrong."
    }
    

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

    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.