getInitScriptList
    • PDF

    getInitScriptList

    • PDF

    기사 요약

    개요

    사용자가 생성한 초기화스크립트 리스트를 조회합니다.

    요청

    응답

    응답 바디

    예시

    요청 예시

    GET {SERVER_API_URL}/getInitScriptList
    

    응답 예시

    <getInitScriptListResponse>
      <requestId>a51d3a67-e41c-4784-89f9-081f1ffba5e2</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>4</totalRows>
      <initScriptList>
        <initScript>
          <initScriptNo>1261</initScriptNo>
          <initScriptName>windows-init2</initScriptName>
          <createDate>2019-10-16T12:08:29+0900</createDate>
          <initScriptContent>test2</initScriptContent>
          <osType>
            <code>LNX</code>
            <codeName>LINUX</codeName>
          </osType>
        </initScript>
        <initScript>
          <initScriptNo>1260</initScriptNo>
          <initScriptName>windows-init1</initScriptName>
          <createDate>2019-10-16T12:08:20+0900</createDate>
          <initScriptContent>test1</initScriptContent>
          <osType>
            <code>WND</code>
            <codeName>WINDOWS</codeName>
          </osType>
        </initScript>
        <initScript>
          <initScriptNo>1259</initScriptNo>
          <initScriptName>linux-init2</initScriptName>
          <createDate>2019-10-16T12:08:01+0900</createDate>
          <initScriptContent>#!/bin/sh
    yum install -y httpd
    echo &apos;Hello World2&apos; &gt; /var/www/html/index.html
    chkconfig --level 2345 httpd on</initScriptContent>
          <osType>
            <code>LNX</code>
            <codeName>LINUX</codeName>
          </osType>
        </initScript>
        <initScript>
          <initScriptNo>1258</initScriptNo>
          <initScriptName>linux-init1</initScriptName>
          <createDate>2019-10-16T12:07:44+0900</createDate>
          <initScriptContent>#!/bin/sh
    yum install -y httpd
    echo &apos;Hello World&apos; &gt; /var/www/html/index.html
    chkconfig --level 2345 httpd on</initScriptContent>
          <osType>
            <code>LNX</code>
            <codeName>LINUX</codeName>
          </osType>
        </initScript>
      </initScriptList>
    </getInitScriptListResponse>
    

    오류 코드

    아래 오류 코드는 이 액션(Action)에서 특징적으로 발생하는 오류입니다. 공통적으로 발생하는 오류에 대한 상세한 설명은 NAVER Cloud Platform API를 참고해주세요

    HTTP Response Code리턴 코드리턴 메시지
    40010400Invalid authentication key. Please check authentication key or input type and try again.
    40010401Input authentication message does not coincide.
    40010402Authentication message input time has been exceeded. Please try again.
    40010403Session has been expired.
    40010404This is not authenticated session.

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

    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.