/api/version

该端点返回有关 OpenTSDB 的运行版本的信息。

Verbs

  • GET

  • POST

Requests

该端点不需要通过查询字符串或主体的任何参数。

Example Request

Query String

http://localhost:4242/api/version

Response

响应是版本属性和值的哈希图。

Example Response

{
    "timestamp": "1362712695",
    "host": "localhost",
    "repo": "/opt/opentsdb/build",
    "full_revision": "11c5eefd79f0c800b703ebd29c10e7f924c01572",
    "short_revision": "11c5eef",
    "user": "localuser",
    "repo_status": "MODIFIED",
    "version": "2.0.0"
}