Get All Genre

Get All Genre

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/genre

Response : 200 - OK

[
	{
		"id": 1,
		"name": "Art",
		"link": "https://www.goodreads.com/genres/art",
		"created_at": "2023-05-24T08:01:37.773727+00:00",
		"slug": "art"
	},
	{
		"id": 2,
		"name": "Biography",
		"link": "https://www.goodreads.com/genres/biography",
		"created_at": "2023-05-24T08:01:37.773727+00:00",
		"slug": "biography"
	}
]

Response : 404 - Not Found

Not Found

Response : 500 - Server Error

Internal Server Error