Movie by Director

Total Movie by Director

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-director

Response : 200 - OK

[
	{
		"id": 55,
		"label": "Michael Bay",
		"total": 9
	},
	{
		"id": 2,
		"label": "Christopher McQuarrie",
		"total": 6
	},
	{
		"id": 65,
		"label": "Justin Lin",
		"total": 6
	},
	{
		"id": 1,
		"label": "Chad Stahelski",
		"total": 4
	},
	{
		"id": 3,
		"label": "Doug Liman",
		"total": 4
	},
	{
		"id": 14,
		"label": "Zack Snyder",
		"total": 4
	},
	{
		"id": 85,
		"label": "Wilson Yip",
		"total": 4
	},
	{
		"id": 12,
		"label": "J.J. Abrams",
		"total": 3
	},
	{
		"id": 21,
		"label": "Joe Russo",
		"total": 3
	},
	{
		"id": 38,
		"label": "Jon Watts",
		"total": 3
	}
]

Response : 404 - Not Found

Not Found

Response : 500 - Server Error

Internal Server Error