Get the boot parameters
get
/rest/{version}/configuration/bootparams
Retrieves the boot parameters.
Request
Path Parameters
-
version: string
For this release, the value is "v1.0".
Header Parameters
-
Authorization:
The value in the Authorization header must be the string "Bearer <access token>", where <access token> is a valid, unexpired token received in response to a prior /auth/token request.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml
200 Response
The boot parameters are returned as a series of name-value pairs in the data section of the response.
Nested Schema : links
Type:
objectNested Schema : messages
Type:
object400 Response
The request is malformed or missing required information.
Nested Schema : data
Type:
objectNested Schema : links
Type:
object401 Response
The client is not authorized.
Nested Schema : data
Type:
objectNested Schema : links
Type:
object404 Response
Unsupported versionId in URI.
Nested Schema : data
Type:
objectNested Schema : links
Type:
objectExamples
The following example shows how to get the boot parameters by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL
curl -X GET \
--header 'Accept: application/xml' \
--header 'Authorization: Bearer <token>' \
'https://10.0.0.2/rest/v1.0/configuration/bootparams'
Example of the Response Headers
The following shows an example of the response headers.
HTTP/1.1 200 OK Date: Tue, 07 Aug 2018 15:42:20 GMT Cache-Control: no-cache Content-Length: 1392 Content-Type: application/xml Connection: keep-alive Keep-Alive: timeout=60, max=99 Last-Modified: Tue, 07 Aug 2018 15:42:20 GMT X-Appweb-Seq: 2
Example of the Response Body
The following example shows the contents of the response body in XML format.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response>
<data>
<bootparams>
<bootparam>
<name>Boot File</name>
<value>/boot/bzImage</value>
</bootparam>
<bootparam>
<name>IP Address</name>
<value>10.0.0.1</value>
</bootparam>
<bootparam>
<name>VLAN</name>
<value/>
</bootparam>
<bootparam>
<name>Netmask</name>
<value>255.255.255.0</value>
</bootparam>
<bootparam>
<name>Gateway</name>
<value>10.0.0.10</value>
</bootparam>
<bootparam>
<name>IPv6 Address</name>
<value/>
</bootparam>
<bootparam>
<name>IPv6 Gateway</name>
<value/>
</bootparam>
<bootparam>
<name>FTP Host IP</name>
<value/>
</bootparam>
<bootparam>
<name>FTP username</name>
<value/>
</bootparam>
<bootparam>
<name>FTP password</name>
<value/>
</bootparam>
<bootparam>
<name>Flags</name>
<value/>
</bootparam>
<bootparam>
<name>Target Name</name>
<value>ORACLE</value>
</bootparam>
<bootparam>
<name>Console Device</name>
<value>VGA</value>
</bootparam>
<bootparam>
<name>Console Baudrate</name>
<value>115200</value>
</bootparam>
<bootparam>
<name>Other</name>
<value/>
</bootparam>
</bootparams>
</data>
<messages/>
<links/>
</response>