POST /activities
Name | Type | Description |
---|---|---|
access_token | String | master access token. |
userId | Activity's userId. |
|
creationDate | Activity's creationDate. |
|
title | Activity's title. |
|
description | Activity's description. |
|
categoty | Activity's categoty. |
|
subCategory | Activity's subCategory. |
|
level | Activity's level. |
|
isExpert | Activity's isExpert. |
|
location | Activity's location. |
|
radius | Activity's radius. |
|
price | Activity's price. |
DELETE /activities/:id
Name | Type | Description |
---|---|---|
access_token | String | master access token. |
GET /activities
Name | Type | Description |
---|---|---|
access_token | String | master 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. |
GET /activities/:id
Name | Type | Description |
---|---|---|
access_token | String | master access token. |
PUT /activities/:id
Name | Type | Description |
---|---|---|
access_token | String | master access token. |
userId | Activity's userId. |
|
creationDate | Activity's creationDate. |
|
title | Activity's title. |
|
description | Activity's description. |
|
categoty | Activity's categoty. |
|
subCategory | Activity's subCategory. |
|
level | Activity's level. |
|
isExpert | Activity's isExpert. |
|
location | Activity's location. |
|
radius | Activity's radius. |
|
price | Activity's price. |
POST /auth
Name | Type | Description |
---|---|---|
Authorization | String | Basic authorization with email and password. |
Name | Type | Description |
---|---|---|
access_token | String | Master access_token. |
POST /password-resets
Name | Type | Description |
---|---|---|
String | Email address to receive the password reset token. |
|
link | String | Link to redirect user. |
PUT /password-resets/:token
Name | Type | Description |
---|---|---|
password | String | User's new password. |
GET /password-resets/:token
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. |