Get version information for the node
get
/apiplatform/gatewaynode/v1/version
Returns the version information of the gateway node.
Any user can request this resource.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
- text/plain
200 Response
The node's version.
Returns Version information in a JSON.
Root Schema : VersionDetails
Type:
string
Returns Version information in a JSON.
500 Response
Unexpected error.
Error Definition.
Root Schema : Error
Type:
object
Error Definition.
Show Source
-
detail(optional):
string
Detailed error message.
-
errorCode(optional):
string
Application-specific error code.
-
errorDetails(optional):
array errorDetails
Additional errors.
-
errorPath(optional):
string
-
instance(optional):
string
URI to the link that provides more detail about the error.
-
status(optional):
string
HTTP status code.
-
title:
string
Summary error message.
-
type:
string
Error type.
Nested Schema : errorDetails
Type:
array
Additional errors.
Show Source
-
Array of:
object Error
Error Definition.
Examples
The following example shows how to retrieve version information for a gateway node 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/apiplatform/gatewaynode/v1/version
Example of Response Headers
The following shows an example of the response headers.
HTTP/1.1 200 OK Date: Tue, 18 Jul 2017 14:50:26 GMT Transfer-Encoding: chunked Content-Type: application/json
Example of Response Body
The following example shows the contents of the response body in JSON format, including the version of the gateway node.
{ "cloudVersion": "17.3.5", "buildDate": "2017-07-17T07:25:07-0700", "version": "2.0.0", "branch": "develop", "revision": "28780f3c02594c61b8bc2baab158416190e76131" }