AddFilePlugin
    • PDF

    AddFilePlugin

    • PDF

    Article Summary

    개요

    File Plugin을 추가합니다. 기존에 해당 서버에 대한 File Plugin 설정이 있다면 list에 append됩니다.

    요청

    API URL

    URL: https://cw.apigw.fin-ntruss.com/cw_server/real/api/plugin/file/add
    Method: POST
    

    요청 헤더

    공통설정에 명시된 요청헤더가 필요합니다.

    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    x-ncp-dmn_cd: FIN
    x-ncp-region_code: FKR
    

    요청 바디

    파라미터명필수 여부타입제약사항설명
    configListYList<String>file 경로
    instanceNoYString서버의 instanceNo, 하나의 InstanceNo만 입력 가능
    typeNStringVPCServer, CloudHadoop, default : VPCServer상품명

    예시

    요청 예시

    POST /cw_server/real/api/plugin/file/add
    Host: cw.apigw.fin-ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    x-ncp-dmn_cd: FIN
    x-ncp-region_code: FKR
    
    Payload:
    {
        "configList": [
          "/root/insight_test/insight.pyc",
          "/root/insight_test/api/file.pyc"
        ],
        "instanceNo": "1234567",
        "type": "VPCServer"
    }
    
    

    응답 예시

    오류 없이 설정이 완료된 경우 HTTP code 200이 리턴됩니다.


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

    What's Next
    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.