Display the configuration of the specified image

get

/images/{imageId}

Display the details of the gold image associated to the given image name.

Request

Supported Media Types
Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK. A JSON object containing an image resource representation with multiple properties and the links array with at least the "self" link.
Body ()
Root Schema : imageResource
Type: object
Show Source
Nested Schema : patches
Type: array
Show Source
Nested Schema : roles
Type: array
Show Source
Nested Schema : templateWithDataFiles
Type: array
Show Source
Nested Schema : templateWithoutDataFiles
Type: array
Show Source

Default Response

Unexpected error. A JSON object containing error details of the issue while executing the operation.
Body ()
Root Schema : errorResource
Type: object
Show Source
Nested Schema : errorDetails
Type: array
If multiple errors are reported they can be organized in a hierarchical structure in this array.
Show Source
Back to Top

Examples

The following example shows how to view the configuration details of a gold image by submitting a GET request on the REST resource using cURL.

curl -u restUser -X GET "https://RHP_node_name:8894/rhp-restapi/rhp/images/DB_Image1"

HTTP Status Code and Response Headers

The following shows an example of the response header.

HTTP/1.1 200
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,PATCH,OPTIONS
Access-Control-Allow-Headers: X-Requested-With, Content-Type, Content-Length, Authorization
Connection: keep-alive
Content-Type: application/json
Content-Length: 855
Date:  Tue, 19 Jun 2018 14:03:23 GM

Response Body

{
    "links": [{
        "uri": "https://RHP_node_name:8894/rhp-restapi/rhp/images/DB_Image1",
        "rel": "self"
    }],
    "homePath": "/rhp_storage/images/iDB_Image1345266/.ACFS/snaps/iDB_Image1/swhome",
    "version": "18.1.0.0.0:18.1.0.0.0",
    "imageState": "PUBLISHED",
    "imageSize": 7873,
    "patches": [""],
    "imageId": "DB_Image1",
    "roles": ["USER:gridUser1@clientClusterNodeName",
    "ROLE:OTHER",
    "ROLE:GH_IMG_PUBLISH",
    "ROLE:GH_IMG_ADMIN",
    "ROLE:GH_IMG_VISIBILITY"],
    "parentImage": "",
    "complete": true,
    "platform": "Linux_AMD64",
    "containsNonRollingPatch": false,
    "groupsConfigured": "OSDBA=svrtech,OSOPER=svrtech,OSBACKUP=svrtech,OSDG=svrtech,OSKM=svrtech,OSRAC=svrtech",
    "clientName": "aime1adc01gdf",
    "imageType": "ORACLEDBSOFTWARE",
    "owner": "gridUser1@clientClusterNodeName"
}
Back to Top