The RESTful API that supports the CovidVault GUI.
https://root_address/account/id
Returns the following account properties
name
the business nameavatar
boolean value representing the presence of a logo in the databaseselectAll
if a location has a conditions of entry checklist, permits the select all buttonstatements
an array of prompts for the conditions of entry checklist
https://root_address/account/id
Returns the following account properties
name
the business namelogo
the stored logo filename (empty string if none available)authContact
name of the person authorised to request customer data for contact tracingphone
contact phone number for the authorised contactstreetAddress
street address of the venuesuburb
suburb / townstate
state / provincepostcode
postal codeemail
email address of the authorised contactselectAll
if a location has a conditions of entry checklist, permits the select all buttonstatements
an array of prompts for the conditions of entry checklist
Creates a new venue account.
Accepts the following account properties:
-
name
-
logo
-
authContact
-
phone
-
streetAddress
-
suburb
-
state
-
postcode
-
email
Data must be entered in formatapplication/json
.
https://root_address/account/id
Permits the upload of a logo via the API. Accepts the following account properties:
Data must be entered in format multipart/form-data
.
https://root_address/account/id
Deletes the account from the database.
https://root_address/entry/id
Registers a visitor entry at a specified venue. Accepts the following visitor properties:
Data must be entered in format application/json
.
Returns the following properties:
id
the unique identifier of the check-in entry
https://root_address/exit/id
Optional registration to check-out a previously entered visitor. Accepts the following visitor properties:
Creates a user sign-on event for authentication. Accepts the following properties:
Returns the following properties:
accountID
the venue IDsessionID
the session IDaccessToken
the private key to allow access to authenticated endpointsaccessExpiry
the date and time of access expiryrefreshToken
the private key to reestablish the session without signinrefreshExpiry
the date and time of the refresh token's expiry
https://root_address/session/id
Refreshes the access token. Accepts the following properties:
Returns the following properties:
accountID
the venue IDsessionID
the session IDaccessToken
the private key to allow access to authenticated endpointsaccessExpiry
the date and time of access expiryrefreshToken
the private key to reestablish the session without signinrefreshExpiry
the date and time of the refresh token's expiry
https://root_address/session/id
Signs the user out and deletes access tokens from the database.
Returns the following properties:
sessionID
the session ID
https://root_address/statistics/id
Returns the following anonymised statistics:
byDay
the number of visitors by day of the weekbyHour
the number of visitors by hour of the dayreturn
the percentage (as a number between 0 and 100) of visitors that appear more than once in the databasetoday
the number of visitors recorded today
To access authenticated endpoints, the query must be sent with the Authorization
header set to a valid accessToken
.