Returns version of server
get
/api/version
Returns the version of the server.
Note that authorization is not necessary for this endpoint.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
200 Response
Default Response
Error Payload
Examples
The following example shows how to retrieve the version and other details about the Oracle Container Cloud Service software. You perform this task by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
Note: The command in this example uses the URL structure https://rest_server_url/resource-path
, where rest_server_url
is the manager node for the Oracle Cloud Container instance. See Send Requests for the appropriate URL structure to use for Oracle Public Cloud.
cURL Command
curl -sk
-X "GET"
"https://rest_server_url/version"
Example of Response Body
{
"git_commit": "f2d3cc7-dirty",
"version": "16.4.2-977",
"release": "origin/release/angelina",
"build_host": "buildbox-1-0-28",
"build_dt": "2016-10-14T20:56:55Z",
"build_branch": "origin/release/angelina"
}