System
The @system
endpoint exposes system information about the Nick backend.
Send a GET
request to the @system
endpoint:
GET /@system HTTP/1.1
Accept: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhZG1pbiIsImZ1bGxuYW1lIjoiQWRtaW4iLCJpYXQiOjE2NDkzMTI0NDl9.RS1Ny_r0v7vIylFfK6q0JVJrkiDuTOh9iG9IL8xbzAk
The response will contain the system information:
HTTP/1.1 200 OK
Content-Type: application/json
{
"@id": "http://localhost:8080/@system",
"nick_version": "2.8.0",
"node_version": "v16.15.0",
"express_version": "4.21.2",
"objection_version": "3.1.5",
"knex_version": "3.1.0",
"postgres_version": "14.4"
}