About Moses.
Method | Endpoint | Description |
---|---|---|
GET | /users | Returns list of users. |
GET | /users/{facebook_id} | Gets the user with the given ID. |
GET | /users/byGroup/{group_id} | Returns list of users from the group. |
POST | /users | Creates user. Returns the created user. |
Method | Endpoint | Description |
---|---|---|
GET | /groups | Returns list of groups. |
GET | /groups/byUser/{user_id} | Returns list of groups from the user. |
POST | /groups | Creates a group. Returns the created group. |
POST | /groups/addUser | Adds User to group. Returns (Change?) |
Method | Endpoint | Description |
---|---|---|
POST | /bills | Creates a bill. Returns the created bill. |
Method | Endpoint | Description |
---|---|---|
GET | /expenses/byUser/{user_id} | Returns list of expenses from user. |
Method | Endpoint | Description |
---|---|---|
GET | /currency | Returns list of currencies. |
POST | /currency | Creates a currency. Returns the created currency. |
{
"id": 1,
"name": "Carlos Moses"
}