Returns a list of all rentals.
Creates a new rental. The request body should be a JSON object with the following fields:
Example request body:
{
"date": "2024-07-15",
"duration": "1 day",
"guests": ["Ratty", "Mickey", "Uncle Rat"]
}
Returns a list of all comments.
Adds a comment to a rental. The request body should be a JSON object with the following fields:
Example request body:
{
"rentalId": 0,
"comment": "This is going to be awesome!"
}
Returns a list of comments for a specific rental.