掲示中のお知らせ照会
    • PDF

    掲示中のお知らせ照会

    • PDF

    Article Summary

    当該コンテンツは、ローカリゼーションサービスを準備しております。早急にローカライズサービスをご提供できるよう、努めております。

    掲示中のお知らせを確認することができます。

    要請

    GET https://dashboard-api.gamepot.ntruss.com/v1/api/project/{projectId}/store/{storeID}/notice/posting
    
    項目タイプ必須かどうか説明備考
    projectIdStringOGamePot SDK의 projectId
    storeIDStringOストア ID (google,one,apple,galaxy)

    要請Header

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

    応答

    フィールド名タイプ説明
    statusInt結果値 (1: 成功)
    totalCountStringお知らせ(画像)照会(件)数
    baseUrlStringオブジェクトストレージ Bucket URL
    idString(当該画像の)固有ID
    store_idString決済ストア (google,one,apple,galaxy)
    enableBooleanお知らせの有効化可否
    urlString(クリックアクション) url
    schemeString(クリックアクション) scheme
    startDateStringお知らせ開始日
    endDateStringお知らせ終了日
    langString言語
    valueString(base Url以下)リソースアドレス
    defaultBoolean基本言語の有無

    例示

    要請例

    curl --request GET \
      --url https://dashboard-api.gamepot.ntruss.com/v1/api/project/12a0f2ff-xxxx-xxxx-xxxx-9c13ef02f5fs/store/google/notice/posting \
      --header 'accept-language: ko' \
      --header 'x-api-key: 86dcgffae064174543xxxx02a8801ce5a5xxxxxxxxxxxxx'
    
    

    応答例

    {
      "status": 1,
      "result": {
        "totalCount": 1,
        "baseUrl": "https://kr.object.ncloudstorage.com/gamepot-xxxxxxx",
        "edges": [
          {
            "node": {
              "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
              "store_id": "",
              "enable": true,
              "url": null,
              "scheme": null,
              "startDate": "Fri May 01 2020 15:21:00 GMT+0900 (Korean Standard Time)",
              "endDate": "Sun May 31 2020 18:24:00 GMT+0900 (Korean Standard Time)",
              "image": [
                {
                  "lang": "ko",
                  "value": "/notices/xxxxxxxxxxxxxxxxxxxxxxxx.png",
                  "default": true
                }
              ]
            }
          }
        ]
      }
    }
    

    エラーコード

    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.