{"info":{"_postman_id":"3928e513-bd38-444c-906a-1bc73d643356","name":"Music Library","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"19954195","collectionId":"3928e513-bd38-444c-906a-1bc73d643356","publishedId":"2s9YyqiMvy","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-01-27T15:26:58.000Z"},"item":[{"name":"Auth","item":[{"name":"User SignUp","id":"b9ef5077-5ddc-429f-805e-aa957360ad55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Abu Said\",\r\n    \"email\": \"example@gmail.com\",\r\n    \"password\": \"12345678\",\r\n    \"address\": \"Dhaka\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/auth/sign-up","urlObject":{"protocol":"http","port":"4000","path":["api","auth","sign-up"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2d6b7a84-b50e-42d1-8e2b-8e1065594fa7","name":"User SignUp","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Abu Said\",\r\n    \"email\": \"example@gmail.com\",\r\n    \"password\": \"12345678\",\r\n    \"address\": \"Dhaka\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/auth/sign-up"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"422"},{"key":"ETag","value":"W/\"1a6-/uzstyDDJX3alB4NzZ0lWG/QkGY\""},{"key":"Date","value":"Sat, 27 Jan 2024 08:51:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User registration successfully!\",\n    \"user\": {\n        \"id\": 1,\n        \"name\": \"Abu Said\",\n        \"email\": \"example@gmail.com\",\n        \"password\": null,\n        \"address\": \"Dhaka\",\n        \"created_at\": \"2024-01-27T08:51:25.000Z\",\n        \"updated_at\": \"2024-01-27T08:51:25.000Z\"\n    },\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiZW1haWwiOiJleGFtcGxlQGdtYWlsLmNvbSIsImlhdCI6MTcwNjM0NTQ4NSwiZXhwIjoxNzA2NDMxODg1fQ.uMfBoo6nEaxyF0LA9_NqeDKMb4EMWoRo598JmfUnKt8\"\n}"}],"_postman_id":"b9ef5077-5ddc-429f-805e-aa957360ad55"},{"name":"User Login","id":"686e1b3a-40bb-4255-9081-daca736dc3a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"example@gmail.com\",\r\n    \"password\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/auth/login","urlObject":{"protocol":"http","port":"4000","path":["api","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9a687b2a-30de-483c-9a80-47f746e9ec37","name":"User Login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"example@gmail.com\",\r\n    \"password\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"239"},{"key":"ETag","value":"W/\"ef-Sxwrv77lEo6qFNhVBYVB+ocbr44\""},{"key":"Date","value":"Sat, 27 Jan 2024 08:51:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"User login successfully!\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiZW1haWwiOiJleGFtcGxlQGdtYWlsLmNvbSIsImlhdCI6MTcwNjM0NTQ5MywiZXhwIjoxNzA2NDMxODkzfQ.umvEeYnZ2GZxuQHs55wv9SAx4rjoRlfe5af8uoeMyYc\"\n}"}],"_postman_id":"686e1b3a-40bb-4255-9081-daca736dc3a2"}],"id":"83305377-9bcb-43bd-9489-38d85a1d971e","_postman_id":"83305377-9bcb-43bd-9489-38d85a1d971e","description":""},{"name":"Artists","item":[{"name":"Get all artists","id":"b14082ac-789c-4baf-a4e2-aeeebd2b5ce9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:4000/api/artists","urlObject":{"protocol":"http","port":"4000","path":["api","artists"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f9b1d161-4ec1-483a-9a82-2a9f985915c9","name":"Get all artists","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4000/api/artists"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"292"},{"key":"ETag","value":"W/\"124-HFbQe+QRwMs6mmbQzOC8A0YIyZ0\""},{"key":"Date","value":"Sat, 27 Jan 2024 16:17:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"artists\": [\n        {\n            \"id\": 1,\n            \"name\": \"Asif Akbar\",\n            \"country\": \"Bangladesh\",\n            \"created_at\": \"2024-01-27T16:14:20.000Z\",\n            \"updated_at\": \"2024-01-27T16:14:20.000Z\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Asif Akbar\",\n            \"country\": \"Bangladesh\",\n            \"created_at\": \"2024-01-27T16:14:33.000Z\",\n            \"updated_at\": \"2024-01-27T16:14:33.000Z\"\n        }\n    ]\n}"}],"_postman_id":"b14082ac-789c-4baf-a4e2-aeeebd2b5ce9"},{"name":"Get a single artist by id","id":"37f01f51-23ac-41f0-b198-e161815117ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:4000/api/artists/1","urlObject":{"protocol":"http","port":"4000","path":["api","artists","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a81e8020-6b4d-4391-8e02-0c000cf6d7b2","name":"Get a single artist by id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4000/api/artists/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"157"},{"key":"ETag","value":"W/\"9d-yxO0h3VPXf53GuvxePMZA1K15XM\""},{"key":"Date","value":"Sat, 27 Jan 2024 16:17:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"artist\": {\n        \"id\": 1,\n        \"name\": \"Asif Akbar\",\n        \"country\": \"Bangladesh\",\n        \"created_at\": \"2024-01-27T16:14:20.000Z\",\n        \"updated_at\": \"2024-01-27T16:14:20.000Z\"\n    }\n}"}],"_postman_id":"37f01f51-23ac-41f0-b198-e161815117ba"},{"name":"Get Artist list in an album","id":"47c6a74b-2067-4b14-a731-c05fa72cebf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:4000/api/artists/album/1","urlObject":{"protocol":"http","port":"4000","path":["api","artists","album","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3daf0c92-e7ad-46ce-a7a4-83cab0772002","name":"Get Artist list in an album","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4000/api/artists/album/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"160"},{"key":"ETag","value":"W/\"a0-IlVhPjs9PczGWuhZO6iEDRDO7OQ\""},{"key":"Date","value":"Sat, 27 Jan 2024 16:15:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"artists\": [\n        {\n            \"id\": 1,\n            \"name\": \"Asif Akbar\",\n            \"country\": \"Bangladesh\",\n            \"created_at\": \"2024-01-27T16:14:20.000Z\",\n            \"updated_at\": \"2024-01-27T16:14:20.000Z\"\n        }\n    ]\n}"}],"_postman_id":"47c6a74b-2067-4b14-a731-c05fa72cebf2"},{"name":"Delete an artist by id","id":"f1fc0881-9b1f-41a1-bf51-46368a9c1a52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:4000/api/artists/1","urlObject":{"protocol":"http","port":"4000","path":["api","artists","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3b81649a-8a41-44c5-bbd3-07e45773fa50","name":"Delete an artist by id","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:4000/api/artists/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-6jJWXMLw9AOq/weVB8hvnf7HYag\""},{"key":"Date","value":"Sat, 27 Jan 2024 15:21:30 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Artist deleted successfully!\"\n}"}],"_postman_id":"f1fc0881-9b1f-41a1-bf51-46368a9c1a52"},{"name":"Add new artist","id":"74c5f8d2-7714-457e-8564-7c199c903fe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Asif Akbar\",\r\n    \"country\": \"Bangladesh\",\r\n    \"albums\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/artists","urlObject":{"protocol":"http","port":"4000","path":["api","artists"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b2d97a35-be40-4f87-9d68-4430fd1ace66","name":"Add new artist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Asif Akbar\",\r\n    \"country\": \"Bangladesh\",\r\n    \"albums\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/artists"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"194"},{"key":"ETag","value":"W/\"c2-9fps3Nxn5hCAXZO2CN6BzVuTEdk\""},{"key":"Date","value":"Sat, 27 Jan 2024 16:14:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Artist added successfully!\",\n    \"data\": {\n        \"id\": 2,\n        \"name\": \"Asif Akbar\",\n        \"country\": \"Bangladesh\",\n        \"created_at\": \"2024-01-27T16:14:33.000Z\",\n        \"updated_at\": \"2024-01-27T16:14:33.000Z\"\n    }\n}"}],"_postman_id":"74c5f8d2-7714-457e-8564-7c199c903fe6"},{"name":"Update an artist","id":"a8c74d9a-b587-4d99-8d2c-7ae5608f2227","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Shaikh Saadi\",\r\n    \"country\": \"Bangladesh\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/artists/2","urlObject":{"protocol":"http","port":"4000","path":["api","artists","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d3bae60c-d8a4-495d-9a95-7d10822afd0f","name":"Update an artist","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Shaikh Saadi\",\r\n    \"country\": \"Bangladesh\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/artists/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-kuhV4zdMtlhzUlvqjXAPpqXP6JQ\""},{"key":"Date","value":"Sat, 27 Jan 2024 15:21:07 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Artist updated successfully!\"\n}"}],"_postman_id":"a8c74d9a-b587-4d99-8d2c-7ae5608f2227"}],"id":"fe055c07-fec4-46e4-aac4-2747f41b541e","_postman_id":"fe055c07-fec4-46e4-aac4-2747f41b541e","description":""},{"name":"Albums","item":[{"name":"Get all albums","id":"595f18dd-ee9b-4b91-b071-8c994ca171a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:4000/api/albums","urlObject":{"protocol":"http","port":"4000","path":["api","albums"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"76790363-d507-4295-8ec7-d8619b7d79c1","name":"Get all albums","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4000/api/albums"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"481"},{"key":"ETag","value":"W/\"1e1-gOf90423HEFTAlXzI+mrL+/M0B8\""},{"key":"Date","value":"Sat, 27 Jan 2024 15:21:49 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"albums\": [\n        {\n            \"id\": 1,\n            \"title\": \"Mon mane na re\",\n            \"release_year\": \"2020\",\n            \"genre\": \"hit\",\n            \"created_at\": \"2024-01-27T08:52:23.000Z\",\n            \"updated_at\": \"2024-01-27T08:52:45.000Z\"\n        },\n        {\n            \"id\": 2,\n            \"title\": \"Mon mane na keno\",\n            \"release_year\": \"2020\",\n            \"genre\": \"hit\",\n            \"created_at\": \"2024-01-27T12:53:38.000Z\",\n            \"updated_at\": \"2024-01-27T12:53:38.000Z\"\n        },\n        {\n            \"id\": 3,\n            \"title\": \"Mon mane na keno\",\n            \"release_year\": \"2020\",\n            \"genre\": \"hit\",\n            \"created_at\": \"2024-01-27T12:54:18.000Z\",\n            \"updated_at\": \"2024-01-27T12:54:18.000Z\"\n        }\n    ]\n}"}],"_postman_id":"595f18dd-ee9b-4b91-b071-8c994ca171a1"},{"name":"Get a single album by id","id":"beb75c01-9ca7-4d73-a8d0-f7b2178270d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:4000/api/albums/1","urlObject":{"protocol":"http","port":"4000","path":["api","albums","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"eb112b2f-0210-4680-9c7f-f3321d0d0f2f","name":"Get a single album by id","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4000/api/albums/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"175"},{"key":"ETag","value":"W/\"af-lt1etM57zfaDlS+KeRAWQ8a8ZaM\""},{"key":"Date","value":"Sat, 27 Jan 2024 15:22:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"artist\": {\n        \"id\": 1,\n        \"title\": \"Mon mane na re\",\n        \"release_year\": \"2020\",\n        \"genre\": \"hit\",\n        \"created_at\": \"2024-01-27T08:52:23.000Z\",\n        \"updated_at\": \"2024-01-27T08:52:45.000Z\"\n    }\n}"}],"_postman_id":"beb75c01-9ca7-4d73-a8d0-f7b2178270d1"},{"name":"Get All album by artist","id":"32fa90d5-0ed2-4383-acc8-2cca88fed598","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:4000/api/albums/artist/3","urlObject":{"protocol":"http","port":"4000","path":["api","albums","artist","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6819549d-2732-4187-b636-1104dc956a34","name":"Get a single album by id Copy","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4000/api/albums/artist/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"331"},{"key":"ETag","value":"W/\"14b-CzETp1kUx8ItPWDZyKO3wMMTB4Q\""},{"key":"Date","value":"Sat, 27 Jan 2024 14:41:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"albums\": [\n        {\n            \"id\": 2,\n            \"title\": \"Mon mane na keno\",\n            \"release_year\": \"2020\",\n            \"genre\": \"hit\",\n            \"created_at\": \"2024-01-27T12:53:38.000Z\",\n            \"updated_at\": \"2024-01-27T12:53:38.000Z\"\n        },\n        {\n            \"id\": 3,\n            \"title\": \"Mon mane na keno\",\n            \"release_year\": \"2020\",\n            \"genre\": \"hit\",\n            \"created_at\": \"2024-01-27T12:54:18.000Z\",\n            \"updated_at\": \"2024-01-27T12:54:18.000Z\"\n        }\n    ]\n}"}],"_postman_id":"32fa90d5-0ed2-4383-acc8-2cca88fed598"},{"name":"Delete an album by id","id":"e3b61cf3-7030-4397-94cb-b76d31a9f010","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:4000/api/albums/4","urlObject":{"protocol":"http","port":"4000","path":["api","albums","4"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"902a44c7-4b1b-41d4-b1fc-ffb1674df765","name":"Delete an album by id","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:4000/api/albums/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"56"},{"key":"ETag","value":"W/\"38-SxRLgaBim5QNCU44Ji3S4IlTotw\""},{"key":"Date","value":"Sat, 27 Jan 2024 14:41:37 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Album deleted successfully!\"\n}"}],"_postman_id":"e3b61cf3-7030-4397-94cb-b76d31a9f010"},{"name":"Add new album","id":"81c3ae3c-316e-4f16-9de2-c89e459e197e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Mon mane na\",\r\n    \"release_year\": 2020,\r\n    \"genre\": \"hit\",\r\n    \"artists\": [1]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/albums","urlObject":{"protocol":"http","port":"4000","path":["api","albums"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f7d88eae-1e0b-4a96-8eaf-3dcf9676194d","name":"Add new album","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Mon mane na keno\",\r\n    \"release_year\": \"2020\",\r\n    \"genre\": \"hit\",\r\n    \"artists\": [1, 2]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/albums"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"213"},{"key":"ETag","value":"W/\"d5-JpZExrFKDManiE/1+XNzUITK4vI\""},{"key":"Date","value":"Sat, 27 Jan 2024 12:54:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Album added successfully!\",\n    \"data\": {\n        \"id\": 4,\n        \"title\": \"Mon mane na keno\",\n        \"release_year\": \"2020\",\n        \"genre\": \"hit\",\n        \"created_at\": \"2024-01-27T12:54:54.000Z\",\n        \"updated_at\": \"2024-01-27T12:54:54.000Z\"\n    }\n}"}],"_postman_id":"81c3ae3c-316e-4f16-9de2-c89e459e197e"},{"name":"Update an album","id":"e301be57-8190-487e-890f-ebc51093bb6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Mon mane na re\",\r\n    \"release_year\": 2023,\r\n    \"genre\": \"hit\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/albums/1","urlObject":{"protocol":"http","port":"4000","path":["api","albums","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"445f2419-de1b-4c60-9e75-d919f5e9deac","name":"Update an album","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Mon mane na re\",\r\n    \"release_year\": \"2020\",\r\n    \"genre\": \"hit\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/albums/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"56"},{"key":"ETag","value":"W/\"38-jyzHXyC+q7JxYq0C5PbFo3HuRbI\""},{"key":"Date","value":"Sat, 27 Jan 2024 08:52:45 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Album updated successfully!\"\n}"}],"_postman_id":"e301be57-8190-487e-890f-ebc51093bb6b"}],"id":"9fd0e615-78fb-4b89-8492-36b015a29bc5","_postman_id":"9fd0e615-78fb-4b89-8492-36b015a29bc5","description":""},{"name":"Song","item":[{"name":"Get All song","id":"f24f8b49-0ba1-4e39-8e20-185f8991d9c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:4000/api/songs","urlObject":{"protocol":"http","port":"4000","path":["api","songs"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"26536718-931b-4e5e-be83-485e7421387e","name":"Get All song","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4000/api/songs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"162"},{"key":"ETag","value":"W/\"a2-7kTfXP3FaWVMy2H2TFqPWvlBPh4\""},{"key":"Date","value":"Sat, 27 Jan 2024 14:52:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"songs\": [\n        {\n            \"id\": 1,\n            \"title\": \"Jani na\",\n            \"duration\": \"4 min\",\n            \"album\": 1,\n            \"created_at\": \"2024-01-27T09:19:15.000Z\",\n            \"updated_at\": \"2024-01-27T14:52:00.000Z\"\n        }\n    ]\n}"}],"_postman_id":"f24f8b49-0ba1-4e39-8e20-185f8991d9c3"},{"name":"Get a song details","id":"caf0436a-d360-4e3b-8788-249f0dde2cd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:4000/api/songs/1","urlObject":{"protocol":"http","port":"4000","path":["api","songs","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0464d8a6-c21b-4d86-96a6-1c9e0494745f","name":"Get All song Copy","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4000/api/songs/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"90"},{"key":"ETag","value":"W/\"5a-NoggqaWRe3R2bdN/ofUqSfZak6s\""},{"key":"Date","value":"Sat, 27 Jan 2024 09:42:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"songs\": [\n        {\n            \"id\": 1,\n            \"title\": \"Jani na\",\n            \"duration\": \"3 min\",\n            \"album\": \"Jani na\"\n        }\n    ]\n}"}],"_postman_id":"caf0436a-d360-4e3b-8788-249f0dde2cd9"},{"name":"Delete a song by id","id":"d9f3b5a7-a2ab-4908-94f6-c56be90ba1b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:4000/api/songs/2","urlObject":{"protocol":"http","port":"4000","path":["api","songs","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0e2d7741-e767-40a7-a7c3-d5e2cb1ba26c","name":"Get a song details Copy","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:4000/api/songs/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"ETag","value":"W/\"37-MXcgUhorgDAH/R4m50U3QuEwWLM\""},{"key":"Date","value":"Sat, 27 Jan 2024 14:52:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Song deleted successfully!\"\n}"}],"_postman_id":"d9f3b5a7-a2ab-4908-94f6-c56be90ba1b7"},{"name":"Add new song","id":"2ebe46e5-abed-4c63-a1bb-67ee9fe66766","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Jani na\",\r\n    \"duration\": \"3 min\",\r\n    \"album\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/songs","urlObject":{"protocol":"http","port":"4000","path":["api","songs"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"68be3025-53f7-41c1-b3d6-29a62016e619","name":"Get a song details Copy","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Jani na\",\r\n    \"duration\": \"3 min\",\r\n    \"album\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/songs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"53"},{"key":"ETag","value":"W/\"35-tLsnNhJWmBs0ISba6FdpCKh68iY\""},{"key":"Date","value":"Sat, 27 Jan 2024 14:52:10 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Song added successfully!\"\n}"}],"_postman_id":"2ebe46e5-abed-4c63-a1bb-67ee9fe66766"},{"name":"Update Song by id","id":"6f5d0747-4b80-406b-9c00-f459c1ad07ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Jani na\",\r\n    \"duration\": \"4 min\",\r\n    \"album\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/songs/1","urlObject":{"protocol":"http","port":"4000","path":["api","songs","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e1f5b81c-ed51-4209-b0ee-e0ff8bf4eb2b","name":"Add new song Copy","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Jani na\",\r\n    \"duration\": \"4 min\",\r\n    \"album\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/songs/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"ETag","value":"W/\"37-qVHsyNNTsSi8AYdlwUGk+niNTw4\""},{"key":"Date","value":"Sat, 27 Jan 2024 14:52:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Song updated successfully!\"\n}"}],"_postman_id":"6f5d0747-4b80-406b-9c00-f459c1ad07ef"},{"name":"Get All song for an album","id":"e218b036-f3f6-4ac9-834b-02897479ce5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Jani na\",\r\n    \"duration\": \"3 min\",\r\n    \"album\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/songs/album/1","urlObject":{"protocol":"http","port":"4000","path":["api","songs","album","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"21811eca-0693-406e-8e45-b17c8192e2ed","name":"All song for an album","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Jani na\",\r\n    \"duration\": \"3 min\",\r\n    \"album\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/songs/album/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"95"},{"key":"ETag","value":"W/\"5f-S+9Sz3mjcyLOzysvxsFB0ENNW+w\""},{"key":"Date","value":"Sat, 27 Jan 2024 14:51:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"songs\": [\n        {\n            \"id\": 1,\n            \"title\": \"Jani na\",\n            \"duration\": \"3 min\",\n            \"album_name\": \"Jani na\"\n        }\n    ]\n}"}],"_postman_id":"e218b036-f3f6-4ac9-834b-02897479ce5d"}],"id":"c57416e6-2eef-43f4-b4f9-350edfab73ac","_postman_id":"c57416e6-2eef-43f4-b4f9-350edfab73ac","description":""}]}