Get Detail Movie

Get Detail Movie

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/movie?id=(id)

Response : 200 - OK

{
	"id": 1,
	"created_at": "2023-02-01T10:31:57.292987+00:00",
	"name": "Top Gun: Maverick",
	"description": "After more than thirty years of service as one of the Navy’s top aviators, and dodging the advancement in rank that would ground him, Pete “Maverick” Mitchell finds himself training a detachment of TOP GUN graduates for a specialized mission the likes of which no living pilot has ever seen.",
	"image_url": "https://www.themoviedb.org/t/p/w300_and_h450_bestv2/62HCnUTziyWcpDaBO2i1DX17ljH.jpg",
	"video_url": "https://youtu.be/qSqVVswa420",
	"release_date": "2022-05-27",
	"language": "English",
	"status": 2,
	"director_id": 2,
	"studio_id": 1,
	"directors": {
		"id": 2,
		"name": "Christopher McQuarrie",
		"image_url": "https://www.themoviedb.org/t/p/w300_and_h450_bestv2/82W339V8turXUdaCajqOyekxhmD.jpg",
		"gender": 1,
		"biography": "Christopher McQuarrie is an American screenwriter, producer and director. His screenplays include The Usual Suspects, for which he won the 1996 Academy Award, The Way of the Gun and Valkyrie. He is the creator of NBC television series Persons Unknown.",
		"country_id": 1,
		"created_at": "2023-01-30T14:14:19.719023+00:00"
	},
	"studios": {
		"id": 1,
		"name": "Paramount Pictures",
		"image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Paramount_Pictures_2022_%28Blue%29.svg/175px-Paramount_Pictures_2022_%28Blue%29.svg.png",
		"city": "Hollywood",
		"country_id": 1,
		"created_at": "2023-01-30T10:17:23.752686+00:00"
	},
	"movie_categories": [
		{
			"id": 1,
			"movie_id": 1,
			"category_id": 1,
			"created_at": "2023-02-02T13:08:34.66669+00:00"
		},
		{
			"id": 2,
			"movie_id": 1,
			"category_id": 6,
			"created_at": "2023-02-02T13:08:34.66669+00:00"
		}
	],
	"movie_actors": [
		{
			"id": 1,
			"movie_id": 1,
			"actor_id": 1,
			"created_at": "2023-02-02T13:08:34.844758+00:00"
		},
		{
			"id": 2,
			"movie_id": 1,
			"actor_id": 34,
			"created_at": "2023-02-02T13:08:34.844758+00:00"
		},
		{
			"id": 3,
			"movie_id": 1,
			"actor_id": 41,
			"created_at": "2023-02-02T13:08:34.844758+00:00"
		},
		{
			"id": 4,
			"movie_id": 1,
			"actor_id": 111,
			"created_at": "2023-02-02T13:08:34.844758+00:00"
		},
		{
			"id": 5,
			"movie_id": 1,
			"actor_id": 58,
			"created_at": "2023-02-02T13:08:34.844758+00:00"
		}
	],
	"categories": [
		{
			"id": 1,
			"name": "Action"
		},
		{
			"id": 6,
			"name": "Drama"
		}
	],
	"actors": [
		{
			"id": 1,
			"name": "Tom Cruise",
			"image_url": "https://www.themoviedb.org/t/p/w300_and_h450_bestv2/8qBylBsQf4llkGrWR3qAsOtOU8O.jpg"
		},
		{
			"id": 34,
			"name": "Miles Teller",
			"image_url": "https://www.themoviedb.org/t/p/w300_and_h450_bestv2/cg3LW0xX6RKr8dmescxq1bepcb5.jpg"
		},
		{
			"id": 41,
			"name": "Glen Powell",
			"image_url": "https://www.themoviedb.org/t/p/w300_and_h450_bestv2/lRbbndkwOXyvep9Y7kHiwbh9Ji5.jpg"
		},
		{
			"id": 111,
			"name": "Charles Parnell",
			"image_url": "https://www.themoviedb.org/t/p/w300_and_h450_bestv2/5cxJNdHIzDiqHRfC6uKgk4ssEqC.jpg"
		},
		{
			"id": 58,
			"name": "Monica Barbaro",
			"image_url": "https://www.themoviedb.org/t/p/w300_and_h450_bestv2/hiOYXzSkkuKyCEcjLxBoAc4bLZS.jpg"
		}
	]
}

Response : 404 - Not Found

Not Found

Response : 500 - Server Error

Internal Server Error