POST /auth
Name | Type | Description |
---|---|---|
Authorization | String | Basic authorization with email and password. |
Name | Type | Description |
---|---|---|
access_token | String | Master access_token. |
POST /auth/facebook
Name | Type | Description |
---|---|---|
access_token | String | Facebook user accessToken. |
POST /auth/github
Name | Type | Description |
---|---|---|
access_token | String | Github user accessToken. |
POST /auth/google
Name | Type | Description |
---|---|---|
access_token | String | Google user accessToken. |
POST /auth/reddit
Name | Type | Description |
---|---|---|
state | String | Reddit variable passed on login. |
code | String | Reddit user accessToken. |
GET /deposit/get-address
Name | Type | Description |
---|---|---|
access_token | String | user access token. |
GET /trade/admin/:method
Name | Type | Description |
---|---|---|
access_token | String | admin access token. |
method | String | Xchange server method. |
... | Any | parameters for a method (including uid if needed) |
GET /trade/public/:method
Name | Type | Description |
---|---|---|
method | String | Xchange server method. |
... | Any | parameters for a method |
GET /trade/user/:method
Name | Type | Description |
---|---|---|
access_token | String | user access token. |
method | String | Xchange server method. |
... | Any | parameters for a method (without uid) |
POST /users
Name | Type | Description |
---|---|---|
access_token | String | Master access_token. |
String | User's email. |
|
password | String | User's password. |
name | String | optional User's name. |
picture | String | optional User's picture. |
role | String | optional User's role. |
DELETE /users/:id
Name | Type | Description |
---|---|---|
access_token | String | User access_token. |
GET /users/me
Name | Type | Description |
---|---|---|
access_token | String | User access_token. |
GET /users/:id
GET /users
Name | Type | Description |
---|---|---|
access_token | String | User access_token. |
q | String | optional Query to search. |
page | Number | optional Page number. |
limit | Number | optional Amount of returned items. |
sort | String[] | optional Order of returned items. |
fields | String[] | optional Fields to be returned. |
PUT /users/:id/password
Name | Type | Description |
---|---|---|
Authorization | String | Basic authorization with email and password. |
Name | Type | Description |
---|---|---|
password | String | User's new password. |
PUT /users/:id
Name | Type | Description |
---|---|---|
access_token | String | User access_token. |
name | String | optional User's name. |
picture | String | optional User's picture. |