POST /api/users/register
RequestBody
{
"name": "name",
"email": "test@example.com",
"password": "password"
}
POST /api/quotes/create
RequestBody
{
"content": "example content"
}
RequestParam
userId
- ID of the User who creates a Quote
PUT /api/quotes/update/{quoteId}
RequestBody
{
"content": "updated content"
}
PathVariable
quoteId
- ID of the Quote
DELETE /api/quotes/delete/{quoteId}
PathVariable
quoteId
- ID of the Quote
GET /api/quotes
GET /api/quotes/random
GET /api/quotes/top
GET /api/quotes/worst
GET /api/quotes/{quoteId}
PathVariable
quoteId
- ID of the Quote
POST /api/vote/{quoteId}/up
PathVariable
quoteId
- ID of the Quote
POST /api/vote/{quoteId}/down
PathVariable
quoteId
- ID of the Quote
POST /api/vote/{quoteId}/evolution
PathVariable
quoteId
- ID of the Quote