getInitScriptList

Prev Next

Can be used in a VPC environment.

Overview

This searches a list of initialization scripts created by the user.

Request

Request parameters

Parameter name Required Type Restrictions Description
regionCode No String Region code
You can decide the region in which the list of initialization scripts will be queried.
regionCode can be obtained through the getRegionList action.
Default: Select the first region of the getRegionList search results
initScriptNoList.N No List<String> List of initialization script numbers
You can search by filtering with an initialization script number.
initScriptNo can be obtained through the getInitScriptList action.
ex) initScriptNoList.1=1234&initScriptNoList.2=2345
initScriptName No String Initialization script name
You can search by filtering with an initialization script name.
osTypeCode No String OS type code
You can search by filtering with an OS type specified when creating the initialization script.
Options : LNX (LINUX) | WND (WINDOWS)
pageNo No Integer Page number of the paged results
The results can be paged using pageNo and pageSize.
pageSize Conditional Integer Each page size to be displayed when paging
The results can be paged using pageNo and pageSize.
It must be entered when entering pageNo.
sortedBy No String Sort target
You can sort the results search by the initialization script name.
Options : initScriptName
sortingOrder No String Sorting order
When using sortedBy, sort in ascending/descending order.
Options: ASC (ascending order) | DESC (descending order)
Default : ASC
responseFormatType No String Format type of the response results
Options : xml | json
Default : xml

Response

Response body

Example

Request Example

GET {API_URL}/getInitScriptList
?regionCode=KR
&initScriptNoList.1=***44
&initScriptName=test-***
&osTypeCode=LNX

Response Example

<getInitScriptListResponse>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <initScriptList>
    <initScript>
      <initScriptNo>***44</initScriptNo>
      <initScriptName>test-***</initScriptName>
      <createDate>2020-08-20T12:24:37+0900</createDate>
      <initScriptDescription></initScriptDescription>
      <initScriptContent></initScriptContent>
      <osType>
        <code>LNX</code>
        <codeName>LINUX</codeName>
      </osType>
    </initScript>
  </initScriptList>
</getInitScriptListResponse>