Returns information on the server.
Use the operation to get information on a QAComplete server.
Authentication
No authentication is required.
Security Rights
No specific access rights are required.
Request Format
To get information on the server, send a GET request to the following URL:
A sample request:
GET /rest-api/service/api/v1/serverinfo HTTP/1.1
Host: yourserver.com
Accept: application/json
A sample request made by using cURL:
curl -H "Accept: application/json" http://yourserver.com/service/api/v1/serverinfo
Response Format
On success, the operation responds with HTTP status code 200 and returns a JSON object with server information.
If the operation fails, it returns the appropriate status code and (optionally) the error description in the response body.
A sample response:
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 184
{
"rest_version": "10.1.6.0",
"qac_version": "10.1.51",
"db_version": "10.1.35",
"rest_build_date": "2015-09-01T13:00:44.0000000-07:00",
"server_time": "2015-09-08T23:15:11.9347528-07:00"
}
The version of the REST service running on the server.
The version of QAComplete running on the server.
The version of the database installed on the server.
The date and time when the REST service running on the server was built, in the UTC format.
The server’s date and time in the UTC time zone.