{"info":{"_postman_id":"9b6f9413-9396-4ca4-8d14-d1f2bd64203f","name":"tickets_API","description":"<html><head></head><body><p>Welcome to the Tickitz API documentation! This API is designed to provide developers with easy access to a vast collection of movies,cinema, and user authentication for our website https: <a href=\"https://tickets-web-app.vercel.app/\">https://tickets-web-app.vercel.app/</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30080582","collectionId":"9b6f9413-9396-4ca4-8d14-d1f2bd64203f","publishedId":"2s9Ykn9hXP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-12-20T02:58:38.000Z"},"item":[{"name":"movies","item":[{"name":"Get All Movies","id":"b91832f8-d742-47b1-9b87-453a1db7c3bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tickets-be.vercel.app/movies","description":"<p>This endpoint functions for developers to get data for all movies</p>\n","urlObject":{"path":["movies"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"b91832f8-d742-47b1-9b87-453a1db7c3bd"},{"name":"Get Selected Movies","id":"cccb8bde-2fde-4ffd-8240-1de06b977e55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tickets-be.vercel.app/movies/1000","description":"<p>This endpoint functions for developers to get data movie based on parameters id movie</p>\n","urlObject":{"path":["movies","1000"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"cccb8bde-2fde-4ffd-8240-1de06b977e55"},{"name":"Post Movies","id":"4bdb7fe7-0577-4e07-a4ae-371db8b90a85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"The Lonely Peaople\", \r\n    \"realese_date\" : \"2023-10-25\",\r\n    \"duration\" : \"1 h 53 min\",\r\n    \"genres\" :[\"Horror\",\"Thriller\"],\r\n    \"directed_by\":\"Emma Tammi\",\r\n    \"casts\":[\"Josh Hutcherson\",\"Elizabeth Lail\",\"Piper Rubio\"],\r\n    \"synopsis\":\"Recently fired and desperate for work, a troubled young man named Mike agrees to take a position as a night security guard at an abandoned theme restaurant: Freddy Fazbear's Pizzeria. But he soon discovers that nothing at Freddy's is what it seems.\",\r\n    \"posters\":\"https://www.themoviedb.org/t/p/w220_and_h330_face/A4j8S6moJS2zNtRR8oWF08gRnL5.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickets-be.vercel.app/movies","description":"<p>This endpoint functions for developers for post data movie, please follow rules body below</p>\n","urlObject":{"path":["movies"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bdb7fe7-0577-4e07-a4ae-371db8b90a85"},{"name":"Update Movies","id":"c0da5653-8f72-4b4a-9fbf-7d5bd8100ca1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\" : \"The pirates of caribeanss\", \r\n    \"realese_date\" : \"2021-08-08\",\r\n    \"duration\" : \"2 h 12 min\",\r\n    \"genres\" :[\"adventure\",\"action\",\"comedy\"],\r\n    \"directed_by\":\"James B\",\r\n    \"casts\":[\"dwayne Jhonson\",\"Emma\",\"Kevin H\"],\r\n    \"synopsis\":\"Bla bla bla\",\r\n    \"posters\":\"https://cdn0-production-images-kly.akamaized.net/zduBJnIwVqPxuvwEkK7Hpwe_WgE=/800x1066/smart/filters:quality(75):strip_icc():format(webp)/kly-media-production/medias/2984036/original/034006400_1575278238-Jumanji_The_Next_Level_Headline.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickets-be.vercel.app/movies/11","description":"<p>This endpoint functions for developers for update data movie, please follow rules body below</p>\n","urlObject":{"path":["movies","11"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"c0da5653-8f72-4b4a-9fbf-7d5bd8100ca1"},{"name":"Delete Movies","id":"36a28c51-fd6c-42d3-b686-744b90bbe878","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://tickets-be.vercel.app/movies/23","description":"<p>This endpoint functions for developers for delete data movie based on parameters id movie</p>\n","urlObject":{"path":["movies","23"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"36a28c51-fd6c-42d3-b686-744b90bbe878"}],"id":"689ddcb1-f5b8-4417-ab33-645565135f7d","description":"<p>This folder contains various API Movie endpoints.</p>\n<ul>\n<li>Get All Movies</li>\n<li>Get Selected Movies</li>\n<li>Post Movies</li>\n<li>Update Movies</li>\n<li>Delete Movies</li>\n</ul>\n","_postman_id":"689ddcb1-f5b8-4417-ab33-645565135f7d"},{"name":"Cinemas","item":[{"name":"Get All Cinemas","id":"89c1166b-5eae-4631-a96d-3a812e15d0c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tickets-be.vercel.app/cinemas","description":"<p>This endpoint functions for developers to get data for all Cinema</p>\n","urlObject":{"path":["cinemas"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"89c1166b-5eae-4631-a96d-3a812e15d0c2"},{"name":"Get Selected Cinemas","id":"9edc8f6e-9400-4640-af24-bceb156bc627","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tickets-be.vercel.app/cinemas/4","description":"<p>This endpoint functions for developers to get data cinema based on parameters id cinema</p>\n","urlObject":{"path":["cinemas","4"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"9edc8f6e-9400-4640-af24-bceb156bc627"},{"name":"Post Cinemas","id":"361ecc14-c0ae-49fc-a7c5-2eeea46c1ff7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"movie_id\" :42,\r\n    \"name\" : \"Holiday Square\",\r\n    \"city\" : \"Jakarta\",\r\n    \"address\" : \"Jl. Soekarno Hatta\",\r\n    \"show_times\" : [\"6:45\",\"8:45\",\"10:45\"],\r\n    \"price\" : 80000,\r\n    \"logo\" :\"https://webnwp.blob.core.windows.net/wpmedia/Cinema_XXI.png\"\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickets-be.vercel.app/cinemas","description":"<p>This endpoint functions for developers for post data cinema, please follow rules body below</p>\n","urlObject":{"path":["cinemas"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"361ecc14-c0ae-49fc-a7c5-2eeea46c1ff7"},{"name":"UPDATE Cinemas","id":"2d231b3e-3d7c-402f-88b1-f7e8368cf0ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"movie_id\" :20,\r\n    \"name\" : \"Holiday 88\",\r\n    \"city\" : \"Jakarta\",\r\n    \"address\" : \"Jl. Soekarno Hatta\",\r\n    \"show_times\" : [\"6:45\",\"8:45\",\"10:45\"],\r\n    \"price\" : 80000,\r\n    \"logo\" :\"https://webnwp.blob.core.windows.net/wpmedia/Cinema_XXI.png\"\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickets-be.vercel.app/cinemas/6","description":"<p>This endpoint functions for developers for update data cinema, please follow rules body below</p>\n","urlObject":{"path":["cinemas","6"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d231b3e-3d7c-402f-88b1-f7e8368cf0ee"},{"name":"Delete Cinemas","id":"7f8d2614-b06d-4a65-87c4-098e1b668579","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://tickets-be.vercel.app/cinemas/6","description":"<p>This endpoint functions for developers for delete data cinema</p>\n","urlObject":{"path":["cinemas","6"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f8d2614-b06d-4a65-87c4-098e1b668579"}],"id":"4c462d94-c145-4909-b2a4-c79e390b691c","description":"<p>This folder contains various API Movie endpoints.</p>\n<ul>\n<li><p>Get All Cinema</p>\n</li>\n<li><p>Get Selected Cinema</p>\n</li>\n<li><p>Post Cinema</p>\n</li>\n<li><p>Update Cinema</p>\n</li>\n<li><p>Delete Cinema</p>\n</li>\n</ul>\n","_postman_id":"4c462d94-c145-4909-b2a4-c79e390b691c"},{"name":"user","item":[{"name":"Get All User","id":"5d403301-3858-4462-9c86-cfef0401af8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tickets-be.vercel.app/users","description":"<p>This endpoint functions for developers to get data for user</p>\n","urlObject":{"path":["users"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d403301-3858-4462-9c86-cfef0401af8f"},{"name":"Get Detail Profile","id":"bc966131-7e0d-4318-829f-c68949233521","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://tickets-be.vercel.app/users/me","description":"<p>This endpoint functions for developers to get data detail user based on token</p>\n","urlObject":{"path":["users","me"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc966131-7e0d-4318-829f-c68949233521"},{"name":"Post User / Register User","id":"1921b783-be9b-4e03-b653-471fe935d353","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n      \"first_name\" : \"POPOL \",\r\n      \"last_name\" : \"Starlight\",\r\n      \"phone_number\":\"08938239839\",\r\n      \"email\" : \"fany@gmail.com\",\r\n      \"password\" : \"pijar1234\",\r\n      \"photo_profile\" : \"https://static.wikia.nocookie.net/violet-evergarden/images/a/ae/Violet_Evergarden.png/revision/latest/thumbnail/width/360/height/360?cb=20180209195829\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickets-be.vercel.app/users","description":"<p>This endpoint functions for developers to register user</p>\n","urlObject":{"path":["users"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"1921b783-be9b-4e03-b653-471fe935d353"},{"name":"Login","id":"7f23f4a7-260c-4439-8c13-6fac69f3776e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"ling@gmail.com\",\r\n    \"password\" : \"blues\"\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickets-be.vercel.app/users/login","description":"<p>This endpoint functions for developers to login user and gnerate token</p>\n","urlObject":{"path":["users","login"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f23f4a7-260c-4439-8c13-6fac69f3776e"},{"name":"Edit User","id":"24794ec5-619e-4422-b3b0-401f54000df8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n      \"first_name\" : \"Gords\",\r\n      \"last_name\" : \"Starlight\",\r\n      \"phone_number\":\"08938239839\",\r\n      \"email\" : \"ling@gmail.com\",\r\n      \"photo_profile\" : \"https://static.wikia.nocookie.net/violet-evergarden/images/a/ae/Violet_Evergarden.png/revision/latest/thumbnail/width/360/height/360?cb=20180209195829\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickets-be.vercel.app/users/edit","description":"<p>This endpoint functions for developers to edit data user based on token</p>\n","urlObject":{"path":["users","edit"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"24794ec5-619e-4422-b3b0-401f54000df8"},{"name":"Edit Password","id":"46af96ea-2a5b-4be9-8183-f80e88d4a2e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\" : \"blues\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickets-be.vercel.app/users/edit/password","description":"<p>This endpoint functions for developers to edit password user based on token</p>\n<p><a href=\"https://tickets-be.vercel.app/users/edit/password\">https://tickets-be.vercel.app/users/edit/password</a></p>\n","urlObject":{"path":["users","edit","password"],"host":["https://tickets-be.vercel.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"46af96ea-2a5b-4be9-8183-f80e88d4a2e8"}],"id":"d1ab3f25-6d66-4ea5-9834-4267985bc907","description":"<p>This folder contains various API Movie endpoints.</p>\n<ul>\n<li><p>Get All User</p>\n</li>\n<li><p>Get Detail Profile</p>\n</li>\n<li><p>Post User/ Register</p>\n</li>\n<li><p>Login</p>\n</li>\n<li><p>Edit Data User</p>\n</li>\n<li><p>Edit Password User</p>\n</li>\n</ul>\n","_postman_id":"d1ab3f25-6d66-4ea5-9834-4267985bc907"}],"event":[{"listen":"prerequest","script":{"id":"99902646-4f92-48b3-9ecd-0cc80c028fa3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8fb8c78b-79e3-431a-9bf8-1823337daf9e","type":"text/javascript","exec":[""]}}],"variable":[{"key":"production","value":"https://tickets-be.vercel.app","type":"string"},{"key":"development","value":"http://localhost:3000","type":"string"}]}