Application 생성
    • PDF

    Application 생성

    • PDF

    Article Summary

    Classic/VPC 환경에서 이용 가능합니다 .

    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 Cloud Platform API를 참고해 주십시오.

    HTTP 상태 코드에러 코드에러 메시지
    400400잘못된 요청입니다.
    400400입력 형식이 잘못 되었습니다 [scopes] : scope는 최소 1개 이상 입력해야 합니다.

    이 문서가 도움이 되었습니까?

    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.