Get working copy details

get

/workingcopies/{workingCopyId}

Return the working copy configuration.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK. A JSON object containing a working copy resource representation with multiple properties and the links array with at least the "self" link.
Body ()
Root Schema : workingcopyResource
Type: object
Show Source
Nested Schema : accessControl
Type: array
Show Source
Nested Schema : clusterNodes
Type: array
Show Source
Nested Schema : configuredDatabases
Type: array
Show Source
Nested Schema : groupsConfiguredInWorkingCopy
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 working copy by submitting a GET request on the REST resource using cURL.

curl -u restUser -X GET "https://RHP_node_name:8894/rhp-restapi/rhp/workingcopies/DB_WCopy181"

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: 845
Date:  Tue, 19 Jun 2018 14:03:23 GMT

Response Body

{
"links": [{
   "uri": "https://RHP_node_name:8894/rhp-restapi/rhp/workingcopies/DB_Wcopy181",
   "rel": "self"
  }
],
"workPath": "",
"imageName": "DB_Image1",
"workingCopyId": "DB_Wcopy181",
"complete": true,
"clusterClient": "clusterClientNodeName01",
"oracleBase": "/oracle/wcobase1",
"accessControl": ["USER:gridUser1@clusterClientNodeName01","ROLE:GH_WC_ADMIN"],
"additionalBugFixesNotInImage": "",
"additionalPatchesComparedToImage": "",
"allPatchesAvailableInHome": "",
"configuredDatabases": ["dbwc1","dbwc2"],
"goldImagePath": "",
"groupsConfiguredInWorkingCopy": ["OSDBA=svrtech","OSOPER=svrtech","OSBACKUP=svrtech","OSDG=svrtech","OSKM=svrtech","OSRAC=svrtech"],
"softwareHomePath": "/oracle/dbwc1",
"storageType": "LOCAL",
"imageTypeName": "ORACLEDBSOFTWARE",
"owner": "gridUser1@clusterClientNodeName01"
}
Back to Top