Index | Conventions

Test API

Path: api/v1/test

This endpoint supports the following methods:
GET

Summary: Simple test api endpoint

Description: Can be used to check if authentication is working, the api endpoints are reachable, and that a suitable version of Jim2 is behind the API.

Response content

AttributeTypeDescription
loggedOnbooleanReturns true if the caller has logged on (ie Authentication header is valid).
loggedOnAsstringReturns the cardcode of the logged on user if the authentication header is valid
versionobjectReturns the system version information - this is only included if the authentication header is valid
See the version section below.

version

Attributes of the version object.

AttributeTypeDescription
buildinteger
majorinteger
minorinteger
releaseinteger