Data node information
Get information about the data node. Response contains a semver formatted version of the data node and the commit hash, from which the data node was built
Responses
- 200
- 500
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
commitHash string
version string
{
"commitHash": "string",
"version": "string"
}
An internal server error
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
GET /api/v2/info
Request
Request
curl / cURL
curl -L -X GET 'https://api.n06.testnet.vega.xyz/api/v2/info' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'https://api.n06.testnet.vega.xyz/api/v2/info' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'https://api.n06.testnet.vega.xyz/api/v2/info' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'https://api.n06.testnet.vega.xyz/api/v2/info' \
-H 'Accept: application/json'