|
|
@ -12,7 +12,7 @@ User API |
|
|
|
GET /user HTTP/1.1 |
|
|
|
Host: example.tld |
|
|
|
Accept: application/json |
|
|
|
Authorization: Token <Base64(user:userToken)> |
|
|
|
X-Auth-Token: <Base64(user:userToken)> |
|
|
|
|
|
|
|
**Example response**: |
|
|
|
|
|
|
@ -65,7 +65,7 @@ User API |
|
|
|
GET /user/corvus_administrator HTTP/1.1 |
|
|
|
Host: example.tld |
|
|
|
Accept: application/json |
|
|
|
Authorization: Token <Base64(user:userToken)> |
|
|
|
X-Auth-Token: <Base64(user:userToken)> |
|
|
|
|
|
|
|
**Example response**: |
|
|
|
|
|
|
@ -107,7 +107,7 @@ User API |
|
|
|
PATCH /user/corvus_administrator HTTP/1.1 |
|
|
|
Host: example.tld |
|
|
|
Accept: application/json |
|
|
|
Authorization: Token <Base64(user:userToken)> |
|
|
|
X-Auth-Token: <Base64(user:userToken)> |
|
|
|
Content-Type: application/json |
|
|
|
|
|
|
|
{ |
|
|
@ -162,7 +162,7 @@ User API |
|
|
|
POST /user HTTP/1.1 |
|
|
|
Host: example.tld |
|
|
|
Accept: application/json |
|
|
|
Authorization: Token <Base64(user:userToken)> |
|
|
|
X-Auth-Token: <Base64(user:userToken)> |
|
|
|
Content-Type: application/json |
|
|
|
|
|
|
|
{ |
|
|
@ -212,7 +212,7 @@ User API |
|
|
|
DELETE /user/test_user HTTP/1.1 |
|
|
|
Host: example.tld |
|
|
|
Accept: application/json |
|
|
|
Authorization: Token <Base64(user:userToken)> |
|
|
|
X-Auth-Token: <Base64(user:userToken)> |
|
|
|
|
|
|
|
**Example response**: |
|
|
|
|
|
|
|