Movie by Actor

Total Movie by Actor

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/statistics/movie-by-actor

Response : 200 - OK

[
	{
		"id": 1,
		"label": "Tom Cruise",
		"total": 19
	},
	{
		"id": 51,
		"label": "Dwayne Johnson",
		"total": 16
	},
	{
		"id": 11,
		"label": "Jason Statham",
		"total": 12
	},
	{
		"id": 6,
		"label": "Chris Evans",
		"total": 10
	},
	{
		"id": 9,
		"label": "Jeremy Renner",
		"total": 10
	},
	{
		"id": 32,
		"label": "Gal Gadot",
		"total": 10
	},
	{
		"id": 5,
		"label": "Robert Downey Jr.",
		"total": 9
	},
	{
		"id": 13,
		"label": "Chris Pratt",
		"total": 9
	},
	{
		"id": 48,
		"label": "Anthony Mackie",
		"total": 9
	},
	{
		"id": 74,
		"label": "Tyrese Gibson",
		"total": 9
	}
]

Response : 404 - Not Found

Not Found

Response : 500 - Server Error

Internal Server Error