MediRepo

Logo

Logo
Elixir/Phoenix API for Daily Medical Reports
Making communication easier for Hospitals and Pacients Family
Most hospitals are restricting visitors for COVID-19 Patients. This is a personal project to help hospitals sharing Daily Medical Reports with those patients family.
Hospitals
Endpoints for hospitals
Auth
This folder contains endpoints related to authentication.
POSTSign-in
https://elderly-joyous-pangolin.gigalixirapp.com/api/hospitals/signin
Returns a valid token for Hospitals.
Bodyraw (json)
Example Request
Sign-in
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
POSTReset Password
https://elderly-joyous-pangolin.gigalixirapp.com/api/hospitals/reset
Send a registered hospital's e-mail to receive a valid reset token by e-mail.
Bodyraw (json)
Example Request
Reset Password
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
POSTLogin With Reset Token
https://elderly-joyous-pangolin.gigalixirapp.com/api/hospitals/fastlogin
Use the received reset token and the hospital ID to gain a new access token.
Bodyraw (json)
Example Request
Login With Reset Token
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers