Get Information about a Specific API Version for Profitability and Cost Management

Returns details for a specific REST API version for Profitability and Cost Management.

Required Roles

Service Administrator, Power User, User, Viewer

REST Resource

GET /epm/rest/

Request

Supported Media Types: application/json

Parameters

The following table summarizes the parameters.

Table 24-3 Parameters

Name Description Type Required Default
api_version Version of the API you are developing with, such as V1 Path Yes None

Response

Supported Media Types: application/json

Parameters

The following table summarizes the parameters.

Table 24-4 Parameters

Name Description
version The version, such as v1
lifecycle Possible values: active, deprecated
isLatest Whether this resource is the latest, true or false

Example of Response Body

The following shows an example of the response body in JSON format.

{
   "items": [{  
      "version": "v1",
      "lifecycle": "active",
      "isLatest": true,
      "links": [{
        "rel": "canonical",
        "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/epm/rest/v1",
      }, {
         "rel": "predecessor-version",
         "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/epm/rest/v1",
     }]  
   }],
   "links": [{
      "rel": "current",
      "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/epm/rest/v1"
   }]
}