about
GET
Returns info about the Traffic Ops build that is currently running, generated at startup. The output will be the same until the Traffic Ops version changes.
- Auth. Required:
Yes
- Roles Required:
None
- Response Type:
Object
Request Structure
No parameters available.
GET /api/3.0/about HTTP/1.1
User-Agent: python-requests/2.22.0
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Cookie: mojolicious=...
Response Structure
- commitHash:
The Git commit hash that Traffic Ops was built at.
- commits:
The number of commits in the branch of the commit that Traffic Ops was built at, including that commit. Calculated by extracting the commit count from running
git describe --tags --long
.- goVersion:
The version of Go that was used to build Traffic Ops.
- release:
The major version of CentOS or Red Hat Enterprise Linux that the build environment was running.
- name:
The human-readable name of the RPM file.
- RPMVersion:
The entire name of the RPM file, excluding the file extension.
- Version:
The version of ATC that this version of Traffic Control belongs to.
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Set-Cookie, Cookie
Access-Control-Allow-Methods: POST,GET,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin: *
Content-Encoding: gzip
Content-Type: application/json
Set-Cookie: mojolicious=...; Path=/; Expires=Mon, 24 Feb 2020 19:35:28 GMT; Max-Age=3600; HttpOnly
Whole-Content-Sha512: 7SVQsddCUVRs+sineziRGR6OyMli7XLZbjxyMQgW6E506bh5thMOuttPFT7aJckDcgT45PlhexycwlApOHI4Vw==
X-Server-Name: traffic_ops_golang/
Date: Mon, 24 Feb 2020 18:35:28 GMT
Content-Length: 145
{
"commitHash": "1c9a2e9c",
"commits": "10555",
"goVersion": "go1.11.13",
"release": "el7",
"name": "traffic_ops",
"RPMVersion": "traffic_ops-4.0.0-10555.1c9a2e9c.el7",
"Version": "4.0.0"
}