This endpoint gets all the investments for the specified user.
Endpoint: https://cashboard-f5x2.onrender.com/investment/
Query Parameters: User UUID
The response body is a JSON object that contains an array of all the user’s investments. An individual investment includes:
desc (string) - A description of the investment account
category (string) - Category for the investment
currentAmount (number) - the investment’s balance
_id (string) - the unique identifier for the investment
createdAt (timestamp) - whenthe investment was created
updatedAt (timestamp) - when the investment was last updated
OK
The response is of type object
.