BCI 4 Kids Inventory Server

This database system provides a web-based inventory management solution for the BCI 4 Kids lab. The following pages provide reference material for future development or maintenance on the system. All methods should be unusable without a validated account, except for logging in or making an account.

Public Endpoints

GET /session

Get fresh access token using session cookie

response:


POST /session

Register user session and return access token, setting refresh token cookie (log in)

body parameters:

response:


DELETE /session

Clear user session cookie (log out)


POST /user

Create probationary user account pending verification

body parameters:

Protected Endpoints by Category

All protected endpoints require accessToken in the Authorization header as "Bearer mytoken123" and at least one role assigned to the account by a system admin unless otherwise specified.

Admin