{"info":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","description":"<html><head></head><body><p>Complete API collection for MovieTok backend with user authentication, movie reviews, and Finnkino integration</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"48372179","collectionId":"66f2b050-ce44-4be7-add0-99ed16616b0e","publishedId":"2sB3QNp8SC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-10-15T16:41:07.000Z"},"item":[{"name":"Health & System","item":[{"name":"Health Check","id":"93a4b393-8b4f-4ee4-af1b-343921d4d443","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/health","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["health"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"93a4b393-8b4f-4ee4-af1b-343921d4d443"}],"id":"85952256-aed7-45b8-b127-9c3dba6a2bbf","_postman_id":"85952256-aed7-45b8-b127-9c3dba6a2bbf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}}},{"name":"User Management","item":[{"name":"Register User","event":[{"listen":"test","script":{"id":"88f33d8c-47ae-4c24-aa28-cef956cfb715","exec":["if (pm.response.code === 201) {","    const response = pm.response.json();","    pm.collectionVariables.set('userId', response.user.id);","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"1c62acf7-c8c0-4eee-a33f-ede5f10f70ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"testuser_1787402056\",\n    \"email\": \"test_1787402056@example.com\",\n    \"password\": \"123456\"\n}"},"url":"http://localhost:3000/api/users/register","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","users","register"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c62acf7-c8c0-4eee-a33f-ede5f10f70ec"},{"name":"Login User","event":[{"listen":"test","script":{"id":"d5d3d66e-5f08-4223-9a6f-f5211bd3a789","exec":["if (pm.response.code === 200) {","    const response = pm.response.json();","    pm.collectionVariables.set('authToken', response.token);","    pm.collectionVariables.set('userId', response.user.id);","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"f00e988c-83f3-4e4e-bb4e-067144ed35ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"Teppo@Movietok.fi\",\n  \"password\": \"123456\"\n}"},"url":"http://localhost:3000/api/users/login","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","users","login"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f00e988c-83f3-4e4e-bb4e-067144ed35ab"},{"name":"Get All Users","id":"2fc77f64-2afd-4ee3-9551-bd03c73b1e47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/users","urlObject":{"path":["api","users"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"2fc77f64-2afd-4ee3-9551-bd03c73b1e47"},{"name":"Get User by ID","id":"53db4cd0-9fb3-4a40-9fac-25e2686252d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/users/","urlObject":{"path":["api","users",""],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"53db4cd0-9fb3-4a40-9fac-25e2686252d1"},{"name":"Update User","id":"a8168aae-b575-49e7-9f92-d52fdaa15a7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    //any combination of profile details can be updated alone or together (password required for password change)\n  \"username\": \"SamppaLHT\",\n  \"email\": \"newemail@example.com\",\n  \"currentPassword\": \"testpassword123\", \n  \"newPassword\": \"newpassword\",\n  \"user_bio\": \"test\"\n}"},"url":"http://localhost:3000/api/users/profile","urlObject":{"path":["api","users","profile"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8168aae-b575-49e7-9f92-d52fdaa15a7b"},{"name":"Delete User","id":"3a4d830a-99a9-48a4-9b52-24cd1a0b3342","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/api/users/profile/","urlObject":{"path":["api","users","profile",""],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a4d830a-99a9-48a4-9b52-24cd1a0b3342"}],"id":"278a0955-94a1-48fc-8e18-af59049e4dcd","_postman_id":"278a0955-94a1-48fc-8e18-af59049e4dcd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}}},{"name":"Movie Reviews","item":[{"name":"Create Review","event":[{"listen":"test","script":{"id":"1fdc7f53-c2e1-4e13-85a6-e36c3de0b4fc","exec":["if (pm.response.code === 201) {","    const response = pm.response.json();","    pm.collectionVariables.set('reviewId', response.data.review.id);","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"4e84fe05-a255-4bd5-b3bd-d8588981251f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    //Required fields to create a review\n  \"movieId\": \"test-movie-123\",\n  \"rating\": 4,\n  \"content\": \"So so so so good\"\n}"},"url":"http://localhost:3000/api/reviews","urlObject":{"path":["api","reviews"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e84fe05-a255-4bd5-b3bd-d8588981251f"},{"name":"Get Review by ID","id":"e150c479-ae1b-4cae-a5a2-56585f04429d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/reviews/","urlObject":{"path":["api","reviews",""],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"e150c479-ae1b-4cae-a5a2-56585f04429d"},{"name":"Get Movie Reviews","id":"384e401f-df95-4260-ac5e-65e002635784","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/reviews/movie/test-movie-123","urlObject":{"path":["api","reviews","movie","test-movie-123"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"384e401f-df95-4260-ac5e-65e002635784"},{"name":"Get User Reviews","id":"f3988130-c055-4fca-acdd-f1a5ff47800b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/reviews/user/","urlObject":{"path":["api","reviews","user",""],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3988130-c055-4fca-acdd-f1a5ff47800b"},{"name":"Get Most Recent Reviews","id":"6ae8a480-42ea-462c-b735-9fe712604f64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/reviews/recent","urlObject":{"path":["api","reviews","recent"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ae8a480-42ea-462c-b735-9fe712604f64"},{"name":"Get Group Reviews","id":"2f1e7f16-5473-4e0e-91f8-5e0a1eaf3a13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:3000/api/reviews/group/:groupId","urlObject":{"path":["api","reviews","group",":groupId"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"70","key":"groupId"}]}},"response":[],"_postman_id":"2f1e7f16-5473-4e0e-91f8-5e0a1eaf3a13"},{"name":"Get Users By Review Count","id":"eebc34e1-e69a-4e9d-a559-bbcfdfc62f81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/reviews/users-by-review-count","urlObject":{"path":["api","reviews","users-by-review-count"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"eebc34e1-e69a-4e9d-a559-bbcfdfc62f81"},{"name":"Get Users By Aura","id":"d905fe5c-1a36-449d-813d-c85eaa1af451","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/reviews/users-by-aura","urlObject":{"path":["api","reviews","users-by-aura"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"d905fe5c-1a36-449d-813d-c85eaa1af451"},{"name":"Update Review","id":"84c0090a-961d-40cf-a401-ac1466aa3a74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    //Any combination of fields updateable alone or together\n  \"rating\": 5,\n  \"content\": \"Updated: Amazing movie! Best I've seen this year.\"\n}"},"url":"http://localhost:3000/api/reviews/","urlObject":{"path":["api","reviews",""],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"84c0090a-961d-40cf-a401-ac1466aa3a74"},{"name":"Delete Review","id":"83b2d74d-a64b-4dd5-b19f-c2f0613f897f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/api/reviews/","urlObject":{"path":["api","reviews",""],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"83b2d74d-a64b-4dd5-b19f-c2f0613f897f"},{"name":"Like Review","id":"62a3390c-959d-41c8-a1e0-a86f60549b7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"like\"\n}"},"url":"http://localhost:3000/api/reviews//interaction","urlObject":{"path":["api","reviews","","interaction"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"62a3390c-959d-41c8-a1e0-a86f60549b7b"},{"name":"Dislike Review","id":"3666c31e-3e1c-4a3c-8674-05d8bafd2658","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"dislike\"\n}"},"url":"http://localhost:3000/api/reviews//interaction","urlObject":{"path":["api","reviews","","interaction"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"3666c31e-3e1c-4a3c-8674-05d8bafd2658"}],"id":"59d89217-ad83-440a-a434-eee6a0f2be54","_postman_id":"59d89217-ad83-440a-a434-eee6a0f2be54","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}}},{"name":"Testing Workflows","item":[{"name":"Complete User Flow","item":[{"name":"1. Register Test User","event":[{"listen":"test","script":{"exec":["pm.test('User registration successful', function () {","    pm.response.to.have.status(201);","});","","if (pm.response.code === 201) {","    const response = pm.response.json();","    pm.collectionVariables.set('testUserId', response.user.id);","    pm.collectionVariables.set('testUserEmail', response.user.email);","}"],"type":"text/javascript","id":"1f86bbee-8131-4794-8c2a-4514a7707ca4"}}],"id":"414d84cc-5005-4d27-ba67-b54bef6a1dca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"testflow_1787402056\",\n  \"email\": \"testflow_1787402056@example.com\",\n  \"password\": \"testpassword123\",\n  \"real_name\": \"Test Flow User\"\n}"},"url":"http://localhost:3000/api/users/register","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","users","register"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"414d84cc-5005-4d27-ba67-b54bef6a1dca"},{"name":"2. Login Test User","event":[{"listen":"test","script":{"exec":["pm.test('Login successful', function () {","    pm.response.to.have.status(200);","});","","if (pm.response.code === 200) {","    const response = pm.response.json();","    pm.collectionVariables.set('testAuthToken', response.token);","}"],"type":"text/javascript","id":"1d2f399b-db46-4087-9e2d-8c49c81f260c"}}],"id":"44d72579-65fb-42f2-b7ab-2fa3c8f81208","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"\",\n  \"password\": \"testpassword123\"\n}"},"url":"http://localhost:3000/api/users/login","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","users","login"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"44d72579-65fb-42f2-b7ab-2fa3c8f81208"},{"name":"3. Create Movie Review","event":[{"listen":"test","script":{"exec":["pm.test('Review creation successful', function () {","    pm.response.to.have.status(201);","});","","if (pm.response.code === 201) {","    const response = pm.response.json();","    pm.collectionVariables.set('testReviewId', response.data.review.id);","}"],"type":"text/javascript","id":"cea67e5f-148a-4dbd-acfc-6fa6cff1b632"}}],"id":"3a53fd00-f3b3-4813-a029-c155eec64959","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"movieId\": \"test-movie-workflow\",\n  \"rating\": 4,\n  \"comment\": \"Test review from workflow\"\n}"},"url":"http://localhost:3000/api/reviews","urlObject":{"path":["api","reviews"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a53fd00-f3b3-4813-a029-c155eec64959"},{"name":"4. Get User Reviews","event":[{"listen":"test","script":{"exec":["pm.test('Get user reviews successful', function () {","    pm.response.to.have.status(200);","});","","pm.test('Reviews array is not empty', function () {","    const response = pm.response.json();","    pm.expect(response.data.reviews.length).to.be.greaterThan(0);","});"],"type":"text/javascript","id":"f716aff9-c21f-47d6-88f4-29c4457aea80"}}],"id":"e6ea9f67-2117-4fe4-b2df-314139cc0eef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/reviews/user/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","reviews","user",""],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6ea9f67-2117-4fe4-b2df-314139cc0eef"},{"name":"5. Update Review","event":[{"listen":"test","script":{"exec":["pm.test('Review update successful', function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","id":"275cdb64-4313-4544-8e1f-905c28b71449"}}],"id":"a247c104-2a84-45c1-85ac-4255a670abf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"rating\": 5,\n  \"comment\": \"Updated: Excellent movie!\"\n}"},"url":"http://localhost:3000/api/reviews/","urlObject":{"path":["api","reviews",""],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"a247c104-2a84-45c1-85ac-4255a670abf5"},{"name":"6. Cleanup - Delete Review","event":[{"listen":"test","script":{"exec":["pm.test('Review deletion successful', function () {","    pm.response.to.have.status(204);","});"],"type":"text/javascript","id":"2b3cf04e-310d-4094-9b1a-d29a643a1fae"}}],"id":"4495ac11-477a-49e9-97f7-05c191c55e9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/api/reviews/","urlObject":{"path":["api","reviews",""],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"4495ac11-477a-49e9-97f7-05c191c55e9a"}],"id":"e409e5d1-bc75-4977-bce2-b94d9d463799","_postman_id":"e409e5d1-bc75-4977-bce2-b94d9d463799","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}}}],"id":"ca88a29d-9c0b-493a-841f-9d44ff8c0d09","_postman_id":"ca88a29d-9c0b-493a-841f-9d44ff8c0d09","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}}},{"name":"TMDB API","item":[{"name":"Search Movies","id":"0c7bccaa-5413-4138-bb02-e489ab8d5637","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/tmdb/search?query=Matrix","urlObject":{"path":["api","tmdb","search"],"host":["http://localhost:3000"],"query":[{"description":{"content":"<p>query search for movies</p>\n","type":"text/plain"},"key":"query","value":"Matrix"}],"variable":[]}},"response":[],"_postman_id":"0c7bccaa-5413-4138-bb02-e489ab8d5637"},{"name":"Get Details by ID","id":"b82f4259-2ff9-488d-8caa-049f5f7e6c1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/tmdb/:id/","urlObject":{"path":["api","tmdb",":id",""],"host":["http://localhost:3000"],"query":[],"variable":[{"description":{"content":"<p>tmdb id</p>\n","type":"text/plain"},"type":"any","value":"603","key":"id"}]}},"response":[],"_postman_id":"b82f4259-2ff9-488d-8caa-049f5f7e6c1b"},{"name":"Get Movies By Title & Year","id":"332dfb22-c496-4406-849e-8afb234235a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/tmdb/title-year?originalTitle=Dune&year=2021","urlObject":{"path":["api","tmdb","title-year"],"host":["http://localhost:3000"],"query":[{"description":{"content":"<p>original title of desired movie</p>\n","type":"text/plain"},"key":"originalTitle","value":"Dune"},{"description":{"content":"<p>release year of desired movie</p>\n","type":"text/plain"},"key":"year","value":"2021"}],"variable":[]}},"response":[],"_postman_id":"332dfb22-c496-4406-849e-8afb234235a4"},{"name":"Discover","id":"f8412832-cadd-4fd0-a226-4d0bdaeb3aaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/tmdb/discover","urlObject":{"path":["api","tmdb","discover"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8412832-cadd-4fd0-a226-4d0bdaeb3aaf"},{"name":"Get Genres","id":"1fd24ec2-9890-4b65-bc61-9535d0fad150","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/tmdb/genres","urlObject":{"path":["api","tmdb","genres"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"1fd24ec2-9890-4b65-bc61-9535d0fad150"}],"id":"d0785648-d841-482a-bf1d-3b79bdaf4aea","_postman_id":"d0785648-d841-482a-bf1d-3b79bdaf4aea","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}}},{"name":"Groups Management","item":[{"name":"Create Group","id":"c4185110-d9bf-425b-bd98-05eb2fbda3c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Testing testers\",\r\n  \"description\": \"Group description5\",\r\n  \"visibility\": \"public\",\r\n  \"poster_url\": \"\",\r\n  \"tags\": [35, 27]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/groups","urlObject":{"path":["api","groups"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4185110-d9bf-425b-bd98-05eb2fbda3c3"},{"name":"Join Group","id":"985795e4-46e1-4a8a-92e9-1fb5eeb6f1a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":"http://localhost:3000/api/groups/:gID/join","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","groups",":gID","join"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"22","key":"gID"}]}},"response":[],"_postman_id":"985795e4-46e1-4a8a-92e9-1fb5eeb6f1a6"},{"name":"Request To Join Group","id":"3dde9a42-bbb6-433d-83b1-d1475c82e36d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:3000/api/groups/:gID/request-join","urlObject":{"path":["api","groups",":gID","request-join"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"","key":"gID"}]}},"response":[],"_postman_id":"3dde9a42-bbb6-433d-83b1-d1475c82e36d"},{"name":"Search Group By Name","id":"112f064a-268f-43f6-94e8-df34f5b65a58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/groups/search?query=Anime","urlObject":{"path":["api","groups","search"],"host":["http://localhost:3000"],"query":[{"description":{"content":"<p>Fuzzy query search</p>\n","type":"text/plain"},"key":"query","value":"Anime"}],"variable":[]}},"response":[],"_postman_id":"112f064a-268f-43f6-94e8-df34f5b65a58"},{"name":"Get Groups By Tags (genres)","id":"cc6aca8c-420e-43a4-b585-c4443087b28f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/groups/by-genres?genres=27","urlObject":{"path":["api","groups","by-genres"],"host":["http://localhost:3000"],"query":[{"description":{"content":"<p>Groups genres</p>\n","type":"text/plain"},"key":"genres","value":"27"}],"variable":[]}},"response":[],"_postman_id":"cc6aca8c-420e-43a4-b585-c4443087b28f"},{"name":"Get Group Details By ID","id":"1874c812-a936-440c-914e-af37e3f86680","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/groups/:gID","urlObject":{"path":["api","groups",":gID"],"host":["http://localhost:3000"],"query":[],"variable":[{"description":{"content":"<p>Group id</p>\n","type":"text/plain"},"type":"any","value":"23","key":"gID"}]}},"response":[],"_postman_id":"1874c812-a936-440c-914e-af37e3f86680"},{"name":"Get All Themes","id":"73a13ac1-93fe-4e17-b7a0-4eb8dd414210","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/groups/themes","urlObject":{"path":["api","groups","themes"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"73a13ac1-93fe-4e17-b7a0-4eb8dd414210"},{"name":"Get Pending Requests By Id","id":"b00f94b6-7b2b-43d8-8a17-192d23653e30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/groups/:gID/pending-requests","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","groups",":gID","pending-requests"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"","key":"gID"}]}},"response":[],"_postman_id":"b00f94b6-7b2b-43d8-8a17-192d23653e30"},{"name":"Get Groups By User ID","id":"5c2302a7-af0b-42f4-9aa6-957a0b109147","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/groups/user/:userId/groups","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","groups","user",":userId","groups"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"","key":"userId"}]}},"response":[],"_postman_id":"5c2302a7-af0b-42f4-9aa6-957a0b109147"},{"name":"Get Popular Groups","id":"aea29193-f811-4f7b-ad13-40aa3375ac72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:3000/api/groups/popular?limit=20","urlObject":{"path":["api","groups","popular"],"host":["http://localhost:3000"],"query":[{"key":"limit","value":"20"}],"variable":[]}},"response":[],"_postman_id":"aea29193-f811-4f7b-ad13-40aa3375ac72"},{"name":"Delete Group By  ID","id":"8f614afb-9aac-428d-aead-d761dfeaf056","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/api/groups/:gID","urlObject":{"path":["api","groups",":gID"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"14","key":"gID"}]}},"response":[],"_postman_id":"8f614afb-9aac-428d-aead-d761dfeaf056"},{"name":"Remove Member From Group","id":"7526e16d-c519-4cec-81aa-1de03e428b3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:3000/api/groups/:gID/members/:userId","urlObject":{"path":["api","groups",":gID","members",":userId"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"14","key":"gID"},{"type":"any","value":"10","key":"userId"}]}},"response":[],"_postman_id":"7526e16d-c519-4cec-81aa-1de03e428b3c"},{"name":"Leave Group","id":"d47aa12f-4e06-449a-9724-6e4f0fb0bdb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/groups/:gID/leave","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","groups",":gID","leave"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"20","key":"gID"}]}},"response":[],"_postman_id":"d47aa12f-4e06-449a-9724-6e4f0fb0bdb7"},{"name":"Update Group Details","id":"fc18bc40-9b3c-411a-917f-150283515ebd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    //any combination of profile details can be updated alone or together\r\n    \"name\": \"Updated Group Name\",\r\n    \"description\": \"\",\r\n    \"theme_id\": 2,\r\n    \"visibility\": \"private\",\r\n    \"poster_url\": \"https://example.com/new-poster.jpg\",\r\n    \"tags\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/groups/:gID","urlObject":{"path":["api","groups",":gID"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"32","key":"gID"}]}},"response":[],"_postman_id":"fc18bc40-9b3c-411a-917f-150283515ebd"},{"name":"Approve Join Request","id":"ff7b7f88-e0e8-4a38-a3f2-480d69f491d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"url":"http://localhost:3000/api/groups/:gID/members/:userId/approve","urlObject":{"path":["api","groups",":gID","members",":userId","approve"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"","key":"gID"},{"type":"any","value":"","key":"userId"}]}},"response":[],"_postman_id":"ff7b7f88-e0e8-4a38-a3f2-480d69f491d7"},{"name":"Update Member Role","id":"bd48f72c-99a3-455e-9a47-8f09ec017869","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"role\": \"moderator\"\r\n}\r\n\r\n//{\r\n//  \"role\": \"member\"\r\n//}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/groups/:gID/members/:userId/role","urlObject":{"path":["api","groups",":gID","members",":userId","role"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"","key":"gID"},{"type":"any","value":"","key":"userId"}]}},"response":[],"_postman_id":"bd48f72c-99a3-455e-9a47-8f09ec017869"}],"id":"3bb1fbcf-a063-4939-abb9-0860d0f9a87b","_postman_id":"3bb1fbcf-a063-4939-abb9-0860d0f9a87b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}}},{"name":"Favorites","item":[{"name":"Remove from Watchlist","id":"210c03ed-03a6-4b83-9b5e-53eeea4d54f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/v1/favorites/{{movie_id}}/1","description":"<p>Remove movie from personal watchlist</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","v1","favorites","{{movie_id}}","1"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"210c03ed-03a6-4b83-9b5e-53eeea4d54f8"},{"name":"Remove from Personal Favorites","id":"f0be36c6-6b16-439e-bab2-4971650c21cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/v1/favorites/{{movie_id}}/2","description":"<p>Remove movie from personal favorites</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","v1","favorites","{{movie_id}}","2"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0be36c6-6b16-439e-bab2-4971650c21cb"},{"name":"Admin Remove from User's List","id":"3f9bc2fb-d4f5-4111-9a9b-d24f8258d56f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/v1/favorites/{{movie_id}}/2/{{user_id}}","description":"<p>Admin can remove movie from any user's favorites</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","v1","favorites","{{movie_id}}","2","{{user_id}}"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f9bc2fb-d4f5-4111-9a9b-d24f8258d56f"},{"name":"Remove from Group Favorites","id":"09619e79-4bc0-4471-8e7b-a257eacc5e5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:3000/api/v1/favorites/{{movie_id}}/3/group/{{group_id}}","description":"<p>Remove movie from group favorites (only group owners and admins)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","v1","favorites","{{movie_id}}","3","group","{{group_id}}"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"09619e79-4bc0-4471-8e7b-a257eacc5e5d"},{"name":"Check Favorite Status","id":"b62b66ed-409e-4368-8383-cf5fe307a2c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/favorites/status/{{movie_id}}","description":"<p>Check if movie is in user's favorites (watchlist, favorites, or group favorites)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","v1","favorites","status","{{movie_id}}"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"b62b66ed-409e-4368-8383-cf5fe307a2c4"},{"name":"Get User Watchlist","id":"b386b67a-e5e0-4dda-b8e4-40501a387073","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/favorites/user/{{user_id}}/1","description":"<p>Get user's watchlist (private - only user or admin can access)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","v1","favorites","user","{{user_id}}","1"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"b386b67a-e5e0-4dda-b8e4-40501a387073"},{"name":"Get User Favorites","id":"cd37cef2-59df-4f33-840e-42e361224d6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/favorites/user/{{user_id}}/2","description":"<p>Get user's personal favorites (public)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","v1","favorites","user","{{user_id}}","2"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd37cef2-59df-4f33-840e-42e361224d6b"},{"name":"Get Group Favorites","id":"67b2ae08-7160-4750-af94-c32b1195bac6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/favorites/group/{{group_id}}","description":"<p>Get group's favorite movies (visibility depends on group settings)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","v1","favorites","group","{{group_id}}"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"67b2ae08-7160-4750-af94-c32b1195bac6"},{"name":"Add to Watchlist","id":"d73752c3-b76a-45ed-8c1d-c07fad7af0d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"movie_id\": {{movie_id}},\n  \"type\": 1\n}"},"url":"http://localhost:3000/api/v1/favorites","description":"<p>Add movie to personal watchlist (type 1 - private)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","v1","favorites"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"d73752c3-b76a-45ed-8c1d-c07fad7af0d7"},{"name":"Add to Personal Favorites","id":"5fc0e28c-2d61-4a41-be35-3627c8dbaae5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"movie_id\": {{movie_id}},\n  \"type\": 2\n}"},"url":"http://localhost:3000/api/v1/favorites","description":"<p>Add movie to personal favorites (type 2 - public)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","v1","favorites"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"5fc0e28c-2d61-4a41-be35-3627c8dbaae5"},{"name":"Add to Group Favorites","id":"e8b37491-1011-4772-950a-6c04b9b5c4de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"movie_id\": {{movie_id}},\n  \"type\": 3,\n  \"group_id\": {{group_id}}\n}"},"url":"http://localhost:3000/api/v1/favorites","description":"<p>Add movie to group favorites (type 3 - requires group membership)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}},"urlObject":{"path":["api","v1","favorites"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8b37491-1011-4772-950a-6c04b9b5c4de"}],"id":"6d8fbdbd-c8ad-4a08-8c2c-dc66f715e11f","_postman_id":"6d8fbdbd-c8ad-4a08-8c2c-dc66f715e11f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"66f2b050-ce44-4be7-add0-99ed16616b0e","id":"66f2b050-ce44-4be7-add0-99ed16616b0e","name":"MovieTok Backend API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"variable":[{"key":"baseUrl","value":"http://localhost:3000","type":"string"},{"key":"authToken","value":"","type":"string"},{"key":"userId","value":"","type":"string"},{"key":"reviewId","value":"","type":"string"},{"key":"movieId","value":"test-movie-123","type":"string"},{"key":"testUserId","value":""},{"key":"testUserEmail","value":""},{"key":"testAuthToken","value":""},{"key":"testReviewId","value":""}]}