feat: Adding observers/public/account
This commit is contained in:
14
v1/README.md
14
v1/README.md
@@ -482,3 +482,17 @@ __This endpoint is only valid for carriers.__
|
||||
- `PATCH /:id` : Updates data from specific element.
|
||||
- `DELETE /:id` : Delete element from company. Returns the element data.
|
||||
- `GET /:id` : Get data from specific element.
|
||||
|
||||
## Observers endpoints
|
||||
|
||||
### observers/public/account/
|
||||
|
||||
The full endpoint is `observers/public/account/`, and serves for the account credentials management, the same way it works for the common users at the endpoint `/public/account`, by the process of creating an OTP when requesting a new user or recovering the account password.
|
||||
|
||||
- `POST /client/authorize` or `POST /warehouse/authorize`: Authorize the access to the user identified by email:password.
|
||||
- `GET /client/authorize/:session_token` or `GET /warehouse/authorize/:session_token`: Authorize the access to the user identified by the session token.
|
||||
- `POST /client/signup` or `POST /warehouse/signup`: Requests an OTP to create a new account.
|
||||
- `PATCH /client/signup` or `PATCH /warehouse/signup`: Confirms the account OTP.
|
||||
- `POST /client/recover` or `POST /warehouse/recover`: Requests an OTP recover the account password.
|
||||
- `PATCH /client/recover` or `PATCH /warehouse/recover`: Confirms the new password OTP.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user