InfoService_Version
InfoService_Version
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
- build_host string
- build_os string
- build_time string
- git_branch string
- git_commit_hash string
- service string
- version string
{
"build_host": "string",
"build_os": "string",
"build_time": "string",
"git_branch": "string",
"git_commit_hash": "string",
"service": "string",
"version": "string"
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
details object[]
- message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
GET /v1/info/version
Request
Request
curl / cURL
curl -L -X GET 'https://aperture-agent/v1/info/version' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'https://aperture-agent/v1/info/version' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'https://aperture-agent/v1/info/version' \
-H 'Accept: application/json'