# MVC API Documentation

## Open Endpoints

Open endpoints require no Authentication.

* [Login](doc/login.md) : `POST /api/login/`
* [Get all users data](doc/get_users.md) : `GET /api.php/users/`
* [Show data of a user](doc/get_user.md) : `GET /api.php/user/{id}`
* [Create a new user](doc/post_user.md) : `POST /api.php/user/`
* [Delete a user](doc/delete_user.md) : `DELETE /api.php/user/{id}` Should be a closed endpoint.

## Endpoints that require Authentication

Closed endpoints require a valid Token to be included in the header of the
request. 

* [Update user informations](doc/put_user.md) : `PUT /api.php/user/{id}`

