Get Detail Quote
To get the data in the specified collection. If no parameters are passed, it lists all of them. Otherwise, it lists the documents in the collection matching the specified parameters:
Method : GET
URL : /api/quote?id=(id)
Response : 200 - OK
{
"id": 2,
"author_id": 217,
"quote": "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.",
"tags": "attributed-no-source, human-nature, humor, infinity, philosophy, science, stupidity, universe,",
"created_at": "2023-05-24T08:31:34.073945+00:00",
"book_authors": {
"id": 217,
"name": "Albert Einstein",
"image": "https://images.gr-assets.com/authors/1429114964p5/9810.jpg"
},
"tags_array": [
{
"id": 4,
"name": "Humor"
},
{
"id": 5,
"name": "Philosophy"
},
{
"id": 25,
"name": "Science"
}
]
}
Response : 404 - Not Found
Not Found
Response : 500 - Server Error
Internal Server Error