Retrieve version information

get

/developers/services/v1/portal/version

Returns the version information as a JSON structure. This is a public resource; it does not require authentication and can be accessed by any user.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

JSON structure containg the version information, included in the following keys: version, cloudVersion, revision.
Body ()
Root Schema : schema
Type: string

500 Response

Indicates an error while getting the version information
Body ()
Root Schema : schema
Type: string
Back to Top

Examples

The following example shows how to retrieve version information about your API Platform Cloud Service instance by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL

curl -i -X GET 
-H "Authorization: Bearer access_token
https://example.com/developers/services/v1/portal/version

Example of Response Headers

The following shows an example of the response headers.

HTTP/1.1 200 OK
Date: Fri, 05 Jan 2018 05:38:18 GMT
Content-Length:  177
Content-Type:  application/json
X-oracle-dms-ecid:  f102c33f-1c5b-4409-806d-03bf5706c492-00018fc1
X-oracle-dms-rid:  0:1

Example of Response Body

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

{
    "cloudVersion": "18.1.1",
    "buildDate": "2017-11-30T08:15:36-0800",
    "version": "2.0.0",
    "branch": "develop",
    "revision": "011b384c3d6adaa08687218152b1e5c7540e3b3a"
}
Back to Top