{"info":{"_postman_id":"2e854441-9e26-4cc9-995c-8f407a2c1051","name":"movies django","description":"<html><head></head><body><h1 id=\"movie-api-documentation\">Movie API Documentation</h1>\n<p>This Movie API allows users to manage and retrieve movie data. It offers<br>CRUD operations (Create, Read, Update, Delete) on movies, and endpoints<br>to fetch movies by director or country. The API documentation details<br>each endpoint, request methods, parameters, and response formats.  </p>\n<h2 id=\"endpoints\">Endpoints:</h2>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Movie API Documentation","slug":"movie-api-documentation"}],"owner":"32160277","collectionId":"2e854441-9e26-4cc9-995c-8f407a2c1051","publishedId":"2s9YynnQLG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-01-24T19:16:14.000Z"},"item":[{"name":"get all movies","id":"dc8c5511-496a-4107-b24e-2ae6f9970fb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/movies/","description":"<p>Retrieves all movies in the database.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["movies",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc8c5511-496a-4107-b24e-2ae6f9970fb4"},{"name":"get movies by id","id":"09c486d0-9872-4a17-bf47-30fdb156b9d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/movies/{{movieId}}/","description":"<p>Retrieves a especific movies in the database.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["movies","{{movieId}}",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"09c486d0-9872-4a17-bf47-30fdb156b9d7"},{"name":"get director","id":"55051bf8-fd7e-4af9-91ad-a42531aa1c76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/movies/director/{{directorId}}/","description":"<p>Retrieves all movies by a specific director.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["movies","director","{{directorId}}",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"55051bf8-fd7e-4af9-91ad-a42531aa1c76"},{"name":"get country","id":"27a556bd-1838-4149-bf04-46cdb1fa31a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/movies/country/{{countryId}}/","description":"<p>Retrieves all movies from a specific country.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["movies","country","{{countryId}}",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"27a556bd-1838-4149-bf04-46cdb1fa31a2"},{"name":"create movie","id":"5b6b2eaa-75a2-4368-9d9e-d1377d1f5fa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"{{movie tittle}}\",\n    \"year\": {{movie year}},\n    \"country\": \"{{movie country}}\",\n    \"director\": \"{{movie director or [director,director]}}\",\n    \"studio\": \"{{movie studio}}\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/movies/","description":"<p>Creates a new movie in the database.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["movies",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b6b2eaa-75a2-4368-9d9e-d1377d1f5fa6"},{"name":"delete movie","id":"c26abab2-465d-4f4f-94cb-10bb833c8765","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://127.0.0.1:8000/movies/{{movieId}}/","description":"<p>Deletes a specific movie by its ID.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["movies","{{movieId}}",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c26abab2-465d-4f4f-94cb-10bb833c8765"},{"name":"update movie","id":"e8db1f43-2ca2-49b7-9f34-f3e5533dfdfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"{{movie tittle}}\",\n    \"year\": {{movie year}},\n    \"country\": \"{{movie country}}\",\n    \"director\": \"{{movie director or [director,director]}}\",\n    \"studio\": \"{{movie studio}}\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/movies/{{movieId}}/","description":"<p>Updates a specific movie by its ID</p>\n","urlObject":{"protocol":"http","port":"8000","path":["movies","{{movieId}}",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8db1f43-2ca2-49b7-9f34-f3e5533dfdfa"}]}