{"info":{"_postman_id":"92f22a0f-b3a6-4511-b128-422a283f19db","name":"Tickitz API by Yongki","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, user authentication.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30079177","collectionId":"92f22a0f-b3a6-4511-b128-422a283f19db","publishedId":"2s9YkoehQM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-12-20T05:19:01.000Z"},"item":[{"name":"Movies","item":[{"name":"Get All Movies","id":"ef80df7a-3645-4602-b335-5ab3b0d3fd6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tickitz-be-yongki.vercel.app//movies","description":"<p>This API is used to retrieve data list movie that registered.</p>\n","urlObject":{"path":["movies"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef80df7a-3645-4602-b335-5ab3b0d3fd6d"},{"name":"Get Selected Movie","id":"856e93c9-db73-4b95-a1d9-2d527681270e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tickitz-be-yongki.vercel.app//movies/1","description":"<p>This API is used to retrieve user data based on the specified ID.</p>\n","urlObject":{"path":["movies","1"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"856e93c9-db73-4b95-a1d9-2d527681270e"},{"name":"New Movie","id":"8aa174f2-dc96-4331-ba4e-18081e2515c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Up broh\",\r\n    \"release_date\": \"2009-07-29\",\r\n    \"duration\": \"1h 36m\",\r\n    \"genres\": [\"Animation\", \"Adventure\", \"Comedy\"],\r\n    \"directed_by\": \"Pete Docter\",\r\n    \"casts\": [\"Edward Asner\", \"Jordan Nagai\", \"John Ratzenberger\"],\r\n    \"synopsis\": \"As a boy, Carl Fredricksen wanted to explore South America and find the forbidden Paradise Falls. About 64 years later he gets to begin his journey along with Boy Scout Russell by lifting his house with thousands of balloons. On their journey, they make many new friends including a talking dog, and figure out that someone has evil plans. Carl soon realizes that this evildoer is his childhood idol.\",\r\n    \"poster\": \"https://lumiere-a.akamaihd.net/v1/images/p_up_19753_e6f911e3.jpeg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickitz-be-yongki.vercel.app//movies","description":"<p>This API is used to add new movie data.</p>\n","urlObject":{"path":["movies"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"8aa174f2-dc96-4331-ba4e-18081e2515c5"},{"name":"Update Movie","id":"3be986d4-be82-4d5c-a082-a4b99913f9f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Up\",\r\n    \"release_date\": \"2009-07-29\",\r\n    \"duration\": \"1h 36m\",\r\n    \"genres\": [\"Animation\", \"Adventure\", \"Comedy\"],\r\n    \"directed_by\": \"Pete Docter\",\r\n    \"casts\": [\"Edward Asner\", \"Jordan Nagai\", \"John Ratzenberger\"],\r\n    \"synopsis\": \"As a boy, Carl Fredricksen wanted to explore South America and find the forbidden Paradise Falls. About 64 years later he gets to begin his journey along with Boy Scout Russell by lifting his house with thousands of balloons. On their journey, they make many new friends including a talking dog, and figure out that someone has evil plans. Carl soon realizes that this evildoer is his childhood idol.\",\r\n    \"poster\": \"https://lumiere-a.akamaihd.net/v1/images/p_up_19753_e6f911e3.jpeg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickitz-be-yongki.vercel.app//movies/2","description":"<p>This API is used to update movie data by retrieving the ID of the movie whose data we want to update.</p>\n","urlObject":{"path":["movies","2"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"3be986d4-be82-4d5c-a082-a4b99913f9f6"},{"name":"Delete Movie","id":"ae91ebb3-055c-46a6-b3f7-d0af9e0c14e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://tickitz-be-yongki.vercel.app//movies/1","description":"<p>This API is utilized to delete a movie by calling the ID of the movie that needs to be removed.</p>\n","urlObject":{"path":["movies","1"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"ae91ebb3-055c-46a6-b3f7-d0af9e0c14e3"}],"id":"5507bdac-09dc-437e-9b36-e2d92f7a848e","description":"<p>This folder contains various API endpoints, including get all movies, selected movies, add new movie, edit movie &amp; delete movie.</p>\n","_postman_id":"5507bdac-09dc-437e-9b36-e2d92f7a848e"},{"name":"User","item":[{"name":"Get All users","id":"87d55333-eb8f-465f-a592-8e199bea6dd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tickitz-be-yongki.vercel.app//users","description":"<p>The API is used to display all users who have registered data when performing registration.</p>\n","urlObject":{"path":["users"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"87d55333-eb8f-465f-a592-8e199bea6dd1"},{"name":"Register","id":"ad0c93f6-5875-4f1d-a8d4-e8ada908fcd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"Bayem\",\r\n    \"last_name\": \"Sore\",\r\n    \"phone_number\": \"08123456789\",\r\n    \"email\": \"bayemsore@gmail.com\",\r\n    \"password\": \"bayemsore\",\r\n    \"photo_profile\": \"https://postpangandaran.com/photo/plugin/article/2023/1693277962_1-org.jpeg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickitz-be-yongki.vercel.app//users/register","description":"<p>The API is used to add new user data, allowing them to log in later.</p>\n","urlObject":{"path":["users","register"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad0c93f6-5875-4f1d-a8d4-e8ada908fcd6"},{"name":"Login","id":"15d66f6b-68e5-49c5-9d31-8faab2d39049","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"bayemsore@gmail.com\",\r\n    \"password\": \"bayemsore\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickitz-be-yongki.vercel.app//users/login","description":"<p>This API is used for logging in using the email and password associated with the registration process. The authentication process ensures that users can access the API and perform operations based on the email and password used during registration.</p>\n","urlObject":{"path":["users","login"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"15d66f6b-68e5-49c5-9d31-8faab2d39049"},{"name":"Get Detail Profile","id":"cbbfab94-940a-422c-956e-32fc723cc2a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://tickitz-be-yongki.vercel.app//users/me","description":"<p>This API is used to display specific user data using a bearer token.</p>\n","urlObject":{"path":["users","me"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbbfab94-940a-422c-956e-32fc723cc2a9"},{"name":"Edit User","id":"6a3625e0-7bb1-4fc3-b38f-51b285439186","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\": \"Bayem\",\r\n    \"last_name\": \"Sore\",\r\n    \"phone_number\": \"08123456789\",\r\n    \"email\": \"bayemsore@gmail.com\",\r\n    \"photo_profile\": \"https://postpangandaran.com/photo/plugin/article/2023/1693277962_1-org.jpeg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickitz-be-yongki.vercel.app//users/edit","description":"<p>The Tickitz API is designed for modifying existing data with new information, and accessing data requires the use of a bearer token obtained during login.</p>\n","urlObject":{"path":["users","edit"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a3625e0-7bb1-4fc3-b38f-51b285439186"},{"name":"Edit Password User","id":"5a36beab-6ef2-400b-9164-90bc29ad7c66","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\": \"bayemsore\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickitz-be-yongki.vercel.app//users/edit/password","description":"<p>The Tickitz API is designed to facilitate the modification of an existing password with a new one, requiring the use of a bearer token obtained during the login process to access the data.</p>\n","urlObject":{"path":["users","edit","password"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a36beab-6ef2-400b-9164-90bc29ad7c66"}],"id":"b5372601-9537-4ae3-90e9-ba7fd95dde65","description":"<p>This folder contains various API endpoints, including get all users, register, login, get detail profil, edit user &amp; edit password user.</p>\n","_postman_id":"b5372601-9537-4ae3-90e9-ba7fd95dde65"},{"name":"Cinema","item":[{"name":"Get All Cinemas","id":"4ce3da0f-ee92-4e46-849d-1ff0f1d3a04c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tickitz-be-yongki.vercel.app//cinemas","description":"<p>This API is used to display all cinema data that is already registered in the database.</p>\n","urlObject":{"path":["cinemas"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ce3da0f-ee92-4e46-849d-1ff0f1d3a04c"},{"name":"Get Selected Cinemas","id":"4d1c73e8-74e3-4a8d-8d4d-e2bd21e7cc9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://tickitz-be-yongki.vercel.app//cinemas/1","description":"<p>This API is used to display specific cinema data based on the called ID, and the data is already registered in the database.</p>\n","urlObject":{"path":["cinemas","1"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d1c73e8-74e3-4a8d-8d4d-e2bd21e7cc9e"},{"name":"New Cinema","id":"ef41441f-c6c7-488d-a21e-bc58943866ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"movie_id\": 1,\r\n    \"name\": \"CINEPOLIS LIPPO PLAZA JOGJA\",\r\n    \"city\": \"Yogyakarta\",\r\n    \"addres\": \"Jl. LAKSDA ADSUCIPTO no 32-34, Demangan Gondokusuman, D.I.Yogyakarta.\",\r\n    \"show_times\": [\"11:05\", \"13:45\", \"16:25\", \"19:05\", \"21:40\"],\r\n    \"price\": 35000,\r\n    \"logo\": \"https://delmarhighlandstowncenter.com/wp-content/uploads/2020/08/DMHTC_Listing_Gallery_Cinepolis-logo-1.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickitz-be-yongki.vercel.app//cinemas","description":"<p>This API is used to add new cinema data.</p>\n","urlObject":{"path":["cinemas"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef41441f-c6c7-488d-a21e-bc58943866ce"},{"name":"Update Cinema","id":"077aad29-c368-4352-8a5c-64d4fd27b07f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"movie_id\": 1,\r\n    \"name\": \"CINEPOLIS LIPPO PLAZA JOGJA\",\r\n    \"city\": \"Yogyakarta\",\r\n    \"addres\": \"Jl. LAKSDA ADSUCIPTO no 32-34, Demangan Gondokusuman, D.I.Yogyakarta.\",\r\n    \"show_times\": [\"11:05\", \"13:45\", \"16:25\", \"19:05\", \"21:40\"],\r\n    \"price\": 35000,\r\n    \"logo\": \"https://delmarhighlandstowncenter.com/wp-content/uploads/2020/08/DMHTC_Listing_Gallery_Cinepolis-logo-1.jpg\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://tickitz-be-yongki.vercel.app//cinemas/19","description":"<p>The Tickitz API is utilized to edit previously registered cinema data. To use it, you must retrieve the cinema data by its corresponding ID that you wish to update.</p>\n","urlObject":{"path":["cinemas","19"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"077aad29-c368-4352-8a5c-64d4fd27b07f"},{"name":"Delete Cinemas","id":"b7114bcf-569a-4dd8-a27d-53e9a9d4a639","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://tickitz-be-yongki.vercel.app//cinemas/19","description":"<p>This API is used to delete cinema data based on the cinema ID that needs to be removed.</p>\n","urlObject":{"path":["cinemas","19"],"host":["https://tickitz-be-yongki.vercel.app/"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7114bcf-569a-4dd8-a27d-53e9a9d4a639"}],"id":"7edb63e3-51ee-49cc-8d26-d0e74a868b13","description":"<p>This folder contains various API endpoints, including get all cinema, selected cinema, add new cinema, update cinema &amp; delete cinema.</p>\n","_postman_id":"7edb63e3-51ee-49cc-8d26-d0e74a868b13"}],"event":[{"listen":"prerequest","script":{"id":"449ab2d4-0068-466b-8113-ec30a199f653","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2b571d14-a010-45e6-a945-ed749f60ac15","type":"text/javascript","exec":[""]}}],"variable":[{"key":"production","value":"https://tickitz-be-yongki.vercel.app/","type":"string"},{"key":"local","value":"http://localhost:8080/","type":"string"}]}