Updated API (markdown)

Sai Teja Madha 2021-01-19 12:35:50 +05:30
parent e7786cef03
commit b576fd05c3

3
API.md

@ -42,7 +42,7 @@ POST `api/client/<clientId>/login`
| Parameter | Method | Description | Type | Validation | Default |
|-----------|-----------|------------------------------------------------|---------|--------------------------------|------------|
| clientId | URI/Route | Client identifier | Integer | Required | -- |
| password | POST Body | Client password | String | Required | -- |
**Adds cookie with key `.AspNetCore.Cookies` to be used to authenticate subsequent requests**
@ -51,7 +51,6 @@ POST `api/client/<clientId>/logout`
| Parameter | Method | Description | Type | Validation | Default |
|-----------|-----------|------------------------------------------------|---------|--------------------------------|------------|
| clientId | URI/Route | Client identifier | Integer | Required | -- |
| password | POST Body | Client password | String | Required | -- |
**Invalidates and removes cookie with key `.AspNetCore.Cookies`**