Skip to main content

Version

Returns version information about the validator daemon.


Endpoint

GET /version

The following describes the usage with placeholder parameters on a testnet gateway URL:

curl -X GET https://testnets.tableland.network/api/v1/version \
-H 'Accept: application/json'

Responses

StatusMeaningDescriptionSchema
200https://tools.ietf.org/html/rfc7231#section-6.3.1successful operationVersionInfo

This operation does not require authentication.

Response properties

NameTypeRequiredRestrictionsDescription
git_commitstringfalsenonenone
git_branchstringfalsenonenone
git_statestringfalsenonenone
git_summarystringfalsenonenone
build_datestringfalsenonenone
binary_versionstringfalsenonenone

Example

curl -X GET https://testnets.tableland.network/api/v1/version \
-H 'Accept: application/json'

Returns a successful (200) response:

{
"git_commit": "c9a7e8d",
"git_branch": "HEAD",
"git_state": "clean",
"git_summary": "v1.9.1-2-gc9a7e8d",
"build_date": "2023-11-28T18:55:34Z",
"binary_version": "git"
}