Application の作成
    • PDF

    Application の作成

    • PDF

    Article Summary

    新しい Application を作成します。

    リクエスト

    • POST /applications

    リクエスト Body

    {
        "name" : "string",
        "applicationType" : "string",
        "applicationUrl" : "string",
        "description" : "string",
        "mbrLoginAllow" : "string",
        "protocol" : "string",
        "redirectUris" : ["string"],
        "clientAuthMethod" : "string",
        "accessType" : "string",
        "grantTypes" : ["string"],
        "scopes" : ["string"],
        "accessTokenValidity" : "string",
        "refreshTokenValidity" : "string",
        "consentPage" : {
            "applicationName" : {
                "ko" : "string",
                "en" : "string",
                "ja" : "string"
            },
            "useLanguages" : ["string"],
            "defaultLanguage" : "string",
            "usePurposeDesc" : {
                "ko" : "string",
                "en" : "string",
                "ja" : "string"
            },
            "usePeriodDesc" : {
                "ko" : "string",
                "en" : "string",
                "ja" : "string"
            },
            "dataTransferAbroad" : "boolean",
            "dataTransferCountry" : {
                "ko" : "string",
                "en" : "string",
                "ja" : "string"
            },
            "dataRecipients" : {
                "ko" : "string",
                "en" : "string",
                "ja" : "string"
            },
            "dataRecipientsContact" : {
                "ko" : "string",
                "en" : "string",
                "ja" : "string"
            }
        }
    }
    
    パラメータ要否タイプ説明制約事項
    nameYStringapplication name
    applicationTypeNStringapplication Type : app, web (default:web)
    applicationUrlNStringapplication Url
    descriptionNStringapplication description
    mbrLoginAllowYStringメインアカウントのログイン可否: ALLOW, DENY
    protocolYStringApplication の protocol: OAUTH2
    redirectUrisYArray[Oauth2] redirect Uri リスト
    clientAuthMethodYString[Oauth2] auth method : client_secret_basic, client_secret_post, none
    grantTypesYArray[Oauth2] grant type リスト: authorization_code, refresh_token, implicit
    accessTypeYString[Oauth2] access type : confidential, public
    scopesYArray[Oauth2] scope リスト: profile, openid, groups
    accessTokenValidityNNumber[Oauth2] access token 満了時間 (default: 43200)
    refreshTokenValidityNNumber[Oauth2] refresh token 満了時間 (default: 2592000)
    consentPage.applicationNameYObject[ConsentPage] 提供を受ける者
    consentPage.useLanguagesYArray[ConsentPage] 使用可能な言語: ko, en, ja
    consentPage.defaultLanguageYString[ConsentPage] 基本言語
    consentPage.usePurposeDescYObject[ConsentPage] 使用目的
    consentPage.usePeriodDescYObject[ConsentPage] 使用期間
    consentPage.dataTransferAbroadYBoolean[ConsentPage] 海外移転の有無: true, false
    consentPage.dataTransferCountryNObject[ConsentPage] 海外移転国海外移転の有無が trueの場合に必須入力
    consentPage.dataRecipientsNObject[ConsentPage] 移転を受ける者海外移転の有無が trueの場合に必須入力
    consentPage.dataRecipientsContactNObject[ConsentPage] 移転を受ける者の連絡先海外移転の有無が trueの場合に必須入力

    レスポンス

    レスポンスボディ

    {
      "applicationId" : "String",
      "oauth2" : {
        "clientId" : "String",
        "clientSecret" : "String"
      }
    }
    
    パラメータタイプ説明制約事項
    applicationIdStringapplication id
    oauth2.clientIdString作成された oauth client id
    oauth2.secretString作成された oauth client secret

    エラー

    以下のエラーコードは、このアクション(Action)で発生する特徴的なエラーです。エラーレスポンス形式は、ErrorResponseをご参照ください。共通して発生するエラーに関する詳細説明は、NAVERクラウドプラットフォーム APIをご参照ください。

    HTTP status codeエラーコードエラーメッセージ
    400400不正なリクエスト

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

    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.