getInitScriptList
    • PDF

    getInitScriptList

    • PDF

    Article Summary

    概要

    ユーザーが作成した初期化スクリプトリストを照会します。

    リクエスト

    レスポンス

    レスポンスボディ

    例示

    リクエスト例示

    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.