Routes for user authentication including register, login, reset password, etc
Add user to database with encrypted password
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json | JSON Type |
user login route using email and password
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json | JSON Type |
gets user profile using jwt
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json | JSON Type |
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVkN2E1MTRiNWQyYzEyYzc0NDliZTA0NSIsImlhdCI6MTU3MTA1NzkzMywiZXhwIjoxNTczNjQ5OTMzfQ.rTumDmWSKzoiGrarbCRqpVBVVfHo5su4TNagQM6c2Ts |
gets all available versions
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json | JSON |
create a new version//ACCESSED BY ADMINS
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json | JSON |
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVlYTM0ZDU5MWZkMmUxMmQ5YzUzZTIxYiIsImlhdCI6MTU4Nzc5OTU4MiwiZXhwIjoxNTkwMzkxNTgyfQ.ROWyHr88sJFsU2epRGPe0bPcYAqIVJ4--0EIw93uRBI |
DELETE A version//ACCESSED BY ADMINS
checks for updates
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json | JSON |
| Key | Value | Description |
|---|---|---|
| file |
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json | JSON |
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json | JSON |