Retrieve a Deployed Project Revision

get

/ic/api/process/v1/targets/{targetId}/projects/{projectId}/revisions/{revision}

Retrieves the details of the specified deployed project revision, including the revision ID, process definition Id, so on.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Success. Retrieve Deployed project revision.
Body ()
Root Schema : deployedProject
Type: object

401 Response

Unauthorized

404 Response

Deployed project revision not found.

500 Response

Error in retrieving deployed project revision
Back to Top

Examples

The following example shows how to retrieve details of a revision by submitting a GET request on the REST resource.

Send Request

The following example shows the contents of the send request:

https://example.com/ic/api/process/<version>/targets/<targetId>/projects/<projectId>/revisions/<revision>

Where,

  • example.com is the host where Oracle Integration is running.

  • <version> is the REST API version.

  • <targetId> is the deployment partition target of a project. Allowed values are ORACLEINTERNALPCS and ORACLEINTERNALPCSPLAYER.

  • <projectId> is the unique ID for a project. To retrieve available projects, see Retrieve projects

  • <revision> is the revision number for a project. To retrieve available revisions, see Retrieve all revisions of the specified project

Example of Response Header

Status Code: 200 OK
Date:   Mon, 03 Apr 2017 09:39:39 GMT 
Content-Type:  application/json

Example of Response Body

{
  "partition": "ORACLEINTERNALPCS",
  "revisionId": "1.0",
  "RunTimeLiveInfo": {
    "state": "ON",
    "mode": "ACTIVE"
  },
  "DesignTimeProjectReference": {
    "spaceId": "89f7e082-6855-4a75-b2a6-6a726aff7f23",
    "projectId": "projecttodeploy1"
  },
  "RunTimeDeployInfo": {
    "deployTime": "2017-04-03,23:51:58 PDT",
    "isDefault": true
  },
  "processDefIds": [
    "oracleinternalpcs~projecttodeploy1!1.0~TravelApproval"
  ],
  "links": [
    {
      "href": "http://example.com:7001/ic/api/process/v1/targets/oracleinternalpcs/projects/projecttodeploy1/revisions/1.0",
      "rel": "self"
    },
    {
      "href": "http://example.com:7001/ic/api/process/v1/targets/oracleinternalpcs/projects/projecttodeploy1/revisions/1.0",
      "rel": "canonical"
    },
    {
      "href": "http://example.com:7001/ic/api/process/v1",
      "rel": "parent"
    }
  ]
}
Back to Top