{"info":{"_postman_id":"6a2b3197-2169-4fca-9d9f-31b08466ab19","name":"Sonic Connect API","description":"<html><head></head><body><p>Sample collection of APIs for music app Sonic Connect.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"9878109","collectionId":"6a2b3197-2169-4fca-9d9f-31b08466ab19","publishedId":"2sA3JM7gkf","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-05-10T17:23:01.000Z"},"item":[{"name":"Auth","item":[{"name":"Signup User","id":"9285de9a-eb2e-4b0a-9d55-b1aa6abed20e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"Marguerite Hilll\",\n  \"email\": \"Pauline.Kshlerin19@example.net\",\n  \"password\": \"password1234\",\n  \"confirmPassword\": \"password1234\",\n  \"role\": \"admin\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/signup","description":"<p>Allows a user to sign up for a new account.</p>\n","urlObject":{"path":["api","v1","auth","signup"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"9f9d7b30-8163-44b7-bbda-912cebe78c27","name":"Signup Admin","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"admin\",\n  \"email\": \"admin@email.com\",\n  \"password\": \"admin1234567\",\n  \"confirmPassword\": \"admin1234567\",\n  \"role\": \"admin\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/signup"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"165"},{"key":"ETag","value":"W/\"a5-vLiwKpnYMkXcsrBYOu/VmVnFcSI\""},{"key":"Date","value":"Mon, 29 Apr 2024 14:36:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"662fb0798c0fb886f9b9239d\",\n            \"name\": \"admin\",\n            \"createdAt\": \"2024-04-29T14:36:41.875Z\"\n        }\n    },\n    \"message\": \"User successfully signed up.\"\n}"},{"id":"929b19cd-0547-4342-b804-62ace8603e0d","name":"Signup User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"tashi\",\n  \"email\": \"tashi@email.com\",\n  \"password\": \"tashi1234567\",\n  \"confirmPassword\": \"tashi1234567\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/signup"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"165"},{"key":"ETag","value":"W/\"a5-1oRls66e2AAQu+Z0xjc5JuTkaQw\""},{"key":"Date","value":"Mon, 29 Apr 2024 14:37:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"662fb0a58c0fb886f9b9239f\",\n            \"name\": \"tashi\",\n            \"createdAt\": \"2024-04-29T14:37:25.584Z\"\n        }\n    },\n    \"message\": \"User successfully signed up.\"\n}"}],"_postman_id":"9285de9a-eb2e-4b0a-9d55-b1aa6abed20e"},{"name":"Forgot Password","id":"64ba1819-c0a6-444a-9fa0-f7d0b0a78405","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"email\": \"test@email.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/forgotPassword","description":"<p>Allows a user to request for a password reset link when user forgets their password. The API Sends a message to the user email with a password reset link that will be valid only for 10 mins.</p>\n","urlObject":{"path":["api","v1","auth","forgotPassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"3b3bf5c6-1292-477a-887a-eb944e608f20","name":"Forgot Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"email\": \"test@email.com\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/forgotPassword"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"76"},{"key":"ETag","value":"W/\"4c-SuS4X3ZbdVaP6ht3C0VzBVWO1Z4\""},{"key":"Date","value":"Wed, 17 Apr 2024 17:17:29 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Password reset link sent to the user email.\"\n}"}],"_postman_id":"64ba1819-c0a6-444a-9fa0-f7d0b0a78405"},{"name":"Reset Password","id":"b618c411-2e5b-4159-bf86-86e1de6e75ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"newPassword\": \"abcdefg123\",\n  \"confirmPassword\": \"abcdefg123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/resetPassword/8f553722f56685edbeec286196348e0828b18dd1e3be3d5eb353c2053fa6bfaa","description":"<p>Allows a user(not logged in) to reset their forgotten password. New password must not be the same as the old password.</p>\n<p>Once users change their password, they will be prompted to log in using the updated password.</p>\n","urlObject":{"path":["api","v1","auth","resetPassword","8f553722f56685edbeec286196348e0828b18dd1e3be3d5eb353c2053fa6bfaa"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"b4df05d3-2643-4b4f-8167-3a8c21ef949d","name":"Reset Password","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"newPassword\": \"test1234567\",\n  \"confirmPassword\": \"test1234567\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/resetPassword/60290180f324d0b3bdd3e98bba405efee86badad547064c4d62a13fc944c75cd"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"181"},{"key":"ETag","value":"W/\"b5-koTXcYnUqKEXcoDb4o95u05z2TM\""},{"key":"Date","value":"Mon, 29 Apr 2024 15:00:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"662fb434530fe9492645eb00\",\n            \"name\": \"test\",\n            \"passwordChangedAt\": \"2024-04-29T15:00:08.516Z\"\n        }\n    },\n    \"message\": \"Password has been successfully reset.\"\n}"}],"_postman_id":"b618c411-2e5b-4159-bf86-86e1de6e75ff"},{"name":"Login User","event":[{"listen":"test","script":{"id":"f1a9ba0e-c657-462e-9670-0e88394e373c","exec":["// Extract JWT from the response body","const { jwt } = pm.response.json();","","// Set JWT in the environment variable","pm.environment.set('jwt', jwt);"],"type":"text/javascript","packages":{}}}],"id":"81bbd2a4-e2ae-425d-8326-2dca0b4d8e18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"email\": \"test@email.com\",\n  \"password\": \"test1234567\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/login","description":"<p>Allows a user to login to their account. Generates a JWT token and sends it in the response body. Protected routes receive the JWT token in the form of an \"Authorization Bearer\" header. Upon user logout, the JWT token becomes invalidated, requiring the user to log in again to obtain a new token. Each JWT token remains valid for a duration of one day.</p>\n<p>If an account is deactivated, logging in will reactivate the account.</p>\n","urlObject":{"path":["api","v1","auth","login"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"7cec9b8b-4eca-41d3-b4b9-dcb7101cd504","name":"Login Tashi","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"email\": \"tashi@email.com\",\n  \"password\": \"tashi1234567\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"311"},{"key":"ETag","value":"W/\"137-kldsHzbSCB0hhss999c3dhwQ5rw\""},{"key":"Date","value":"Mon, 29 Apr 2024 14:39:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"jwt\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NjJmYjBhNThjMGZiODg2ZjliOTIzOWYiLCJpYXQiOjE3MTQ0MDE1NTEsImV4cCI6MTcxNDQ4Nzk1MX0.BJm0LxozWbCzAJFPtqjfg5l1zyVSHxwBixB0QBcpUwQ\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"662fb0a58c0fb886f9b9239f\",\n            \"name\": \"tashi\"\n        }\n    },\n    \"message\": \"User successfully logged in.\"\n}"},{"id":"5811521e-b996-49df-85bc-db3f670cdfed","name":"Login Ori","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"email\": \"ori@email.com\",\n  \"password\": \"ori1234567\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"309"},{"key":"ETag","value":"W/\"135-OpOci73QXJ9ZRa73ZrR4aK9Iqq4\""},{"key":"Date","value":"Mon, 29 Apr 2024 14:40:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"jwt\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NjJmYjBjNThjMGZiODg2ZjliOTIzYTEiLCJpYXQiOjE3MTQ0MDE2MTgsImV4cCI6MTcxNDQ4ODAxOH0.2ErI-obQ1lHkZuv7XND13BJHIj24qRsebayi-vNASb4\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"662fb0c58c0fb886f9b923a1\",\n            \"name\": \"ori\"\n        }\n    },\n    \"message\": \"User successfully logged in.\"\n}"},{"id":"65738265-1951-4ef7-b619-8352cd59092a","name":"Login Admin","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"email\": \"admin@email.com\",\n  \"password\": \"admin1234567\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"311"},{"key":"ETag","value":"W/\"137-kjwZJD3BOIOOQOMT3KbdPd4mGmM\""},{"key":"Date","value":"Mon, 29 Apr 2024 14:40:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"jwt\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NjJmYjA3OThjMGZiODg2ZjliOTIzOWQiLCJpYXQiOjE3MTQ0MDE2NDcsImV4cCI6MTcxNDQ4ODA0N30.c7C3MB_Q_DhYUAZRY-zr9e9RLNKEj45AazSDxupXj34\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"662fb0798c0fb886f9b9239d\",\n            \"name\": \"admin\"\n        }\n    },\n    \"message\": \"User successfully logged in.\"\n}"}],"_postman_id":"81bbd2a4-e2ae-425d-8326-2dca0b4d8e18"},{"name":"Logout a User","event":[{"listen":"test","script":{"id":"8156c09e-c670-48eb-b630-c0c991e8dcb7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"444a6664-e4fb-4e03-84f9-a25cd6f68dbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/logout","description":"<p>Allows a logged-in user to logout from their account. Upon user logout, the JWT token becomes invalidated, requiring the user to log in again to obtain a new token.</p>\n","urlObject":{"path":["api","v1","auth","logout"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"776dbf1a-f72b-433c-a937-0ca84d717378","name":"Logout a User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/auth/logout"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"72"},{"key":"ETag","value":"W/\"48-f7VnK0+LR/RWEQ3CVEns0Ar0m4g\""},{"key":"Date","value":"Mon, 29 Apr 2024 14:48:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"User \\\"admin\\\" successfully logged out.\"\n}"}],"_postman_id":"444a6664-e4fb-4e03-84f9-a25cd6f68dbb"}],"id":"f9f71164-4435-4326-90c2-bddd64b099ff","description":"<p>User authentication related routes such as signup, login, logout and reset password.</p>\n","_postman_id":"f9f71164-4435-4326-90c2-bddd64b099ff"},{"name":"Ping","item":[{"name":"Ping","id":"354a7f9d-3a46-46a1-965b-8ea6e37ead59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/ping","description":"<p>A simple health check endpoint to verify that the server is up and running<br />and able to respond to requests.</p>\n","urlObject":{"path":["api","v1","ping"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"c7823aef-51fe-4247-9c21-cbd3917734b1","name":"Ping","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/ping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"44"},{"key":"ETag","value":"W/\"2c-9/lpLH5X8bhEbtGNNhKWVCC730Q\""},{"key":"Date","value":"Wed, 17 Apr 2024 17:33:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"data\": {\n        \"version\": \"0.0.0-1\"\n    }\n}"}],"_postman_id":"354a7f9d-3a46-46a1-965b-8ea6e37ead59"}],"id":"ce024b8b-50c8-4939-a147-d0fc77392dc4","description":"<p>Route for health check.</p>\n","_postman_id":"ce024b8b-50c8-4939-a147-d0fc77392dc4"},{"name":"Users","item":[{"name":"Update Profile","id":"7a9d85cb-7b25-44ea-96ec-6290ba373934","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"dob\": {\n\t\"year\": 1998,\n\t\"month\": 12,\n\t\"day\": 5\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/profile","description":"<p>Allows a user to update their profile infos (such as name, dob etc exceptions are user email,<br />password, role and active status).</p>\n","urlObject":{"path":["api","v1","users","profile"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"383ed000-2ef9-404b-858f-fb0cf1d2655a","name":"Update Profile","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"dob\": {\n\t\"year\": 1998,\n\t\"month\": 12,\n\t\"day\": 5\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"226"},{"key":"ETag","value":"W/\"e2-5ZuHW5/9t0jKmC3MNUib1i19wck\""},{"key":"Date","value":"Mon, 29 Apr 2024 15:09:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"662fb434530fe9492645eb00\",\n            \"name\": \"test\",\n            \"email\": \"test@email.com\",\n            \"createdAt\": \"2024-04-29T14:52:36.878Z\",\n            \"updatedAt\": \"2024-04-29T15:09:11.317Z\",\n            \"dob\": {\n                \"year\": 1998,\n                \"month\": 12,\n                \"day\": 5\n            }\n        }\n    }\n}"}],"_postman_id":"7a9d85cb-7b25-44ea-96ec-6290ba373934"},{"name":"Deactivate Profile","event":[{"listen":"test","script":{"id":"8d8e869b-4dcf-456c-8011-06ee1590767e","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}}],"id":"0454686c-3b58-438a-a2d6-2b8323e975a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/users/profile","description":"<p>Allows logged in user to soft delete their account. Sets user's \"active\" field to false and clears JWT token from cookie.</p>\n<p>NOTE: User will be activated if they log back to their account again with correct email and password.</p>\n","urlObject":{"path":["api","v1","users","profile"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"4de44ed1-65a4-4b17-ace8-9a20ddcb669a","name":"Deactivate Profile","originalRequest":{"method":"DELETE","header":[],"url":"{{URL}}/api/v1/users/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"88"},{"key":"ETag","value":"W/\"58-ZzzxUz3D4SE8UQ4g+z/1KeBXkAM\""},{"key":"Date","value":"Mon, 29 Apr 2024 15:13:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"user\": null\n    },\n    \"message\": \"Your account has been deactivated.\"\n}"}],"_postman_id":"0454686c-3b58-438a-a2d6-2b8323e975a5"},{"name":"Update Password","id":"d1022907-cf30-4c9a-9764-1f9a3c8c87bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"newPassword\": \"test1234567\",\n  \"confirmPassword\": \"test1234567\",\n  \"currentPassword\": \"test-new-password\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/profile/password","description":"<p>Allows user to update their password when logged in. The new password must not match the current/old password. The user must also provide the current/old password.</p>\n<p>Once users change their password, they will be logged out and will be required to log back in using the updated password.</p>\n","urlObject":{"path":["api","v1","users","profile","password"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"7d859473-8563-4b13-bedf-482ab0a10e01","name":"Update Password","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"newPassword\": \"test-new-password\",\n  \"confirmPassword\": \"test-new-password\",\n  \"currentPassword\": \"test1234567\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/profile/password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"330"},{"key":"ETag","value":"W/\"14a-57F+UZo1zMVDdhdFZHVxqFYOGKw\""},{"key":"Date","value":"Mon, 29 Apr 2024 15:10:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"662fb434530fe9492645eb00\",\n            \"name\": \"test\",\n            \"email\": \"test@email.com\",\n            \"createdAt\": \"2024-04-29T14:52:36.878Z\",\n            \"updatedAt\": \"2024-04-29T15:10:33.381Z\",\n            \"passwordChangedAt\": \"2024-04-29T15:10:33.380Z\",\n            \"dob\": {\n                \"year\": 1998,\n                \"month\": 12,\n                \"day\": 5\n            }\n        }\n    },\n    \"message\": \"Your password has been updated successfully.\"\n}"}],"_postman_id":"d1022907-cf30-4c9a-9764-1f9a3c8c87bf"},{"name":"Get all Users","event":[{"listen":"test","script":{"id":"e9d45e62-a39a-4efd-83a0-def90e2771d9","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5571ed00-ab50-4b9b-a932-863e85ec4a2f","exec":["console.clear();"],"type":"text/javascript","packages":{}}}],"id":"4b030b7f-b06b-42d1-bfff-872e4a9cbad2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users","description":"<p>Gets all active and non active users (Protected route accessible only by Admins).</p>\n","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"3def7975-edb3-40aa-8517-a4990d5eeb2a","name":"Get all Users","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1120"},{"key":"ETag","value":"W/\"460-yuMO6Fz07YJ73GIL81aDDJx3a6g\""},{"key":"Date","value":"Mon, 29 Apr 2024 15:06:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"users\": [\n            {\n                \"_id\": \"662fb0798c0fb886f9b9239d\",\n                \"name\": \"admin\",\n                \"email\": \"admin@email.com\",\n                \"role\": \"admin\",\n                \"active\": true,\n                \"createdAt\": \"2024-04-29T14:36:41.875Z\",\n                \"revokedTokens\": [\n                    \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NjJmYjA3OThjMGZiODg2ZjliOTIzOWQiLCJpYXQiOjE3MTQ0MDE2NDcsImV4cCI6MTcxNDQ4ODA0N30.c7C3MB_Q_DhYUAZRY-zr9e9RLNKEj45AazSDxupXj34\"\n                ],\n                \"updatedAt\": \"2024-04-29T14:48:33.502Z\"\n            },\n            {\n                \"_id\": \"662fb0a58c0fb886f9b9239f\",\n                \"name\": \"tashi\",\n                \"email\": \"tashi@email.com\",\n                \"role\": \"user\",\n                \"active\": true,\n                \"createdAt\": \"2024-04-29T14:37:25.584Z\",\n                \"passwordResetToken\": \"3dfc447cc30701381257f808997e09d0cb92a2a91451eef66cb44b75eda7846d\",\n                \"passwordResetTokenExpires\": \"2024-04-29T15:05:35.896Z\",\n                \"updatedAt\": \"2024-04-29T14:55:35.897Z\"\n            },\n            {\n                \"_id\": \"662fb0c58c0fb886f9b923a1\",\n                \"name\": \"ori\",\n                \"email\": \"ori@email.com\",\n                \"role\": \"user\",\n                \"active\": true,\n                \"createdAt\": \"2024-04-29T14:37:57.560Z\"\n            },\n            {\n                \"_id\": \"662fb434530fe9492645eb00\",\n                \"name\": \"test\",\n                \"email\": \"test@email.com\",\n                \"role\": \"user\",\n                \"active\": true,\n                \"createdAt\": \"2024-04-29T14:52:36.878Z\",\n                \"updatedAt\": \"2024-04-29T15:00:08.518Z\",\n                \"passwordChangedAt\": \"2024-04-29T15:00:08.516Z\"\n            }\n        ]\n    },\n    \"count\": 4\n}"}],"_postman_id":"4b030b7f-b06b-42d1-bfff-872e4a9cbad2"},{"name":"Get a User","id":"0b7d4cdc-794f-4c44-97e4-ee1425b6d728","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users/:userid","description":"<p>Gets a user details by their unique identifier. Requires that the user must be logged in with a JWT token.</p>\n","urlObject":{"path":["api","v1","users",":userid"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"662fb0a58c0fb886f9b9239f","key":"userid"}]}},"response":[{"id":"da06e01f-3163-4159-8f97-b951178c21ac","name":"Get a User","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/users/662fb0a58c0fb886f9b9239f"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"85"},{"key":"ETag","value":"W/\"55-jt9HAKKM0hyV/03/0cqa+CY0ghM\""},{"key":"Date","value":"Mon, 29 Apr 2024 15:08:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"662fb0a58c0fb886f9b9239f\",\n            \"name\": \"tashi\"\n        }\n    }\n}"}],"_postman_id":"0b7d4cdc-794f-4c44-97e4-ee1425b6d728"},{"name":"Get User Profile","id":"8ce72a4d-6c8a-4a0f-a1f7-ae5bc8e06b25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/users/profile","description":"<p>Gets the profile details of the user who is currently logged in.</p>\n","urlObject":{"path":["api","v1","users","profile"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"52c91121-23f3-4533-bfa0-ce266aae8668","name":"Get User Profile","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/api/v1/users/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"204"},{"key":"ETag","value":"W/\"cc-WRHaGDtkG7TePlPtnHSp9iIAj18\""},{"key":"Date","value":"Mon, 29 Apr 2024 15:05:17 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"user\": {\n            \"id\": \"662fb0798c0fb886f9b9239d\",\n            \"name\": \"admin\",\n            \"email\": \"admin@email.com\",\n            \"role\": \"admin\",\n            \"createdAt\": \"2024-04-29T14:36:41.875Z\",\n            \"updatedAt\": \"2024-04-29T14:48:33.502Z\"\n        }\n    }\n}"}],"_postman_id":"8ce72a4d-6c8a-4a0f-a1f7-ae5bc8e06b25"}],"id":"31012cc8-281a-4b63-bd77-7ed65cc1901a","description":"<p>Routes to get, delete and update profiles, and update passwords by logged in users.</p>\n","_postman_id":"31012cc8-281a-4b63-bd77-7ed65cc1901a"},{"name":"Songs","item":[{"name":"Add a Song","id":"2b819ae2-559b-414e-956c-e784e1cfbd9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Delete Me\",\n    \"duration\": 10000,\n    \"genre\": [\n        \"dance\",\n        \"pop\"\n    ],\n    \"artists\": [\"662fc41972af9df270958358\"],\n    \"featuredArtists\": [\n        \"662fc49272af9df270958368\"\n    ],\n    \"album\": \"662fc5a972af9df27095837d\",\n    \"releaseDate\": \"2023-10-13\",\n    \"audioFile\": \"662fd7408d935f09a6497bf2\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/songs","description":"<p>Allows admins to add songs.(Protected route accessible only by Admins). Admins must be logged in with a JWT token.</p>\n<p>Prior to adding a song, admins must ensure that the artist and if applicable, the album associated with the song have been created. Additionally, admins must also upload audio file and if applicable, the song's photo.</p>\n","urlObject":{"path":["api","v1","songs"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"c56ab274-7dbf-45b1-8c04-8d3fc0d9f14d","name":"Add a Song","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"I Like It With You\",\n    \"duration\": 150000,\n    \"genre\": [\n        \"dance\",\n        \"pop\"\n    ],\n    \"artists\": [\n        \"662fc49272af9df270958368\"\n    ],\n    \"album\": \"662fc5a972af9df27095837d\",\n    \"releaseDate\": \"2023-10-13\",\n    \"photo\": \"662fc9ae72af9df2709584f1\",\n    \"audioFile\": \"662fc9bd72af9df2709584f4\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/songs"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1948"},{"key":"ETag","value":"W/\"79c-MLjoYjj/L3eE29tBxV38FlMRqqk\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:25:00 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"song\": {\n            \"title\": \"I Like It With You\",\n            \"duration\": 150000,\n            \"genre\": [\n                \"dance\",\n                \"pop\"\n            ],\n            \"artists\": [\n                {\n                    \"_id\": \"662fc49272af9df270958368\",\n                    \"name\": \"Daniel Levi\",\n                    \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                    \"origin\": \"Estonia\",\n                    \"yearFormed\": 2022,\n                    \"genre\": [\n                        \"soul\",\n                        \"r&b\",\n                        \"dance\",\n                        \"pop\"\n                    ],\n                    \"photo\": \"662fc47872af9df270958363\",\n                    \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n                }\n            ],\n            \"album\": {\n                \"_id\": \"662fc5a972af9df27095837d\",\n                \"title\": \"14/02\",\n                \"description\": \"The album is dedicated to his wife and pays homage to the way that Daniel confessed his love to her.\",\n                \"releaseDate\": \"2023-10-13T00:00:00.000Z\",\n                \"genre\": [\n                    \"rock\",\n                    \"pop\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc49272af9df270958368\",\n                        \"name\": \"Daniel Levi\",\n                        \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                        \"origin\": \"Estonia\",\n                        \"yearFormed\": 2022,\n                        \"genre\": [\n                            \"soul\",\n                            \"r&b\",\n                            \"dance\",\n                            \"pop\"\n                        ],\n                        \"photo\": \"662fc47872af9df270958363\",\n                        \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n                    }\n                ],\n                \"photo\": \"662fc54a72af9df270958375\",\n                \"createdAt\": \"2024-04-29T16:07:05.250Z\"\n            },\n            \"releaseDate\": \"2023-10-13T00:00:00.000Z\",\n            \"photo\": {\n                \"_id\": \"662fc9ae72af9df2709584f1\",\n                \"length\": 69212,\n                \"chunkSize\": 261120,\n                \"uploadDate\": \"2024-04-29T16:24:14.418Z\",\n                \"filename\": \"662fc9ae72af9df2709584f1.jpeg\",\n                \"contentType\": \"image/jpeg\",\n                \"aliases\": []\n            },\n            \"audioFile\": {\n                \"_id\": \"662fc9bd72af9df2709584f4\",\n                \"length\": 7016892,\n                \"chunkSize\": 261120,\n                \"uploadDate\": \"2024-04-29T16:24:30.536Z\",\n                \"filename\": \"662fc9bd72af9df2709584f4.mpga\",\n                \"contentType\": \"audio/mpeg\",\n                \"aliases\": []\n            },\n            \"_id\": \"662fc9dc72af9df270958513\",\n            \"createdAt\": \"2024-04-29T16:25:00.801Z\"\n        }\n    }\n}"}],"_postman_id":"2b819ae2-559b-414e-956c-e784e1cfbd9f"},{"name":"Get all Songs","id":"b400e2d6-f050-41bd-90b4-e457ae2d45ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/songs","description":"<p>Fetches all songs from DB. Users also have the option to pass `title`, `genre`,<br />`artists`, `featuredArtists` and/or `album` query params to filter the results.</p>\n","urlObject":{"path":["api","v1","songs"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"45b271d9-79b6-49f1-8f1d-9194bad0ac3c","name":"Get all Songs","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/api/v1/songs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"13850"},{"key":"ETag","value":"W/\"361a-riEh+L5RfVigTYJRz167s4ILkAM\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:28:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"songs\": [\n            {\n                \"_id\": \"662fc6a372af9df2709583b0\",\n                \"title\": \"Seasons\",\n                \"duration\": 288000,\n                \"genre\": [\n                    \"electronic\",\n                    \"bass\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc36272af9df27095834a\",\n                        \"name\": \"Rival\",\n                        \"biography\": \"Valentin Rieff, better known as Rival is a 22 year old German producer and musician. He takes melodic trap one step further by finding creative uses for plugins to curate a unique sound and identity/voice as an artist. With the added mastery of jazz chords and a multitude of instruments including piano, drums, and trumpet, Rival is well equipped to create a unique composition with a variety of influences.\",\n                        \"origin\": \"Germany\",\n                        \"yearFormed\": 2018,\n                        \"genre\": [\n                            \"trap\",\n                            \"electronic\",\n                            \"bass\"\n                        ],\n                        \"photo\": \"662fc33472af9df270958347\",\n                        \"createdAt\": \"2024-04-29T15:57:22.831Z\"\n                    }\n                ],\n                \"featuredArtists\": [\n                    {\n                        \"_id\": \"662fc3b872af9df270958351\",\n                        \"name\": \"Harley Bird\",\n                        \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                        \"origin\": \"LA, USA\",\n                        \"yearFormed\": 2017,\n                        \"genre\": [\n                            \"house\",\n                            \"trap\",\n                            \"edm\"\n                        ],\n                        \"photo\": \"662fc3a472af9df27095834e\",\n                        \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n                    }\n                ],\n                \"releaseDate\": \"2018-04-04T00:00:00.000Z\",\n                \"photo\": {\n                    \"_id\": \"662fc65572af9df270958382\",\n                    \"length\": 147793,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:09:57.418Z\",\n                    \"filename\": \"662fc65572af9df270958382.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"audioFile\": {\n                    \"_id\": \"662fc66672af9df270958385\",\n                    \"length\": 9933889,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:10:15.335Z\",\n                    \"filename\": \"662fc66672af9df270958385.mpga\",\n                    \"contentType\": \"audio/mpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:11:15.713Z\"\n            },\n            {\n                \"_id\": \"662fc6ef72af9df2709583d5\",\n                \"title\": \"Dreamer\",\n                \"duration\": 138000,\n                \"genre\": [\n                    \"house\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc2fc72af9df270958343\",\n                        \"name\": \"Alan Walker\",\n                        \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n                        \"origin\": \"Northampton, United Kingdom\",\n                        \"yearFormed\": 2012,\n                        \"genre\": [\n                            \"electro house\",\n                            \"electro pop\",\n                            \"trap\",\n                            \"melodic dubstep\"\n                        ],\n                        \"photo\": \"662fc2d072af9df270958340\",\n                        \"createdAt\": \"2024-04-29T15:55:40.539Z\"\n                    }\n                ],\n                \"releaseDate\": \"2023-04-07T00:00:00.000Z\",\n                \"photo\": {\n                    \"_id\": \"662fc6bf72af9df2709583b7\",\n                    \"length\": 81347,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:11:43.303Z\",\n                    \"filename\": \"662fc6bf72af9df2709583b7.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"audioFile\": {\n                    \"_id\": \"662fc6cc72af9df2709583ba\",\n                    \"length\": 6219084,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:11:57.159Z\",\n                    \"filename\": \"662fc6cc72af9df2709583ba.mpga\",\n                    \"contentType\": \"audio/mpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:12:31.926Z\"\n            },\n            {\n                \"_id\": \"662fc73d72af9df2709583f4\",\n                \"title\": \"Dreamer (Rival Remix)\",\n                \"duration\": 126000,\n                \"genre\": [\n                    \"instrumental\",\n                    \"electronic\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc2fc72af9df270958343\",\n                        \"name\": \"Alan Walker\",\n                        \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n                        \"origin\": \"Northampton, United Kingdom\",\n                        \"yearFormed\": 2012,\n                        \"genre\": [\n                            \"electro house\",\n                            \"electro pop\",\n                            \"trap\",\n                            \"melodic dubstep\"\n                        ],\n                        \"photo\": \"662fc2d072af9df270958340\",\n                        \"createdAt\": \"2024-04-29T15:55:40.539Z\"\n                    },\n                    {\n                        \"_id\": \"662fc36272af9df27095834a\",\n                        \"name\": \"Rival\",\n                        \"biography\": \"Valentin Rieff, better known as Rival is a 22 year old German producer and musician. He takes melodic trap one step further by finding creative uses for plugins to curate a unique sound and identity/voice as an artist. With the added mastery of jazz chords and a multitude of instruments including piano, drums, and trumpet, Rival is well equipped to create a unique composition with a variety of influences.\",\n                        \"origin\": \"Germany\",\n                        \"yearFormed\": 2018,\n                        \"genre\": [\n                            \"trap\",\n                            \"electronic\",\n                            \"bass\"\n                        ],\n                        \"photo\": \"662fc33472af9df270958347\",\n                        \"createdAt\": \"2024-04-29T15:57:22.831Z\"\n                    }\n                ],\n                \"releaseDate\": \"2023-05-07T00:00:00.000Z\",\n                \"audioFile\": {\n                    \"_id\": \"662fc71772af9df2709583db\",\n                    \"length\": 5533485,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:13:12.174Z\",\n                    \"filename\": \"662fc71772af9df2709583db.mpga\",\n                    \"contentType\": \"audio/mpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:13:49.193Z\"\n            },\n            {\n                \"_id\": \"662fc7b872af9df270958424\",\n                \"title\": \"Feel Again\",\n                \"duration\": 210000,\n                \"genre\": [\n                    \"house\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc45672af9df27095835f\",\n                        \"name\": \"Culture Code\",\n                        \"biography\": \"Culture Code is a dance music duo made up of childhood friends Dylan Norton & Chris Bains. Based in the UK, the producer/DJ duo are known for crafting melodically-driven bass music across a variety of genres, including future house & melodic dubstep.\",\n                        \"origin\": \"United Kingdom\",\n                        \"yearFormed\": 2012,\n                        \"genre\": [\n                            \"future house\",\n                            \"melodic dubstep\",\n                            \"dance\"\n                        ],\n                        \"photo\": \"662fc43b72af9df27095835c\",\n                        \"createdAt\": \"2024-04-29T16:01:26.542Z\"\n                    }\n                ],\n                \"featuredArtists\": [\n                    {\n                        \"_id\": \"662fc3b872af9df270958351\",\n                        \"name\": \"Harley Bird\",\n                        \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                        \"origin\": \"LA, USA\",\n                        \"yearFormed\": 2017,\n                        \"genre\": [\n                            \"house\",\n                            \"trap\",\n                            \"edm\"\n                        ],\n                        \"photo\": \"662fc3a472af9df27095834e\",\n                        \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n                    }\n                ],\n                \"releaseDate\": \"2018-02-24T00:00:00.000Z\",\n                \"photo\": {\n                    \"_id\": \"662fc77272af9df2709583f9\",\n                    \"length\": 94494,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:14:42.039Z\",\n                    \"filename\": \"662fc77272af9df2709583f9.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"audioFile\": {\n                    \"_id\": \"662fc78172af9df2709583fc\",\n                    \"length\": 9345648,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:14:58.638Z\",\n                    \"filename\": \"662fc78172af9df2709583fc.mpga\",\n                    \"contentType\": \"audio/mpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:15:52.184Z\"\n            },\n            {\n                \"_id\": \"662fc80972af9df27095844e\",\n                \"title\": \"Not Giving In\",\n                \"duration\": 180000,\n                \"genre\": [\n                    \"melodic dubstep\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc45672af9df27095835f\",\n                        \"name\": \"Culture Code\",\n                        \"biography\": \"Culture Code is a dance music duo made up of childhood friends Dylan Norton & Chris Bains. Based in the UK, the producer/DJ duo are known for crafting melodically-driven bass music across a variety of genres, including future house & melodic dubstep.\",\n                        \"origin\": \"United Kingdom\",\n                        \"yearFormed\": 2012,\n                        \"genre\": [\n                            \"future house\",\n                            \"melodic dubstep\",\n                            \"dance\"\n                        ],\n                        \"photo\": \"662fc43b72af9df27095835c\",\n                        \"createdAt\": \"2024-04-29T16:01:26.542Z\"\n                    }\n                ],\n                \"releaseDate\": \"2022-11-11T00:00:00.000Z\",\n                \"photo\": {\n                    \"_id\": \"662fc7d672af9df27095842b\",\n                    \"length\": 74096,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:16:22.620Z\",\n                    \"filename\": \"662fc7d672af9df27095842b.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"audioFile\": {\n                    \"_id\": \"662fc7e772af9df27095842e\",\n                    \"length\": 7490917,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:16:39.870Z\",\n                    \"filename\": \"662fc7e772af9df27095842e.mpga\",\n                    \"contentType\": \"audio/mpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:17:13.316Z\"\n            },\n            {\n                \"_id\": \"662fc8cb72af9df270958472\",\n                \"title\": \"Everyday\",\n                \"duration\": 144000,\n                \"genre\": [\n                    \"drum\",\n                    \"bass\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc41972af9df270958358\",\n                        \"name\": \"Ripple\",\n                        \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                        \"origin\": \"Czechoslovakia\",\n                        \"yearFormed\": 2017,\n                        \"genre\": [\n                            \"drum\",\n                            \"bass\"\n                        ],\n                        \"photo\": \"662fc3e372af9df270958355\",\n                        \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                    }\n                ],\n                \"album\": {\n                    \"_id\": \"662fc51072af9df270958370\",\n                    \"title\": \"Ripple Remixes\",\n                    \"description\": \"The album is a collection of Ripple's best remixes.\",\n                    \"releaseDate\": \"2024-04-19T00:00:00.000Z\",\n                    \"genre\": [\n                        \"drum\",\n                        \"bass\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc41972af9df270958358\",\n                            \"name\": \"Ripple\",\n                            \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                            \"origin\": \"Czechoslovakia\",\n                            \"yearFormed\": 2017,\n                            \"genre\": [\n                                \"drum\",\n                                \"bass\"\n                            ],\n                            \"photo\": \"662fc3e372af9df270958355\",\n                            \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                        }\n                    ],\n                    \"photo\": \"662fc4ee72af9df27095836c\",\n                    \"createdAt\": \"2024-04-29T16:04:32.855Z\"\n                },\n                \"releaseDate\": \"2024-04-18T00:00:00.000Z\",\n                \"audioFile\": {\n                    \"_id\": \"662fc88772af9df270958454\",\n                    \"length\": 6580837,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:19:19.937Z\",\n                    \"filename\": \"662fc88772af9df270958454.mpga\",\n                    \"contentType\": \"audio/mpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:20:27.240Z\"\n            },\n            {\n                \"_id\": \"662fc92472af9df2709584c1\",\n                \"title\": \"On Your Mind\",\n                \"duration\": 180000,\n                \"genre\": [\n                    \"drum\",\n                    \"bass\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc41972af9df270958358\",\n                        \"name\": \"Ripple\",\n                        \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                        \"origin\": \"Czechoslovakia\",\n                        \"yearFormed\": 2017,\n                        \"genre\": [\n                            \"drum\",\n                            \"bass\"\n                        ],\n                        \"photo\": \"662fc3e372af9df270958355\",\n                        \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                    }\n                ],\n                \"album\": {\n                    \"_id\": \"662fc51072af9df270958370\",\n                    \"title\": \"Ripple Remixes\",\n                    \"description\": \"The album is a collection of Ripple's best remixes.\",\n                    \"releaseDate\": \"2024-04-19T00:00:00.000Z\",\n                    \"genre\": [\n                        \"drum\",\n                        \"bass\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc41972af9df270958358\",\n                            \"name\": \"Ripple\",\n                            \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                            \"origin\": \"Czechoslovakia\",\n                            \"yearFormed\": 2017,\n                            \"genre\": [\n                                \"drum\",\n                                \"bass\"\n                            ],\n                            \"photo\": \"662fc3e372af9df270958355\",\n                            \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                        }\n                    ],\n                    \"photo\": \"662fc4ee72af9df27095836c\",\n                    \"createdAt\": \"2024-04-29T16:04:32.855Z\"\n                },\n                \"releaseDate\": \"2024-03-14T00:00:00.000Z\",\n                \"photo\": {\n                    \"_id\": \"662fc8e072af9df270958479\",\n                    \"length\": 97524,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:20:48.077Z\",\n                    \"filename\": \"662fc8e072af9df270958479.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"audioFile\": {\n                    \"_id\": \"662fc8f072af9df27095847c\",\n                    \"length\": 16763642,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:21:06.278Z\",\n                    \"filename\": \"662fc8f072af9df27095847c.mpga\",\n                    \"contentType\": \"audio/mpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:21:56.968Z\"\n            },\n            {\n                \"_id\": \"662fc99c72af9df2709584e9\",\n                \"title\": \"Honey\",\n                \"duration\": 192000,\n                \"genre\": [\n                    \"dance\",\n                    \"indie\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc49272af9df270958368\",\n                        \"name\": \"Daniel Levi\",\n                        \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                        \"origin\": \"Estonia\",\n                        \"yearFormed\": 2022,\n                        \"genre\": [\n                            \"soul\",\n                            \"r&b\",\n                            \"dance\",\n                            \"pop\"\n                        ],\n                        \"photo\": \"662fc47872af9df270958363\",\n                        \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n                    }\n                ],\n                \"album\": {\n                    \"_id\": \"662fc5a972af9df27095837d\",\n                    \"title\": \"14/02\",\n                    \"description\": \"The album is dedicated to his wife and pays homage to the way that Daniel confessed his love to her.\",\n                    \"releaseDate\": \"2023-10-13T00:00:00.000Z\",\n                    \"genre\": [\n                        \"rock\",\n                        \"pop\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc49272af9df270958368\",\n                            \"name\": \"Daniel Levi\",\n                            \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                            \"origin\": \"Estonia\",\n                            \"yearFormed\": 2022,\n                            \"genre\": [\n                                \"soul\",\n                                \"r&b\",\n                                \"dance\",\n                                \"pop\"\n                            ],\n                            \"photo\": \"662fc47872af9df270958363\",\n                            \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n                        }\n                    ],\n                    \"photo\": \"662fc54a72af9df270958375\",\n                    \"createdAt\": \"2024-04-29T16:07:05.250Z\"\n                },\n                \"releaseDate\": \"2023-09-22T00:00:00.000Z\",\n                \"photo\": {\n                    \"_id\": \"662fc94472af9df2709584c9\",\n                    \"length\": 53063,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:22:28.167Z\",\n                    \"filename\": \"662fc94472af9df2709584c9.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"audioFile\": {\n                    \"_id\": \"662fc95072af9df2709584cc\",\n                    \"length\": 6456175,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:22:41.190Z\",\n                    \"filename\": \"662fc95072af9df2709584cc.mpga\",\n                    \"contentType\": \"audio/mpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:23:56.030Z\"\n            },\n            {\n                \"_id\": \"662fc9dc72af9df270958513\",\n                \"title\": \"I Like It With You\",\n                \"duration\": 150000,\n                \"genre\": [\n                    \"dance\",\n                    \"pop\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc49272af9df270958368\",\n                        \"name\": \"Daniel Levi\",\n                        \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                        \"origin\": \"Estonia\",\n                        \"yearFormed\": 2022,\n                        \"genre\": [\n                            \"soul\",\n                            \"r&b\",\n                            \"dance\",\n                            \"pop\"\n                        ],\n                        \"photo\": \"662fc47872af9df270958363\",\n                        \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n                    }\n                ],\n                \"album\": {\n                    \"_id\": \"662fc5a972af9df27095837d\",\n                    \"title\": \"14/02\",\n                    \"description\": \"The album is dedicated to his wife and pays homage to the way that Daniel confessed his love to her.\",\n                    \"releaseDate\": \"2023-10-13T00:00:00.000Z\",\n                    \"genre\": [\n                        \"rock\",\n                        \"pop\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc49272af9df270958368\",\n                            \"name\": \"Daniel Levi\",\n                            \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                            \"origin\": \"Estonia\",\n                            \"yearFormed\": 2022,\n                            \"genre\": [\n                                \"soul\",\n                                \"r&b\",\n                                \"dance\",\n                                \"pop\"\n                            ],\n                            \"photo\": \"662fc47872af9df270958363\",\n                            \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n                        }\n                    ],\n                    \"photo\": \"662fc54a72af9df270958375\",\n                    \"createdAt\": \"2024-04-29T16:07:05.250Z\"\n                },\n                \"releaseDate\": \"2023-10-13T00:00:00.000Z\",\n                \"photo\": {\n                    \"_id\": \"662fc9ae72af9df2709584f1\",\n                    \"length\": 69212,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:24:14.418Z\",\n                    \"filename\": \"662fc9ae72af9df2709584f1.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"audioFile\": {\n                    \"_id\": \"662fc9bd72af9df2709584f4\",\n                    \"length\": 7016892,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:24:30.536Z\",\n                    \"filename\": \"662fc9bd72af9df2709584f4.mpga\",\n                    \"contentType\": \"audio/mpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:25:00.801Z\"\n            }\n        ]\n    },\n    \"count\": 9\n}"}],"_postman_id":"b400e2d6-f050-41bd-90b4-e457ae2d45ac"},{"name":"Get Songs by Query","id":"981e3364-c24d-4729-b6da-e37d14a3f7fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/songs?featuredArtists=662fc3b872af9df270958351","description":"<p>Fetches all songs from DB. Users also have the option to pass `title`, `genre`, `artists`, `album` and/or `featuredArtists` query params to filter the results.</p>\n","urlObject":{"path":["api","v1","songs"],"host":["{{URL}}"],"query":[{"key":"featuredArtists","value":"662fc3b872af9df270958351"}],"variable":[]}},"response":[{"id":"306187e5-a7ed-4a53-8073-fa86cbf63431","name":"Get Songs by Query","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/api/v1/songs?featuredArtists=662fc3b872af9df270958351","host":["{{URL}}"],"path":["api","v1","songs"],"query":[{"key":"featuredArtists","value":"662fc3b872af9df270958351"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2917"},{"key":"ETag","value":"W/\"b65-OuUNDQoSNhduZquzMZxpT+7PRgk\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:28:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"songs\": [\n            {\n                \"_id\": \"662fc6a372af9df2709583b0\",\n                \"title\": \"Seasons\",\n                \"duration\": 288000,\n                \"genre\": [\n                    \"electronic\",\n                    \"bass\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc36272af9df27095834a\",\n                        \"name\": \"Rival\",\n                        \"biography\": \"Valentin Rieff, better known as Rival is a 22 year old German producer and musician. He takes melodic trap one step further by finding creative uses for plugins to curate a unique sound and identity/voice as an artist. With the added mastery of jazz chords and a multitude of instruments including piano, drums, and trumpet, Rival is well equipped to create a unique composition with a variety of influences.\",\n                        \"origin\": \"Germany\",\n                        \"yearFormed\": 2018,\n                        \"genre\": [\n                            \"trap\",\n                            \"electronic\",\n                            \"bass\"\n                        ],\n                        \"photo\": \"662fc33472af9df270958347\",\n                        \"createdAt\": \"2024-04-29T15:57:22.831Z\"\n                    }\n                ],\n                \"featuredArtists\": [\n                    {\n                        \"_id\": \"662fc3b872af9df270958351\",\n                        \"name\": \"Harley Bird\",\n                        \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                        \"origin\": \"LA, USA\",\n                        \"yearFormed\": 2017,\n                        \"genre\": [\n                            \"house\",\n                            \"trap\",\n                            \"edm\"\n                        ],\n                        \"photo\": \"662fc3a472af9df27095834e\",\n                        \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n                    }\n                ],\n                \"releaseDate\": \"2018-04-04T00:00:00.000Z\",\n                \"photo\": {\n                    \"_id\": \"662fc65572af9df270958382\",\n                    \"length\": 147793,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:09:57.418Z\",\n                    \"filename\": \"662fc65572af9df270958382.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"audioFile\": {\n                    \"_id\": \"662fc66672af9df270958385\",\n                    \"length\": 9933889,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:10:15.335Z\",\n                    \"filename\": \"662fc66672af9df270958385.mpga\",\n                    \"contentType\": \"audio/mpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:11:15.713Z\"\n            },\n            {\n                \"_id\": \"662fc7b872af9df270958424\",\n                \"title\": \"Feel Again\",\n                \"duration\": 210000,\n                \"genre\": [\n                    \"house\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc45672af9df27095835f\",\n                        \"name\": \"Culture Code\",\n                        \"biography\": \"Culture Code is a dance music duo made up of childhood friends Dylan Norton & Chris Bains. Based in the UK, the producer/DJ duo are known for crafting melodically-driven bass music across a variety of genres, including future house & melodic dubstep.\",\n                        \"origin\": \"United Kingdom\",\n                        \"yearFormed\": 2012,\n                        \"genre\": [\n                            \"future house\",\n                            \"melodic dubstep\",\n                            \"dance\"\n                        ],\n                        \"photo\": \"662fc43b72af9df27095835c\",\n                        \"createdAt\": \"2024-04-29T16:01:26.542Z\"\n                    }\n                ],\n                \"featuredArtists\": [\n                    {\n                        \"_id\": \"662fc3b872af9df270958351\",\n                        \"name\": \"Harley Bird\",\n                        \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                        \"origin\": \"LA, USA\",\n                        \"yearFormed\": 2017,\n                        \"genre\": [\n                            \"house\",\n                            \"trap\",\n                            \"edm\"\n                        ],\n                        \"photo\": \"662fc3a472af9df27095834e\",\n                        \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n                    }\n                ],\n                \"releaseDate\": \"2018-02-24T00:00:00.000Z\",\n                \"photo\": {\n                    \"_id\": \"662fc77272af9df2709583f9\",\n                    \"length\": 94494,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:14:42.039Z\",\n                    \"filename\": \"662fc77272af9df2709583f9.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"audioFile\": {\n                    \"_id\": \"662fc78172af9df2709583fc\",\n                    \"length\": 9345648,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:14:58.638Z\",\n                    \"filename\": \"662fc78172af9df2709583fc.mpga\",\n                    \"contentType\": \"audio/mpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:15:52.184Z\"\n            }\n        ]\n    },\n    \"count\": 2\n}"}],"_postman_id":"981e3364-c24d-4729-b6da-e37d14a3f7fa"},{"name":"Get a Song by ID","id":"7e50a88a-99eb-4ac0-a192-aba3fc6c99c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/songs/662fc6a372af9df2709583b0","urlObject":{"path":["api","v1","songs","662fc6a372af9df2709583b0"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"0bec57cf-824f-4f71-81f0-34e237bbd8b7","name":"Get a Song by ID","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/api/v1/songs/662fc6a372af9df2709583b0"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1540"},{"key":"ETag","value":"W/\"604-JAVceCOFi7xshhI7zfIyDtbExI4\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:29:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"song\": {\n            \"_id\": \"662fc6a372af9df2709583b0\",\n            \"title\": \"Seasons\",\n            \"duration\": 288000,\n            \"genre\": [\n                \"electronic\",\n                \"bass\"\n            ],\n            \"artists\": [\n                {\n                    \"_id\": \"662fc36272af9df27095834a\",\n                    \"name\": \"Rival\",\n                    \"biography\": \"Valentin Rieff, better known as Rival is a 22 year old German producer and musician. He takes melodic trap one step further by finding creative uses for plugins to curate a unique sound and identity/voice as an artist. With the added mastery of jazz chords and a multitude of instruments including piano, drums, and trumpet, Rival is well equipped to create a unique composition with a variety of influences.\",\n                    \"origin\": \"Germany\",\n                    \"yearFormed\": 2018,\n                    \"genre\": [\n                        \"trap\",\n                        \"electronic\",\n                        \"bass\"\n                    ],\n                    \"photo\": \"662fc33472af9df270958347\",\n                    \"createdAt\": \"2024-04-29T15:57:22.831Z\"\n                }\n            ],\n            \"featuredArtists\": [\n                {\n                    \"_id\": \"662fc3b872af9df270958351\",\n                    \"name\": \"Harley Bird\",\n                    \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                    \"origin\": \"LA, USA\",\n                    \"yearFormed\": 2017,\n                    \"genre\": [\n                        \"house\",\n                        \"trap\",\n                        \"edm\"\n                    ],\n                    \"photo\": \"662fc3a472af9df27095834e\",\n                    \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n                }\n            ],\n            \"releaseDate\": \"2018-04-04T00:00:00.000Z\",\n            \"photo\": {\n                \"_id\": \"662fc65572af9df270958382\",\n                \"length\": 147793,\n                \"chunkSize\": 261120,\n                \"uploadDate\": \"2024-04-29T16:09:57.418Z\",\n                \"filename\": \"662fc65572af9df270958382.jpeg\",\n                \"contentType\": \"image/jpeg\",\n                \"aliases\": []\n            },\n            \"audioFile\": {\n                \"_id\": \"662fc66672af9df270958385\",\n                \"length\": 9933889,\n                \"chunkSize\": 261120,\n                \"uploadDate\": \"2024-04-29T16:10:15.335Z\",\n                \"filename\": \"662fc66672af9df270958385.mpga\",\n                \"contentType\": \"audio/mpeg\",\n                \"aliases\": []\n            },\n            \"createdAt\": \"2024-04-29T16:11:15.713Z\"\n        }\n    }\n}"}],"_postman_id":"7e50a88a-99eb-4ac0-a192-aba3fc6c99c6"},{"name":"Delete a Song by ID","id":"49949499-cad4-403f-beee-be5bf866ec6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/songs/662fc6ef72af9df2709583d5","description":"<p>Enables admins to remove songs based on their unique identifiers. When a song is deleted, any corresponding photo and audio files will also be deleted.</p>\n","urlObject":{"path":["api","v1","songs","662fc6ef72af9df2709583d5"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"95d14292-a690-42e4-be12-eba8fa68dfb1","name":"Delete a Song by ID","originalRequest":{"method":"DELETE","header":[],"url":"{{URL}}/api/v1/songs/662fcc4572af9df270958589"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-cN3coglfGU7Ssff/zlATKOpFmPI\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:36:31 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"song\": null\n    }\n}"}],"_postman_id":"49949499-cad4-403f-beee-be5bf866ec6d"},{"name":"Update a Song by ID","id":"f6b50f43-eaab-40a2-b4d6-4d2f8678945f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"duration\": 120000,\n  \"genre\": [ \"rock\" ],\n  \"releaseDate\": \"2021-04-18\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/songs/662fcc4572af9df270958589","description":"<p>Allows admins to update an existing song details by its ID. (Protected route accessible only by Admins). Admins must be logged in with a JWT token.</p>\n<p>Allowed request body fields: <code>title</code>, <code>genre</code>, <code>duration</code>, <code>artists</code>, <code>album</code>, <code>featuredArtists</code>, <code>releaseDate</code>, <code>photo</code>, and <code>audioFile</code></p>\n","urlObject":{"path":["api","v1","songs","662fcc4572af9df270958589"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"bcafa7e5-9449-4ac5-8f02-7af6e4651903","name":"Update a Song by ID","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"duration\": 120000,\n  \"genre\": [ \"rock\" ],\n  \"releaseDate\": \"2021-04-18\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/songs/662fcc4572af9df270958589"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1771"},{"key":"ETag","value":"W/\"6eb-VowGE+shmn40tOmaqCVynL2mGoA\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:35:59 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"song\": {\n            \"_id\": \"662fcc4572af9df270958589\",\n            \"title\": \"Delete Me\",\n            \"duration\": 120000,\n            \"genre\": [\n                \"rock\"\n            ],\n            \"artists\": [\n                {\n                    \"_id\": \"662fc49272af9df270958368\",\n                    \"name\": \"Daniel Levi\",\n                    \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                    \"origin\": \"Estonia\",\n                    \"yearFormed\": 2022,\n                    \"genre\": [\n                        \"soul\",\n                        \"r&b\",\n                        \"dance\",\n                        \"pop\"\n                    ],\n                    \"photo\": \"662fc47872af9df270958363\",\n                    \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n                }\n            ],\n            \"album\": {\n                \"_id\": \"662fc5a972af9df27095837d\",\n                \"title\": \"14/02\",\n                \"description\": \"The album is dedicated to his wife and pays homage to the way that Daniel confessed his love to her.\",\n                \"releaseDate\": \"2023-10-13T00:00:00.000Z\",\n                \"genre\": [\n                    \"rock\",\n                    \"pop\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc49272af9df270958368\",\n                        \"name\": \"Daniel Levi\",\n                        \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                        \"origin\": \"Estonia\",\n                        \"yearFormed\": 2022,\n                        \"genre\": [\n                            \"soul\",\n                            \"r&b\",\n                            \"dance\",\n                            \"pop\"\n                        ],\n                        \"photo\": \"662fc47872af9df270958363\",\n                        \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n                    }\n                ],\n                \"photo\": \"662fc54a72af9df270958375\",\n                \"createdAt\": \"2024-04-29T16:07:05.250Z\"\n            },\n            \"releaseDate\": \"2021-04-18T00:00:00.000Z\",\n            \"audioFile\": {\n                \"_id\": \"662fcc3a72af9df27095856a\",\n                \"length\": 7016892,\n                \"chunkSize\": 261120,\n                \"uploadDate\": \"2024-04-29T16:35:07.358Z\",\n                \"filename\": \"662fcc3a72af9df27095856a.mpga\",\n                \"contentType\": \"audio/mpeg\",\n                \"aliases\": []\n            },\n            \"createdAt\": \"2024-04-29T16:35:17.200Z\",\n            \"updatedAt\": \"2024-04-29T16:35:59.307Z\"\n        }\n    }\n}"}],"_postman_id":"f6b50f43-eaab-40a2-b4d6-4d2f8678945f"}],"id":"dcb6d6cd-dd73-48f0-af78-7f4154f8b71b","description":"<p>Routes to create, read, update and delete songs.</p>\n","_postman_id":"dcb6d6cd-dd73-48f0-af78-7f4154f8b71b"},{"name":"Artists","item":[{"name":"Add an Artist","id":"f55ff4a3-5322-49d2-8940-ce5d455ed527","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Daniel Levi\",\n    \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n    \"origin\": \"Estonia\",\n    \"yearFormed\": 2022,\n    \"genre\": [\n        \"soul\",\n        \"r&b\",\n        \"dance\",\n        \"pop\"\n    ],\n    \"photo\": \"662fc47872af9df270958363\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/artists","description":"<p>Allows admins to add artists.(Protected route accessible only by Admins).<br />Admins must be logged in with a JWT token.</p>\n","urlObject":{"path":["api","v1","artists"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"cc106b83-5193-480e-b0df-3388c276e78f","name":"Add an Artist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Alan Walker\",\n    \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n    \"origin\": \"Northampton, United Kingdom\",\n    \"yearFormed\": 2012,\n    \"genre\": [\n        \"electro house\",\n        \"electro pop\",\n        \"trap\",\n        \"melodic dubstep\"\n    ],\n    \"photo\": \"662fc2d072af9df270958340\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/artists"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"673"},{"key":"ETag","value":"W/\"2a1-9LsOuX0wu2pmGHDfSljQCUu3DeM\""},{"key":"Date","value":"Mon, 29 Apr 2024 15:55:40 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"artist\": {\n            \"name\": \"Alan Walker\",\n            \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n            \"origin\": \"Northampton, United Kingdom\",\n            \"yearFormed\": 2012,\n            \"genre\": [\n                \"electro house\",\n                \"electro pop\",\n                \"trap\",\n                \"melodic dubstep\"\n            ],\n            \"photo\": {\n                \"_id\": \"662fc2d072af9df270958340\",\n                \"length\": 3691,\n                \"chunkSize\": 261120,\n                \"uploadDate\": \"2024-04-29T15:54:56.715Z\",\n                \"filename\": \"662fc2d072af9df270958340.jpeg\",\n                \"contentType\": \"image/jpeg\",\n                \"aliases\": []\n            },\n            \"_id\": \"662fc2fc72af9df270958343\",\n            \"createdAt\": \"2024-04-29T15:55:40.539Z\"\n        }\n    }\n}"}],"_postman_id":"f55ff4a3-5322-49d2-8940-ce5d455ed527"},{"name":"Get Artists by Query","id":"bf9eb215-6f74-4c51-8033-ec226acd051a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/artists?genre=dance&origin=estonia","description":"<p>When fetching all artists from DB, users also have the option to pass `name`, `genre` and/or `origin` query params to refine the results.</p>\n","urlObject":{"path":["api","v1","artists"],"host":["{{URL}}"],"query":[{"key":"genre","value":"dance"},{"key":"origin","value":"estonia"}],"variable":[]}},"response":[{"id":"c5884644-084e-4525-82ad-6efb590c7ca1","name":"Get Artists by Query","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/api/v1/artists?genre=dance&origin=estonia","host":["{{URL}}"],"path":["api","v1","artists"],"query":[{"key":"genre","value":"dance"},{"key":"origin","value":"estonia"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"708"},{"key":"ETag","value":"W/\"2c4-3UvUjejwP9qLoAR8CxavfY9K/5g\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:37:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"artists\": [\n            {\n                \"_id\": \"662fc49272af9df270958368\",\n                \"name\": \"Daniel Levi\",\n                \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                \"origin\": \"Estonia\",\n                \"yearFormed\": 2022,\n                \"genre\": [\n                    \"soul\",\n                    \"r&b\",\n                    \"dance\",\n                    \"pop\"\n                ],\n                \"photo\": {\n                    \"_id\": \"662fc47872af9df270958363\",\n                    \"length\": 624618,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:02:00.787Z\",\n                    \"filename\": \"662fc47872af9df270958363.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n            }\n        ]\n    },\n    \"count\": 1\n}"}],"_postman_id":"bf9eb215-6f74-4c51-8033-ec226acd051a"},{"name":"Get an Artist by ID","id":"c25ed2c7-fcdd-445b-b44a-c7775fc30ad9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/artists/662fc2fc72af9df270958343","description":"<p>Fetches an artist from DB by its ID. Users must be logged in with a JWT token<br />to access this endpoint.</p>\n","urlObject":{"path":["api","v1","artists","662fc2fc72af9df270958343"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"e5f221b9-abb9-4e4f-a221-97a59e357335","name":"Get an Artist by ID","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/api/v1/artists/662fc2fc72af9df270958343"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"673"},{"key":"ETag","value":"W/\"2a1-c50F36S27D746ZbkCywv+5I/WNg\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:37:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"artist\": {\n            \"_id\": \"662fc2fc72af9df270958343\",\n            \"name\": \"Alan Walker\",\n            \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n            \"origin\": \"Northampton, United Kingdom\",\n            \"yearFormed\": 2012,\n            \"genre\": [\n                \"electro house\",\n                \"electro pop\",\n                \"trap\",\n                \"melodic dubstep\"\n            ],\n            \"photo\": {\n                \"_id\": \"662fc2d072af9df270958340\",\n                \"length\": 3691,\n                \"chunkSize\": 261120,\n                \"uploadDate\": \"2024-04-29T15:54:56.715Z\",\n                \"filename\": \"662fc2d072af9df270958340.jpeg\",\n                \"contentType\": \"image/jpeg\",\n                \"aliases\": []\n            },\n            \"createdAt\": \"2024-04-29T15:55:40.539Z\"\n        }\n    }\n}"}],"_postman_id":"c25ed2c7-fcdd-445b-b44a-c7775fc30ad9"},{"name":"Delete an Artist by ID","id":"2091fef2-2f11-4be4-9d28-41ac180a7be6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/artists/662fc49272af9df270958368","description":"<p>Enables administrators to delete artists by their unique identifiers. Removing an artist will also delete their associated photos, albums, and songs, including the audio files and photos of those songs and<br />albums. This route is protected and accessible only to logged-in admins with a JWT token. Additionally, it will also remove songs where the artist is listed as a featured artist.</p>\n","urlObject":{"path":["api","v1","artists","662fc49272af9df270958368"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"57a9fa44-43ea-447d-a54e-f0e963ca3528","name":"Delete an Artist by ID","originalRequest":{"method":"DELETE","header":[],"url":"{{URL}}/api/v1/artists/662fc49272af9df270958368"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"ETag","value":"W/\"2b-NyaWaVLyTtOLeQQaPphyS7poxmY\""},{"key":"Date","value":"Mon, 29 Apr 2024 17:25:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"artist\": null\n    }\n}"}],"_postman_id":"2091fef2-2f11-4be4-9d28-41ac180a7be6"},{"name":"Get all Artists","id":"35471925-5140-426e-a978-a53f6f9037e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/artists","description":"<p>Fetches all artists from DB. Users must be logged in with a JWT token to access<br />this endpoint. Users also have the option to pass `name`, `genre` and/or `origin`<br />query params to refine the results.</p>\n","urlObject":{"path":["api","v1","artists"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"2edd2064-8822-47e7-8523-ffdda3141e77","name":"Get all Artists","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/api/v1/artists"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3849"},{"key":"ETag","value":"W/\"f09-9yz0uw/uNClzVxTTv5l/VutPQnI\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:37:36 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"artists\": [\n            {\n                \"_id\": \"662fc2fc72af9df270958343\",\n                \"name\": \"Alan Walker\",\n                \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n                \"origin\": \"Northampton, United Kingdom\",\n                \"yearFormed\": 2012,\n                \"genre\": [\n                    \"electro house\",\n                    \"electro pop\",\n                    \"trap\",\n                    \"melodic dubstep\"\n                ],\n                \"photo\": {\n                    \"_id\": \"662fc2d072af9df270958340\",\n                    \"length\": 3691,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T15:54:56.715Z\",\n                    \"filename\": \"662fc2d072af9df270958340.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T15:55:40.539Z\"\n            },\n            {\n                \"_id\": \"662fc36272af9df27095834a\",\n                \"name\": \"Rival\",\n                \"biography\": \"Valentin Rieff, better known as Rival is a 22 year old German producer and musician. He takes melodic trap one step further by finding creative uses for plugins to curate a unique sound and identity/voice as an artist. With the added mastery of jazz chords and a multitude of instruments including piano, drums, and trumpet, Rival is well equipped to create a unique composition with a variety of influences.\",\n                \"origin\": \"Germany\",\n                \"yearFormed\": 2018,\n                \"genre\": [\n                    \"trap\",\n                    \"electronic\",\n                    \"bass\"\n                ],\n                \"photo\": {\n                    \"_id\": \"662fc33472af9df270958347\",\n                    \"length\": 4270,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T15:56:36.677Z\",\n                    \"filename\": \"662fc33472af9df270958347.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T15:57:22.831Z\"\n            },\n            {\n                \"_id\": \"662fc3b872af9df270958351\",\n                \"name\": \"Harley Bird\",\n                \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                \"origin\": \"LA, USA\",\n                \"yearFormed\": 2017,\n                \"genre\": [\n                    \"house\",\n                    \"trap\",\n                    \"edm\"\n                ],\n                \"photo\": {\n                    \"_id\": \"662fc3a472af9df27095834e\",\n                    \"length\": 5594,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T15:58:28.301Z\",\n                    \"filename\": \"662fc3a472af9df27095834e.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n            },\n            {\n                \"_id\": \"662fc41972af9df270958358\",\n                \"name\": \"Ripple\",\n                \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                \"origin\": \"Czechoslovakia\",\n                \"yearFormed\": 2017,\n                \"genre\": [\n                    \"drum\",\n                    \"bass\"\n                ],\n                \"photo\": {\n                    \"_id\": \"662fc3e372af9df270958355\",\n                    \"length\": 117806,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T15:59:32.109Z\",\n                    \"filename\": \"662fc3e372af9df270958355.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n            },\n            {\n                \"_id\": \"662fc45672af9df27095835f\",\n                \"name\": \"Culture Code\",\n                \"biography\": \"Culture Code is a dance music duo made up of childhood friends Dylan Norton & Chris Bains. Based in the UK, the producer/DJ duo are known for crafting melodically-driven bass music across a variety of genres, including future house & melodic dubstep.\",\n                \"origin\": \"United Kingdom\",\n                \"yearFormed\": 2012,\n                \"genre\": [\n                    \"future house\",\n                    \"melodic dubstep\",\n                    \"dance\"\n                ],\n                \"photo\": {\n                    \"_id\": \"662fc43b72af9df27095835c\",\n                    \"length\": 10828,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:00:59.497Z\",\n                    \"filename\": \"662fc43b72af9df27095835c.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:01:26.542Z\"\n            },\n            {\n                \"_id\": \"662fc49272af9df270958368\",\n                \"name\": \"Daniel Levi\",\n                \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                \"origin\": \"Estonia\",\n                \"yearFormed\": 2022,\n                \"genre\": [\n                    \"soul\",\n                    \"r&b\",\n                    \"dance\",\n                    \"pop\"\n                ],\n                \"photo\": {\n                    \"_id\": \"662fc47872af9df270958363\",\n                    \"length\": 624618,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:02:00.787Z\",\n                    \"filename\": \"662fc47872af9df270958363.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n            }\n        ]\n    },\n    \"count\": 6\n}"}],"_postman_id":"35471925-5140-426e-a978-a53f6f9037e2"},{"name":"Update an Artist by ID","id":"1038b4a8-a4df-4ed7-baa9-9693d5dabb25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"genre\": [\n        \"r&b\",\n        \"pop\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/artists/662fc49272af9df270958368","description":"<p>Allows admins to update an existing artist details by its ID.<br />(Protected route accessible only by Admins). Admins must be logged in<br />with a JWT token.</p>\n<p>Allowed request body fields: <code>name</code>, <code>biography</code>, <code>origin</code>, <code>yearFormed</code>, <code>genre</code>, and <code>photo</code></p>\n","urlObject":{"path":["api","v1","artists","662fc49272af9df270958368"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"384dbe22-872d-418d-a2f9-911b7290cd0e","name":"Update an Artist by ID","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"genre\": [\n        \"r&b\",\n        \"pop\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/artists/662fc49272af9df270958368"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"719"},{"key":"ETag","value":"W/\"2cf-YAFwGA3pqyY8Z4UWN3xFyDhHmzg\""},{"key":"Date","value":"Mon, 29 Apr 2024 17:25:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"artist\": {\n            \"_id\": \"662fc49272af9df270958368\",\n            \"name\": \"Daniel Levi\",\n            \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n            \"origin\": \"Estonia\",\n            \"yearFormed\": 2022,\n            \"genre\": [\n                \"r&b\",\n                \"pop\"\n            ],\n            \"photo\": {\n                \"_id\": \"662fc47872af9df270958363\",\n                \"length\": 624618,\n                \"chunkSize\": 261120,\n                \"uploadDate\": \"2024-04-29T16:02:00.787Z\",\n                \"filename\": \"662fc47872af9df270958363.jpeg\",\n                \"contentType\": \"image/jpeg\",\n                \"aliases\": []\n            },\n            \"createdAt\": \"2024-04-29T16:02:26.604Z\",\n            \"updatedAt\": \"2024-04-29T17:25:03.078Z\"\n        }\n    }\n}"}],"_postman_id":"1038b4a8-a4df-4ed7-baa9-9693d5dabb25"}],"id":"aba10994-a81a-41b5-90c8-bb1c1a316300","description":"<p>Routes to create, read, update and delete artists.</p>\n","_postman_id":"aba10994-a81a-41b5-90c8-bb1c1a316300"},{"name":"Albums","item":[{"name":"Add an Album","id":"1abcdc9f-e775-47a7-bf63-a818da004417","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Delete\",\n    \"description\": \"Test Album to be Deleted.\",\n    \"releaseDate\": \"2023-10-13\",\n    \"artists\": [\n        \"662fc49272af9df270958368\"\n    ],\n    \"genre\": [\n        \"pop\"\n    ],\n    \"photo\": \"662fce8372af9df2709585b6\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/albums","description":"<p>Allows admins to add albums.(Protected route accessible only by Admins). Admins must be logged in with a JWT token.</p>\n<p>Prior to adding an album, admins must upload an album photo to the database and ensure that the artist associated with the album is created.</p>\n","urlObject":{"path":["api","v1","albums"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"9fcf4278-903e-4182-b685-33b58c35eba0","name":"Add an Album","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Ripple Remixes\",\n    \"description\": \"The album is a collection of Ripple's best remixes.\",\n    \"releaseDate\": \"2024-04-19\",\n    \"artists\": [\n        \"662fc41972af9df270958358\"\n    ],\n    \"genre\": [\n        \"drum\",\n        \"bass\"\n    ],\n    \"photo\": \"662fc4ee72af9df27095836c\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/albums"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"954"},{"key":"ETag","value":"W/\"3ba-htaRgeqbh0MDOIGBcKc2xXujaOg\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:04:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"album\": {\n            \"title\": \"Ripple Remixes\",\n            \"description\": \"The album is a collection of Ripple's best remixes.\",\n            \"releaseDate\": \"2024-04-19T00:00:00.000Z\",\n            \"genre\": [\n                \"drum\",\n                \"bass\"\n            ],\n            \"artists\": [\n                {\n                    \"_id\": \"662fc41972af9df270958358\",\n                    \"name\": \"Ripple\",\n                    \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                    \"origin\": \"Czechoslovakia\",\n                    \"yearFormed\": 2017,\n                    \"genre\": [\n                        \"drum\",\n                        \"bass\"\n                    ],\n                    \"photo\": \"662fc3e372af9df270958355\",\n                    \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                }\n            ],\n            \"photo\": {\n                \"_id\": \"662fc4ee72af9df27095836c\",\n                \"length\": 117806,\n                \"chunkSize\": 261120,\n                \"uploadDate\": \"2024-04-29T16:03:58.490Z\",\n                \"filename\": \"662fc4ee72af9df27095836c.jpeg\",\n                \"contentType\": \"image/jpeg\",\n                \"aliases\": []\n            },\n            \"_id\": \"662fc51072af9df270958370\",\n            \"createdAt\": \"2024-04-29T16:04:32.855Z\"\n        }\n    }\n}"}],"_postman_id":"1abcdc9f-e775-47a7-bf63-a818da004417"},{"name":"Get all Albums","id":"5a7ca777-3bd8-4bca-8576-6f8a0e7410c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/albums","description":"<p>Fetches all albums from the database. Users must be logged in with a JWT token to access<br />this endpoint. Users also have the option to pass `title`, `genre` and/or<br />`artists` query params to refine the results.</p>\n","urlObject":{"path":["api","v1","albums"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"c73ebc3a-9b98-4702-a572-4890f5eacb4b","name":"Get all Albums","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/api/v1/albums"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1941"},{"key":"ETag","value":"W/\"795-l5olSqS8UAmG3Kue5bLHYUuv54I\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:38:44 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"albums\": [\n            {\n                \"_id\": \"662fc51072af9df270958370\",\n                \"title\": \"Ripple Remixes\",\n                \"description\": \"The album is a collection of Ripple's best remixes.\",\n                \"releaseDate\": \"2024-04-19T00:00:00.000Z\",\n                \"genre\": [\n                    \"drum\",\n                    \"bass\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc41972af9df270958358\",\n                        \"name\": \"Ripple\",\n                        \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                        \"origin\": \"Czechoslovakia\",\n                        \"yearFormed\": 2017,\n                        \"genre\": [\n                            \"drum\",\n                            \"bass\"\n                        ],\n                        \"photo\": \"662fc3e372af9df270958355\",\n                        \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                    }\n                ],\n                \"photo\": {\n                    \"_id\": \"662fc4ee72af9df27095836c\",\n                    \"length\": 117806,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:03:58.490Z\",\n                    \"filename\": \"662fc4ee72af9df27095836c.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:04:32.855Z\"\n            },\n            {\n                \"_id\": \"662fc5a972af9df27095837d\",\n                \"title\": \"14/02\",\n                \"description\": \"The album is dedicated to his wife and pays homage to the way that Daniel confessed his love to her.\",\n                \"releaseDate\": \"2023-10-13T00:00:00.000Z\",\n                \"genre\": [\n                    \"rock\",\n                    \"pop\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc49272af9df270958368\",\n                        \"name\": \"Daniel Levi\",\n                        \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                        \"origin\": \"Estonia\",\n                        \"yearFormed\": 2022,\n                        \"genre\": [\n                            \"soul\",\n                            \"r&b\",\n                            \"dance\",\n                            \"pop\"\n                        ],\n                        \"photo\": \"662fc47872af9df270958363\",\n                        \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n                    }\n                ],\n                \"photo\": {\n                    \"_id\": \"662fc54a72af9df270958375\",\n                    \"length\": 39300,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:05:30.358Z\",\n                    \"filename\": \"662fc54a72af9df270958375.webp\",\n                    \"contentType\": \"image/webp\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:07:05.250Z\"\n            }\n        ]\n    },\n    \"count\": 2\n}"}],"_postman_id":"5a7ca777-3bd8-4bca-8576-6f8a0e7410c0"},{"name":"Get an Album by ID","id":"e54058b2-241a-4ed3-b64b-07bc68c6a704","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/albums/662fc51072af9df270958370","description":"<p>Fetches an album from DB by its ID. Users must be logged in with a JWT token<br />to access this endpoint.</p>\n","urlObject":{"path":["api","v1","albums","662fc51072af9df270958370"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"3f41f804-742e-4bbb-84c1-ce674e19ec1f","name":"Get an Album by ID","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/api/v1/albums/662fc51072af9df270958370"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"954"},{"key":"ETag","value":"W/\"3ba-QLXhTf7kKUxs7ynS0ISZySt4vjc\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:39:11 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"album\": {\n            \"_id\": \"662fc51072af9df270958370\",\n            \"title\": \"Ripple Remixes\",\n            \"description\": \"The album is a collection of Ripple's best remixes.\",\n            \"releaseDate\": \"2024-04-19T00:00:00.000Z\",\n            \"genre\": [\n                \"drum\",\n                \"bass\"\n            ],\n            \"artists\": [\n                {\n                    \"_id\": \"662fc41972af9df270958358\",\n                    \"name\": \"Ripple\",\n                    \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                    \"origin\": \"Czechoslovakia\",\n                    \"yearFormed\": 2017,\n                    \"genre\": [\n                        \"drum\",\n                        \"bass\"\n                    ],\n                    \"photo\": \"662fc3e372af9df270958355\",\n                    \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                }\n            ],\n            \"photo\": {\n                \"_id\": \"662fc4ee72af9df27095836c\",\n                \"length\": 117806,\n                \"chunkSize\": 261120,\n                \"uploadDate\": \"2024-04-29T16:03:58.490Z\",\n                \"filename\": \"662fc4ee72af9df27095836c.jpeg\",\n                \"contentType\": \"image/jpeg\",\n                \"aliases\": []\n            },\n            \"createdAt\": \"2024-04-29T16:04:32.855Z\"\n        }\n    }\n}"}],"_postman_id":"e54058b2-241a-4ed3-b64b-07bc68c6a704"},{"name":"Get Albums by Query","id":"53294f44-0c2b-44bd-b4fa-0c37dca7ad6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/albums?artist=662fc49272af9df270958368","description":"<p>When fetching all albums from DB, users also have the option to pass `title`, `genre` and/or `artists` query params to refine the results.</p>\n","urlObject":{"path":["api","v1","albums"],"host":["{{URL}}"],"query":[{"key":"artist","value":"662fc49272af9df270958368"}],"variable":[]}},"response":[{"id":"afa57f50-339c-493a-b760-1d87e4f2fae9","name":"Get Albums by Query","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/api/v1/albums?artist=662fc49272af9df270958368","host":["{{URL}}"],"path":["api","v1","albums"],"query":[{"key":"artist","value":"662fc49272af9df270958368"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1941"},{"key":"ETag","value":"W/\"795-l5olSqS8UAmG3Kue5bLHYUuv54I\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:39:58 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"albums\": [\n            {\n                \"_id\": \"662fc51072af9df270958370\",\n                \"title\": \"Ripple Remixes\",\n                \"description\": \"The album is a collection of Ripple's best remixes.\",\n                \"releaseDate\": \"2024-04-19T00:00:00.000Z\",\n                \"genre\": [\n                    \"drum\",\n                    \"bass\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc41972af9df270958358\",\n                        \"name\": \"Ripple\",\n                        \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                        \"origin\": \"Czechoslovakia\",\n                        \"yearFormed\": 2017,\n                        \"genre\": [\n                            \"drum\",\n                            \"bass\"\n                        ],\n                        \"photo\": \"662fc3e372af9df270958355\",\n                        \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                    }\n                ],\n                \"photo\": {\n                    \"_id\": \"662fc4ee72af9df27095836c\",\n                    \"length\": 117806,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:03:58.490Z\",\n                    \"filename\": \"662fc4ee72af9df27095836c.jpeg\",\n                    \"contentType\": \"image/jpeg\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:04:32.855Z\"\n            },\n            {\n                \"_id\": \"662fc5a972af9df27095837d\",\n                \"title\": \"14/02\",\n                \"description\": \"The album is dedicated to his wife and pays homage to the way that Daniel confessed his love to her.\",\n                \"releaseDate\": \"2023-10-13T00:00:00.000Z\",\n                \"genre\": [\n                    \"rock\",\n                    \"pop\"\n                ],\n                \"artists\": [\n                    {\n                        \"_id\": \"662fc49272af9df270958368\",\n                        \"name\": \"Daniel Levi\",\n                        \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                        \"origin\": \"Estonia\",\n                        \"yearFormed\": 2022,\n                        \"genre\": [\n                            \"soul\",\n                            \"r&b\",\n                            \"dance\",\n                            \"pop\"\n                        ],\n                        \"photo\": \"662fc47872af9df270958363\",\n                        \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n                    }\n                ],\n                \"photo\": {\n                    \"_id\": \"662fc54a72af9df270958375\",\n                    \"length\": 39300,\n                    \"chunkSize\": 261120,\n                    \"uploadDate\": \"2024-04-29T16:05:30.358Z\",\n                    \"filename\": \"662fc54a72af9df270958375.webp\",\n                    \"contentType\": \"image/webp\",\n                    \"aliases\": []\n                },\n                \"createdAt\": \"2024-04-29T16:07:05.250Z\"\n            }\n        ]\n    },\n    \"count\": 2\n}"}],"_postman_id":"53294f44-0c2b-44bd-b4fa-0c37dca7ad6b"},{"name":"Delete an Album by ID","id":"57552949-0cfe-49ad-b698-478ccdcfaacf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/albums/662fce9272af9df2709585ba","description":"<p>Allows admins to delete albums using their unique identifiers. Deleting an album results in the removal of its associated album photos and songs, along with the audio files and photos of those songs. This route is protected and can only be accessed by admins who are logged in with a JWT token.</p>\n","urlObject":{"path":["api","v1","albums","662fce9272af9df2709585ba"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"61d6c10f-96a6-4d00-8af6-f4047ca10486","name":"Delete an Album by ID","originalRequest":{"method":"DELETE","header":[],"url":"{{URL}}/api/v1/albums/662fce9272af9df2709585ba"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"ETag","value":"W/\"2a-iTSk1QdJnTtP3jXOgsNmoKCN8EI\""},{"key":"Date","value":"Mon, 29 Apr 2024 17:15:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"album\": null\n    }\n}"}],"_postman_id":"57552949-0cfe-49ad-b698-478ccdcfaacf"},{"name":"Update an Album by ID","id":"399fd6cb-97a3-4b5f-ad1c-d1de432a32ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"genre\": [ \"pop\", \"r&b\" ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/albums/662fc5a972af9df27095837d","description":"<p>Allows admins to update an existing album details by its ID. (Protected route accessible only by Admins). Admins must be logged in with a JWT token.</p>\n<p>Allowed request body fields: <code>title</code>, <code>description</code>, <code>genre</code>, <code>releaseDate</code>, and <code>photo</code></p>\n","urlObject":{"path":["api","v1","albums","662fc5a972af9df27095837d"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"a7d5342b-5ef5-4032-95d4-706eb0a1f652","name":"Update an Album by ID","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"genre\": [ \"pop\", \"r&b\" ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/albums/662fc5a972af9df27095837d"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1049"},{"key":"ETag","value":"W/\"419-rko+3HOfB32Qvs84pnbqkbo4Ous\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:41:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"album\": {\n            \"_id\": \"662fc5a972af9df27095837d\",\n            \"title\": \"14/02\",\n            \"description\": \"The album is dedicated to his wife and pays homage to the way that Daniel confessed his love to her.\",\n            \"releaseDate\": \"2023-10-13T00:00:00.000Z\",\n            \"genre\": [\n                \"pop\",\n                \"r&b\"\n            ],\n            \"artists\": [\n                {\n                    \"_id\": \"662fc49272af9df270958368\",\n                    \"name\": \"Daniel Levi\",\n                    \"biography\": \"Daniel Levi is an Estonian artist, whose music includes sonic layers of soul, funk and R'n'B and is armed with a truly lively spirit. A household name in Estonia, Daniel appears regularly on national TV and radio while also gaining more and more attention internationally.\",\n                    \"origin\": \"Estonia\",\n                    \"yearFormed\": 2022,\n                    \"genre\": [\n                        \"soul\",\n                        \"r&b\",\n                        \"dance\",\n                        \"pop\"\n                    ],\n                    \"photo\": \"662fc47872af9df270958363\",\n                    \"createdAt\": \"2024-04-29T16:02:26.604Z\"\n                }\n            ],\n            \"photo\": {\n                \"_id\": \"662fc54a72af9df270958375\",\n                \"length\": 39300,\n                \"chunkSize\": 261120,\n                \"uploadDate\": \"2024-04-29T16:05:30.358Z\",\n                \"filename\": \"662fc54a72af9df270958375.webp\",\n                \"contentType\": \"image/webp\",\n                \"aliases\": []\n            },\n            \"createdAt\": \"2024-04-29T16:07:05.250Z\",\n            \"updatedAt\": \"2024-04-29T16:41:57.212Z\"\n        }\n    }\n}"}],"_postman_id":"399fd6cb-97a3-4b5f-ad1c-d1de432a32ea"}],"id":"8d7668e9-a1a7-4cf1-abf2-cbbafc83d2c6","description":"<p>Routes to create, read, update and delete albums.</p>\n","_postman_id":"8d7668e9-a1a7-4cf1-abf2-cbbafc83d2c6"},{"name":"Playlists","item":[{"name":"Add a Playlist","id":"c89384ee-d195-46ec-b0ed-d31b04a18621","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Kiwi\",\n  \"songs\": [ \"662fc6ef72af9df2709583d5\", \"662fc6a372af9df2709583b0\" ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists","description":"<p>Allows users to create playlists.(Protected route accessible only by users<br />that are logged in with a JWT token.)</p>\n<p>Note: If `isPublic` is not set to <code>true</code>, the playlist created is private by default.</p>\n","urlObject":{"path":["api","v1","playlists"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"90f1ba71-6e64-4111-916e-6639ac1e0066","name":"Add a Private Playlist - User Tashi","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Kiwi\",\n  \"songs\": [ \"662fc92472af9df2709584c1\", \"662fc8cb72af9df270958472\" ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2197"},{"key":"ETag","value":"W/\"895-iqFUytDdfxe7QuXXCN0o03TWXTI\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:28:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlist\": {\n            \"title\": \"Kiwi\",\n            \"user\": \"662fb0a58c0fb886f9b9239f\",\n            \"isPublic\": false,\n            \"songs\": [\n                {\n                    \"_id\": \"662fc92472af9df2709584c1\",\n                    \"title\": \"On Your Mind\",\n                    \"duration\": 180000,\n                    \"genre\": [\n                        \"drum\",\n                        \"bass\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc41972af9df270958358\",\n                            \"name\": \"Ripple\",\n                            \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                            \"origin\": \"Czechoslovakia\",\n                            \"yearFormed\": 2017,\n                            \"genre\": [\n                                \"drum\",\n                                \"bass\"\n                            ],\n                            \"photo\": \"662fc3e372af9df270958355\",\n                            \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                        }\n                    ],\n                    \"album\": \"662fc51072af9df270958370\",\n                    \"releaseDate\": \"2024-03-14T00:00:00.000Z\",\n                    \"photo\": {\n                        \"_id\": \"662fc8e072af9df270958479\",\n                        \"length\": 97524,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:20:48.077Z\",\n                        \"filename\": \"662fc8e072af9df270958479.jpeg\",\n                        \"contentType\": \"image/jpeg\",\n                        \"aliases\": []\n                    },\n                    \"audioFile\": {\n                        \"_id\": \"662fc8f072af9df27095847c\",\n                        \"length\": 16763642,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:21:06.278Z\",\n                        \"filename\": \"662fc8f072af9df27095847c.mpga\",\n                        \"contentType\": \"audio/mpeg\",\n                        \"aliases\": []\n                    },\n                    \"createdAt\": \"2024-04-29T16:21:56.968Z\"\n                },\n                {\n                    \"_id\": \"662fc8cb72af9df270958472\",\n                    \"title\": \"Everyday\",\n                    \"duration\": 144000,\n                    \"genre\": [\n                        \"drum\",\n                        \"bass\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc41972af9df270958358\",\n                            \"name\": \"Ripple\",\n                            \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                            \"origin\": \"Czechoslovakia\",\n                            \"yearFormed\": 2017,\n                            \"genre\": [\n                                \"drum\",\n                                \"bass\"\n                            ],\n                            \"photo\": \"662fc3e372af9df270958355\",\n                            \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                        }\n                    ],\n                    \"album\": \"662fc51072af9df270958370\",\n                    \"releaseDate\": \"2024-04-18T00:00:00.000Z\",\n                    \"audioFile\": {\n                        \"_id\": \"662fc88772af9df270958454\",\n                        \"length\": 6580837,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:19:19.937Z\",\n                        \"filename\": \"662fc88772af9df270958454.mpga\",\n                        \"contentType\": \"audio/mpeg\",\n                        \"aliases\": []\n                    },\n                    \"createdAt\": \"2024-04-29T16:20:27.240Z\"\n                }\n            ],\n            \"_id\": \"662fe6b1e8226dd27a3e64be\",\n            \"createdAt\": \"2024-04-29T18:28:01.237Z\"\n        }\n    }\n}"},{"id":"9517b579-34bd-43be-bc37-ba19844b965c","name":"Add a Private Playlist - User Ori","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Lily\",\n  \"songs\": [ \"662fc6a372af9df2709583b0\", \"662fc6ef72af9df2709583d5\" ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2752"},{"key":"ETag","value":"W/\"ac0-6ZRQZMP9CSo5GFkw4eZBaJ4K5Fw\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:32:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlist\": {\n            \"title\": \"Lily\",\n            \"user\": \"662fb0c58c0fb886f9b923a1\",\n            \"isPublic\": false,\n            \"songs\": [\n                {\n                    \"_id\": \"662fc6a372af9df2709583b0\",\n                    \"title\": \"Seasons\",\n                    \"duration\": 288000,\n                    \"genre\": [\n                        \"electronic\",\n                        \"bass\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc36272af9df27095834a\",\n                            \"name\": \"Rival\",\n                            \"biography\": \"Valentin Rieff, better known as Rival is a 22 year old German producer and musician. He takes melodic trap one step further by finding creative uses for plugins to curate a unique sound and identity/voice as an artist. With the added mastery of jazz chords and a multitude of instruments including piano, drums, and trumpet, Rival is well equipped to create a unique composition with a variety of influences.\",\n                            \"origin\": \"Germany\",\n                            \"yearFormed\": 2018,\n                            \"genre\": [\n                                \"trap\",\n                                \"electronic\",\n                                \"bass\"\n                            ],\n                            \"photo\": \"662fc33472af9df270958347\",\n                            \"createdAt\": \"2024-04-29T15:57:22.831Z\"\n                        }\n                    ],\n                    \"featuredArtists\": [\n                        {\n                            \"_id\": \"662fc3b872af9df270958351\",\n                            \"name\": \"Harley Bird\",\n                            \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                            \"origin\": \"LA, USA\",\n                            \"yearFormed\": 2017,\n                            \"genre\": [\n                                \"house\",\n                                \"trap\",\n                                \"edm\"\n                            ],\n                            \"photo\": \"662fc3a472af9df27095834e\",\n                            \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n                        }\n                    ],\n                    \"releaseDate\": \"2018-04-04T00:00:00.000Z\",\n                    \"photo\": {\n                        \"_id\": \"662fc65572af9df270958382\",\n                        \"length\": 147793,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:09:57.418Z\",\n                        \"filename\": \"662fc65572af9df270958382.jpeg\",\n                        \"contentType\": \"image/jpeg\",\n                        \"aliases\": []\n                    },\n                    \"audioFile\": {\n                        \"_id\": \"662fc66672af9df270958385\",\n                        \"length\": 9933889,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:10:15.335Z\",\n                        \"filename\": \"662fc66672af9df270958385.mpga\",\n                        \"contentType\": \"audio/mpeg\",\n                        \"aliases\": []\n                    },\n                    \"createdAt\": \"2024-04-29T16:11:15.713Z\"\n                },\n                {\n                    \"_id\": \"662fc6ef72af9df2709583d5\",\n                    \"title\": \"Dreamer\",\n                    \"duration\": 138000,\n                    \"genre\": [\n                        \"house\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc2fc72af9df270958343\",\n                            \"name\": \"Alan Walker\",\n                            \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n                            \"origin\": \"Northampton, United Kingdom\",\n                            \"yearFormed\": 2012,\n                            \"genre\": [\n                                \"electro house\",\n                                \"electro pop\",\n                                \"trap\",\n                                \"melodic dubstep\"\n                            ],\n                            \"photo\": \"662fc2d072af9df270958340\",\n                            \"createdAt\": \"2024-04-29T15:55:40.539Z\"\n                        }\n                    ],\n                    \"releaseDate\": \"2023-04-07T00:00:00.000Z\",\n                    \"photo\": {\n                        \"_id\": \"662fc6bf72af9df2709583b7\",\n                        \"length\": 81347,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:11:43.303Z\",\n                        \"filename\": \"662fc6bf72af9df2709583b7.jpeg\",\n                        \"contentType\": \"image/jpeg\",\n                        \"aliases\": []\n                    },\n                    \"audioFile\": {\n                        \"_id\": \"662fc6cc72af9df2709583ba\",\n                        \"length\": 6219084,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:11:57.159Z\",\n                        \"filename\": \"662fc6cc72af9df2709583ba.mpga\",\n                        \"contentType\": \"audio/mpeg\",\n                        \"aliases\": []\n                    },\n                    \"createdAt\": \"2024-04-29T16:12:31.926Z\"\n                }\n            ],\n            \"_id\": \"662fe7b5e8226dd27a3e64e7\",\n            \"createdAt\": \"2024-04-29T18:32:22.008Z\"\n        }\n    }\n}"},{"id":"6f9c2dfa-6e48-4ce1-a91c-36913965df0c","name":"Add a Public Playlist - User Ori","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Rose\",\n  \"description\": \"Ori's favorite songs.\",\n  \"songs\": [ \"662fc73d72af9df2709583f4\", \"662fc7b872af9df270958424\", \"662fc80972af9df27095844e\" ],\n  \"isPublic\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4198"},{"key":"ETag","value":"W/\"1066-eIm5Pt0DVKSZsJARZFAv2xOWx7I\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:32:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlist\": {\n            \"title\": \"Rose\",\n            \"user\": \"662fb0c58c0fb886f9b923a1\",\n            \"description\": \"Ori's favorite songs.\",\n            \"isPublic\": true,\n            \"songs\": [\n                {\n                    \"_id\": \"662fc73d72af9df2709583f4\",\n                    \"title\": \"Dreamer (Rival Remix)\",\n                    \"duration\": 126000,\n                    \"genre\": [\n                        \"instrumental\",\n                        \"electronic\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc2fc72af9df270958343\",\n                            \"name\": \"Alan Walker\",\n                            \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n                            \"origin\": \"Northampton, United Kingdom\",\n                            \"yearFormed\": 2012,\n                            \"genre\": [\n                                \"electro house\",\n                                \"electro pop\",\n                                \"trap\",\n                                \"melodic dubstep\"\n                            ],\n                            \"photo\": \"662fc2d072af9df270958340\",\n                            \"createdAt\": \"2024-04-29T15:55:40.539Z\"\n                        },\n                        {\n                            \"_id\": \"662fc36272af9df27095834a\",\n                            \"name\": \"Rival\",\n                            \"biography\": \"Valentin Rieff, better known as Rival is a 22 year old German producer and musician. He takes melodic trap one step further by finding creative uses for plugins to curate a unique sound and identity/voice as an artist. With the added mastery of jazz chords and a multitude of instruments including piano, drums, and trumpet, Rival is well equipped to create a unique composition with a variety of influences.\",\n                            \"origin\": \"Germany\",\n                            \"yearFormed\": 2018,\n                            \"genre\": [\n                                \"trap\",\n                                \"electronic\",\n                                \"bass\"\n                            ],\n                            \"photo\": \"662fc33472af9df270958347\",\n                            \"createdAt\": \"2024-04-29T15:57:22.831Z\"\n                        }\n                    ],\n                    \"releaseDate\": \"2023-05-07T00:00:00.000Z\",\n                    \"audioFile\": {\n                        \"_id\": \"662fc71772af9df2709583db\",\n                        \"length\": 5533485,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:13:12.174Z\",\n                        \"filename\": \"662fc71772af9df2709583db.mpga\",\n                        \"contentType\": \"audio/mpeg\",\n                        \"aliases\": []\n                    },\n                    \"createdAt\": \"2024-04-29T16:13:49.193Z\"\n                },\n                {\n                    \"_id\": \"662fc7b872af9df270958424\",\n                    \"title\": \"Feel Again\",\n                    \"duration\": 210000,\n                    \"genre\": [\n                        \"house\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc45672af9df27095835f\",\n                            \"name\": \"Culture Code\",\n                            \"biography\": \"Culture Code is a dance music duo made up of childhood friends Dylan Norton & Chris Bains. Based in the UK, the producer/DJ duo are known for crafting melodically-driven bass music across a variety of genres, including future house & melodic dubstep.\",\n                            \"origin\": \"United Kingdom\",\n                            \"yearFormed\": 2012,\n                            \"genre\": [\n                                \"future house\",\n                                \"melodic dubstep\",\n                                \"dance\"\n                            ],\n                            \"photo\": \"662fc43b72af9df27095835c\",\n                            \"createdAt\": \"2024-04-29T16:01:26.542Z\"\n                        }\n                    ],\n                    \"featuredArtists\": [\n                        {\n                            \"_id\": \"662fc3b872af9df270958351\",\n                            \"name\": \"Harley Bird\",\n                            \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                            \"origin\": \"LA, USA\",\n                            \"yearFormed\": 2017,\n                            \"genre\": [\n                                \"house\",\n                                \"trap\",\n                                \"edm\"\n                            ],\n                            \"photo\": \"662fc3a472af9df27095834e\",\n                            \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n                        }\n                    ],\n                    \"releaseDate\": \"2018-02-24T00:00:00.000Z\",\n                    \"photo\": {\n                        \"_id\": \"662fc77272af9df2709583f9\",\n                        \"length\": 94494,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:14:42.039Z\",\n                        \"filename\": \"662fc77272af9df2709583f9.jpeg\",\n                        \"contentType\": \"image/jpeg\",\n                        \"aliases\": []\n                    },\n                    \"audioFile\": {\n                        \"_id\": \"662fc78172af9df2709583fc\",\n                        \"length\": 9345648,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:14:58.638Z\",\n                        \"filename\": \"662fc78172af9df2709583fc.mpga\",\n                        \"contentType\": \"audio/mpeg\",\n                        \"aliases\": []\n                    },\n                    \"createdAt\": \"2024-04-29T16:15:52.184Z\"\n                },\n                {\n                    \"_id\": \"662fc80972af9df27095844e\",\n                    \"title\": \"Not Giving In\",\n                    \"duration\": 180000,\n                    \"genre\": [\n                        \"melodic dubstep\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc45672af9df27095835f\",\n                            \"name\": \"Culture Code\",\n                            \"biography\": \"Culture Code is a dance music duo made up of childhood friends Dylan Norton & Chris Bains. Based in the UK, the producer/DJ duo are known for crafting melodically-driven bass music across a variety of genres, including future house & melodic dubstep.\",\n                            \"origin\": \"United Kingdom\",\n                            \"yearFormed\": 2012,\n                            \"genre\": [\n                                \"future house\",\n                                \"melodic dubstep\",\n                                \"dance\"\n                            ],\n                            \"photo\": \"662fc43b72af9df27095835c\",\n                            \"createdAt\": \"2024-04-29T16:01:26.542Z\"\n                        }\n                    ],\n                    \"releaseDate\": \"2022-11-11T00:00:00.000Z\",\n                    \"photo\": {\n                        \"_id\": \"662fc7d672af9df27095842b\",\n                        \"length\": 74096,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:16:22.620Z\",\n                        \"filename\": \"662fc7d672af9df27095842b.jpeg\",\n                        \"contentType\": \"image/jpeg\",\n                        \"aliases\": []\n                    },\n                    \"audioFile\": {\n                        \"_id\": \"662fc7e772af9df27095842e\",\n                        \"length\": 7490917,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:16:39.870Z\",\n                        \"filename\": \"662fc7e772af9df27095842e.mpga\",\n                        \"contentType\": \"audio/mpeg\",\n                        \"aliases\": []\n                    },\n                    \"createdAt\": \"2024-04-29T16:17:13.316Z\"\n                }\n            ],\n            \"_id\": \"662fe7d3e8226dd27a3e64f0\",\n            \"createdAt\": \"2024-04-29T18:32:51.879Z\"\n        }\n    }\n}"},{"id":"9207de45-def9-4ccc-82fd-c761470b6bbe","name":"Add a Public Playlist - User Tashi","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"title\": \"Pineapple\",\n  \"songs\": [ \"662fc6ef72af9df2709583d5\", \"662fc6a372af9df2709583b0\" ],\n  \"description\": \"Tashi's favorite songs.\",\n  \"isPublic\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2796"},{"key":"ETag","value":"W/\"aec-owdV3WMlv7dd9UlTem8wFEPAe2s\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:35:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlist\": {\n            \"title\": \"Pineapple\",\n            \"user\": \"662fb0a58c0fb886f9b9239f\",\n            \"description\": \"Tashi's favorite songs.\",\n            \"isPublic\": true,\n            \"songs\": [\n                {\n                    \"_id\": \"662fc6ef72af9df2709583d5\",\n                    \"title\": \"Dreamer\",\n                    \"duration\": 138000,\n                    \"genre\": [\n                        \"house\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc2fc72af9df270958343\",\n                            \"name\": \"Alan Walker\",\n                            \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n                            \"origin\": \"Northampton, United Kingdom\",\n                            \"yearFormed\": 2012,\n                            \"genre\": [\n                                \"electro house\",\n                                \"electro pop\",\n                                \"trap\",\n                                \"melodic dubstep\"\n                            ],\n                            \"photo\": \"662fc2d072af9df270958340\",\n                            \"createdAt\": \"2024-04-29T15:55:40.539Z\"\n                        }\n                    ],\n                    \"releaseDate\": \"2023-04-07T00:00:00.000Z\",\n                    \"photo\": {\n                        \"_id\": \"662fc6bf72af9df2709583b7\",\n                        \"length\": 81347,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:11:43.303Z\",\n                        \"filename\": \"662fc6bf72af9df2709583b7.jpeg\",\n                        \"contentType\": \"image/jpeg\",\n                        \"aliases\": []\n                    },\n                    \"audioFile\": {\n                        \"_id\": \"662fc6cc72af9df2709583ba\",\n                        \"length\": 6219084,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:11:57.159Z\",\n                        \"filename\": \"662fc6cc72af9df2709583ba.mpga\",\n                        \"contentType\": \"audio/mpeg\",\n                        \"aliases\": []\n                    },\n                    \"createdAt\": \"2024-04-29T16:12:31.926Z\"\n                },\n                {\n                    \"_id\": \"662fc6a372af9df2709583b0\",\n                    \"title\": \"Seasons\",\n                    \"duration\": 288000,\n                    \"genre\": [\n                        \"electronic\",\n                        \"bass\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc36272af9df27095834a\",\n                            \"name\": \"Rival\",\n                            \"biography\": \"Valentin Rieff, better known as Rival is a 22 year old German producer and musician. He takes melodic trap one step further by finding creative uses for plugins to curate a unique sound and identity/voice as an artist. With the added mastery of jazz chords and a multitude of instruments including piano, drums, and trumpet, Rival is well equipped to create a unique composition with a variety of influences.\",\n                            \"origin\": \"Germany\",\n                            \"yearFormed\": 2018,\n                            \"genre\": [\n                                \"trap\",\n                                \"electronic\",\n                                \"bass\"\n                            ],\n                            \"photo\": \"662fc33472af9df270958347\",\n                            \"createdAt\": \"2024-04-29T15:57:22.831Z\"\n                        }\n                    ],\n                    \"featuredArtists\": [\n                        {\n                            \"_id\": \"662fc3b872af9df270958351\",\n                            \"name\": \"Harley Bird\",\n                            \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                            \"origin\": \"LA, USA\",\n                            \"yearFormed\": 2017,\n                            \"genre\": [\n                                \"house\",\n                                \"trap\",\n                                \"edm\"\n                            ],\n                            \"photo\": \"662fc3a472af9df27095834e\",\n                            \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n                        }\n                    ],\n                    \"releaseDate\": \"2018-04-04T00:00:00.000Z\",\n                    \"photo\": {\n                        \"_id\": \"662fc65572af9df270958382\",\n                        \"length\": 147793,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:09:57.418Z\",\n                        \"filename\": \"662fc65572af9df270958382.jpeg\",\n                        \"contentType\": \"image/jpeg\",\n                        \"aliases\": []\n                    },\n                    \"audioFile\": {\n                        \"_id\": \"662fc66672af9df270958385\",\n                        \"length\": 9933889,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:10:15.335Z\",\n                        \"filename\": \"662fc66672af9df270958385.mpga\",\n                        \"contentType\": \"audio/mpeg\",\n                        \"aliases\": []\n                    },\n                    \"createdAt\": \"2024-04-29T16:11:15.713Z\"\n                }\n            ],\n            \"_id\": \"662fe866e8226dd27a3e64fa\",\n            \"createdAt\": \"2024-04-29T18:35:18.756Z\"\n        }\n    }\n}"}],"_postman_id":"c89384ee-d195-46ec-b0ed-d31b04a18621"},{"name":"Get all User Playlists","id":"bff8f16a-55d7-4acc-a7d8-ea89bf01ffb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/playlists","description":"<p>Retrieves all user playlists from the database for a logged in user. To access this endpoint, users need to be authenticated using a JWT token. Additionally, users can utilize the <code>user</code>query parameters for result filtering. If the user query parameter is provided and the user<br />ID doesn't match the logged-in user, only the public playlists for that user specified in the query will be returned. Otherwise, both public and private playlists of the user will be returned.</p>\n","urlObject":{"path":["api","v1","playlists"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"2f5f3b0f-aec6-428c-b581-e60d9cee9010","name":"Get all User Playlists","originalRequest":{"method":"GET","header":[],"url":"{{URL}}/api/v1/playlists"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4966"},{"key":"ETag","value":"W/\"1366-vQCZZS3dNN488c0MKly1l9Rl+cc\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:37:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlists\": [\n            {\n                \"_id\": \"662fe6b1e8226dd27a3e64be\",\n                \"title\": \"Kiwi\",\n                \"user\": \"662fb0a58c0fb886f9b9239f\",\n                \"isPublic\": false,\n                \"songs\": [\n                    {\n                        \"_id\": \"662fc92472af9df2709584c1\",\n                        \"title\": \"On Your Mind\",\n                        \"duration\": 180000,\n                        \"genre\": [\n                            \"drum\",\n                            \"bass\"\n                        ],\n                        \"artists\": [\n                            {\n                                \"_id\": \"662fc41972af9df270958358\",\n                                \"name\": \"Ripple\",\n                                \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                                \"origin\": \"Czechoslovakia\",\n                                \"yearFormed\": 2017,\n                                \"genre\": [\n                                    \"drum\",\n                                    \"bass\"\n                                ],\n                                \"photo\": \"662fc3e372af9df270958355\",\n                                \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                            }\n                        ],\n                        \"album\": \"662fc51072af9df270958370\",\n                        \"releaseDate\": \"2024-03-14T00:00:00.000Z\",\n                        \"photo\": {\n                            \"_id\": \"662fc8e072af9df270958479\",\n                            \"length\": 97524,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:20:48.077Z\",\n                            \"filename\": \"662fc8e072af9df270958479.jpeg\",\n                            \"contentType\": \"image/jpeg\",\n                            \"aliases\": []\n                        },\n                        \"audioFile\": {\n                            \"_id\": \"662fc8f072af9df27095847c\",\n                            \"length\": 16763642,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:21:06.278Z\",\n                            \"filename\": \"662fc8f072af9df27095847c.mpga\",\n                            \"contentType\": \"audio/mpeg\",\n                            \"aliases\": []\n                        },\n                        \"createdAt\": \"2024-04-29T16:21:56.968Z\"\n                    },\n                    {\n                        \"_id\": \"662fc8cb72af9df270958472\",\n                        \"title\": \"Everyday\",\n                        \"duration\": 144000,\n                        \"genre\": [\n                            \"drum\",\n                            \"bass\"\n                        ],\n                        \"artists\": [\n                            {\n                                \"_id\": \"662fc41972af9df270958358\",\n                                \"name\": \"Ripple\",\n                                \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                                \"origin\": \"Czechoslovakia\",\n                                \"yearFormed\": 2017,\n                                \"genre\": [\n                                    \"drum\",\n                                    \"bass\"\n                                ],\n                                \"photo\": \"662fc3e372af9df270958355\",\n                                \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                            }\n                        ],\n                        \"album\": \"662fc51072af9df270958370\",\n                        \"releaseDate\": \"2024-04-18T00:00:00.000Z\",\n                        \"audioFile\": {\n                            \"_id\": \"662fc88772af9df270958454\",\n                            \"length\": 6580837,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:19:19.937Z\",\n                            \"filename\": \"662fc88772af9df270958454.mpga\",\n                            \"contentType\": \"audio/mpeg\",\n                            \"aliases\": []\n                        },\n                        \"createdAt\": \"2024-04-29T16:20:27.240Z\"\n                    }\n                ],\n                \"createdAt\": \"2024-04-29T18:28:01.237Z\"\n            },\n            {\n                \"_id\": \"662fe866e8226dd27a3e64fa\",\n                \"title\": \"Pineapple\",\n                \"user\": \"662fb0a58c0fb886f9b9239f\",\n                \"description\": \"Tashi's favorite songs.\",\n                \"isPublic\": true,\n                \"songs\": [\n                    {\n                        \"_id\": \"662fc6ef72af9df2709583d5\",\n                        \"title\": \"Dreamer\",\n                        \"duration\": 138000,\n                        \"genre\": [\n                            \"house\"\n                        ],\n                        \"artists\": [\n                            {\n                                \"_id\": \"662fc2fc72af9df270958343\",\n                                \"name\": \"Alan Walker\",\n                                \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n                                \"origin\": \"Northampton, United Kingdom\",\n                                \"yearFormed\": 2012,\n                                \"genre\": [\n                                    \"electro house\",\n                                    \"electro pop\",\n                                    \"trap\",\n                                    \"melodic dubstep\"\n                                ],\n                                \"photo\": \"662fc2d072af9df270958340\",\n                                \"createdAt\": \"2024-04-29T15:55:40.539Z\"\n                            }\n                        ],\n                        \"releaseDate\": \"2023-04-07T00:00:00.000Z\",\n                        \"photo\": {\n                            \"_id\": \"662fc6bf72af9df2709583b7\",\n                            \"length\": 81347,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:11:43.303Z\",\n                            \"filename\": \"662fc6bf72af9df2709583b7.jpeg\",\n                            \"contentType\": \"image/jpeg\",\n                            \"aliases\": []\n                        },\n                        \"audioFile\": {\n                            \"_id\": \"662fc6cc72af9df2709583ba\",\n                            \"length\": 6219084,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:11:57.159Z\",\n                            \"filename\": \"662fc6cc72af9df2709583ba.mpga\",\n                            \"contentType\": \"audio/mpeg\",\n                            \"aliases\": []\n                        },\n                        \"createdAt\": \"2024-04-29T16:12:31.926Z\"\n                    },\n                    {\n                        \"_id\": \"662fc6a372af9df2709583b0\",\n                        \"title\": \"Seasons\",\n                        \"duration\": 288000,\n                        \"genre\": [\n                            \"electronic\",\n                            \"bass\"\n                        ],\n                        \"artists\": [\n                            {\n                                \"_id\": \"662fc36272af9df27095834a\",\n                                \"name\": \"Rival\",\n                                \"biography\": \"Valentin Rieff, better known as Rival is a 22 year old German producer and musician. He takes melodic trap one step further by finding creative uses for plugins to curate a unique sound and identity/voice as an artist. With the added mastery of jazz chords and a multitude of instruments including piano, drums, and trumpet, Rival is well equipped to create a unique composition with a variety of influences.\",\n                                \"origin\": \"Germany\",\n                                \"yearFormed\": 2018,\n                                \"genre\": [\n                                    \"trap\",\n                                    \"electronic\",\n                                    \"bass\"\n                                ],\n                                \"photo\": \"662fc33472af9df270958347\",\n                                \"createdAt\": \"2024-04-29T15:57:22.831Z\"\n                            }\n                        ],\n                        \"featuredArtists\": [\n                            {\n                                \"_id\": \"662fc3b872af9df270958351\",\n                                \"name\": \"Harley Bird\",\n                                \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                                \"origin\": \"LA, USA\",\n                                \"yearFormed\": 2017,\n                                \"genre\": [\n                                    \"house\",\n                                    \"trap\",\n                                    \"edm\"\n                                ],\n                                \"photo\": \"662fc3a472af9df27095834e\",\n                                \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n                            }\n                        ],\n                        \"releaseDate\": \"2018-04-04T00:00:00.000Z\",\n                        \"photo\": {\n                            \"_id\": \"662fc65572af9df270958382\",\n                            \"length\": 147793,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:09:57.418Z\",\n                            \"filename\": \"662fc65572af9df270958382.jpeg\",\n                            \"contentType\": \"image/jpeg\",\n                            \"aliases\": []\n                        },\n                        \"audioFile\": {\n                            \"_id\": \"662fc66672af9df270958385\",\n                            \"length\": 9933889,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:10:15.335Z\",\n                            \"filename\": \"662fc66672af9df270958385.mpga\",\n                            \"contentType\": \"audio/mpeg\",\n                            \"aliases\": []\n                        },\n                        \"createdAt\": \"2024-04-29T16:11:15.713Z\"\n                    }\n                ],\n                \"createdAt\": \"2024-04-29T18:35:18.756Z\"\n            }\n        ]\n    },\n    \"count\": 2\n}"}],"_postman_id":"bff8f16a-55d7-4acc-a7d8-ea89bf01ffb7"},{"name":"Get User Playlists by Query","id":"6c0b7c89-70d1-4402-805c-9b4f85b70b81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/playlists?title=rose","description":"<p>Retrieves all user playlists from the database for a logged in user. To access this endpoint, users need to be authenticated using a JWT token. Additionally, users can utilize the <code>user</code>query parameters for result filtering. If the user query parameter is provided and the user<br />ID doesn't match the logged-in user, only the public playlists for that user will be returned. Otherwise, both public and private playlists of the user will be returned.</p>\n<p>Note: In the following example, Ori, who is logged in, attempts to retrieve Tashi's playlists, resulting in only Tashi's public playlists being returned.</p>\n","urlObject":{"path":["api","v1","playlists"],"host":["{{URL}}"],"query":[{"key":"title","value":"rose"}],"variable":[]}},"response":[{"id":"125230e4-3b74-4d10-a138-01b41f065ad2","name":"Get User Playlists by User Query","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/api/v1/playlists?user=662fb0c58c0fb886f9b923a1","protocol":"http","host":["localhost"],"port":"3000","path":["api","v1","playlists"],"query":[{"key":"user","value":"662fb0c58c0fb886f9b923a1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"4211"},{"key":"ETag","value":"W/\"1073-h/0BGOwq5ssKfr1LOyklrwZ70pw\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:36:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlists\": [\n            {\n                \"_id\": \"662fe7d3e8226dd27a3e64f0\",\n                \"title\": \"Rose\",\n                \"user\": \"662fb0c58c0fb886f9b923a1\",\n                \"description\": \"Ori's favorite songs.\",\n                \"isPublic\": true,\n                \"songs\": [\n                    {\n                        \"_id\": \"662fc73d72af9df2709583f4\",\n                        \"title\": \"Dreamer (Rival Remix)\",\n                        \"duration\": 126000,\n                        \"genre\": [\n                            \"instrumental\",\n                            \"electronic\"\n                        ],\n                        \"artists\": [\n                            {\n                                \"_id\": \"662fc2fc72af9df270958343\",\n                                \"name\": \"Alan Walker\",\n                                \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n                                \"origin\": \"Northampton, United Kingdom\",\n                                \"yearFormed\": 2012,\n                                \"genre\": [\n                                    \"electro house\",\n                                    \"electro pop\",\n                                    \"trap\",\n                                    \"melodic dubstep\"\n                                ],\n                                \"photo\": \"662fc2d072af9df270958340\",\n                                \"createdAt\": \"2024-04-29T15:55:40.539Z\"\n                            },\n                            {\n                                \"_id\": \"662fc36272af9df27095834a\",\n                                \"name\": \"Rival\",\n                                \"biography\": \"Valentin Rieff, better known as Rival is a 22 year old German producer and musician. He takes melodic trap one step further by finding creative uses for plugins to curate a unique sound and identity/voice as an artist. With the added mastery of jazz chords and a multitude of instruments including piano, drums, and trumpet, Rival is well equipped to create a unique composition with a variety of influences.\",\n                                \"origin\": \"Germany\",\n                                \"yearFormed\": 2018,\n                                \"genre\": [\n                                    \"trap\",\n                                    \"electronic\",\n                                    \"bass\"\n                                ],\n                                \"photo\": \"662fc33472af9df270958347\",\n                                \"createdAt\": \"2024-04-29T15:57:22.831Z\"\n                            }\n                        ],\n                        \"releaseDate\": \"2023-05-07T00:00:00.000Z\",\n                        \"audioFile\": {\n                            \"_id\": \"662fc71772af9df2709583db\",\n                            \"length\": 5533485,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:13:12.174Z\",\n                            \"filename\": \"662fc71772af9df2709583db.mpga\",\n                            \"contentType\": \"audio/mpeg\",\n                            \"aliases\": []\n                        },\n                        \"createdAt\": \"2024-04-29T16:13:49.193Z\"\n                    },\n                    {\n                        \"_id\": \"662fc7b872af9df270958424\",\n                        \"title\": \"Feel Again\",\n                        \"duration\": 210000,\n                        \"genre\": [\n                            \"house\"\n                        ],\n                        \"artists\": [\n                            {\n                                \"_id\": \"662fc45672af9df27095835f\",\n                                \"name\": \"Culture Code\",\n                                \"biography\": \"Culture Code is a dance music duo made up of childhood friends Dylan Norton & Chris Bains. Based in the UK, the producer/DJ duo are known for crafting melodically-driven bass music across a variety of genres, including future house & melodic dubstep.\",\n                                \"origin\": \"United Kingdom\",\n                                \"yearFormed\": 2012,\n                                \"genre\": [\n                                    \"future house\",\n                                    \"melodic dubstep\",\n                                    \"dance\"\n                                ],\n                                \"photo\": \"662fc43b72af9df27095835c\",\n                                \"createdAt\": \"2024-04-29T16:01:26.542Z\"\n                            }\n                        ],\n                        \"featuredArtists\": [\n                            {\n                                \"_id\": \"662fc3b872af9df270958351\",\n                                \"name\": \"Harley Bird\",\n                                \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                                \"origin\": \"LA, USA\",\n                                \"yearFormed\": 2017,\n                                \"genre\": [\n                                    \"house\",\n                                    \"trap\",\n                                    \"edm\"\n                                ],\n                                \"photo\": \"662fc3a472af9df27095834e\",\n                                \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n                            }\n                        ],\n                        \"releaseDate\": \"2018-02-24T00:00:00.000Z\",\n                        \"photo\": {\n                            \"_id\": \"662fc77272af9df2709583f9\",\n                            \"length\": 94494,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:14:42.039Z\",\n                            \"filename\": \"662fc77272af9df2709583f9.jpeg\",\n                            \"contentType\": \"image/jpeg\",\n                            \"aliases\": []\n                        },\n                        \"audioFile\": {\n                            \"_id\": \"662fc78172af9df2709583fc\",\n                            \"length\": 9345648,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:14:58.638Z\",\n                            \"filename\": \"662fc78172af9df2709583fc.mpga\",\n                            \"contentType\": \"audio/mpeg\",\n                            \"aliases\": []\n                        },\n                        \"createdAt\": \"2024-04-29T16:15:52.184Z\"\n                    },\n                    {\n                        \"_id\": \"662fc80972af9df27095844e\",\n                        \"title\": \"Not Giving In\",\n                        \"duration\": 180000,\n                        \"genre\": [\n                            \"melodic dubstep\"\n                        ],\n                        \"artists\": [\n                            {\n                                \"_id\": \"662fc45672af9df27095835f\",\n                                \"name\": \"Culture Code\",\n                                \"biography\": \"Culture Code is a dance music duo made up of childhood friends Dylan Norton & Chris Bains. Based in the UK, the producer/DJ duo are known for crafting melodically-driven bass music across a variety of genres, including future house & melodic dubstep.\",\n                                \"origin\": \"United Kingdom\",\n                                \"yearFormed\": 2012,\n                                \"genre\": [\n                                    \"future house\",\n                                    \"melodic dubstep\",\n                                    \"dance\"\n                                ],\n                                \"photo\": \"662fc43b72af9df27095835c\",\n                                \"createdAt\": \"2024-04-29T16:01:26.542Z\"\n                            }\n                        ],\n                        \"releaseDate\": \"2022-11-11T00:00:00.000Z\",\n                        \"photo\": {\n                            \"_id\": \"662fc7d672af9df27095842b\",\n                            \"length\": 74096,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:16:22.620Z\",\n                            \"filename\": \"662fc7d672af9df27095842b.jpeg\",\n                            \"contentType\": \"image/jpeg\",\n                            \"aliases\": []\n                        },\n                        \"audioFile\": {\n                            \"_id\": \"662fc7e772af9df27095842e\",\n                            \"length\": 7490917,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:16:39.870Z\",\n                            \"filename\": \"662fc7e772af9df27095842e.mpga\",\n                            \"contentType\": \"audio/mpeg\",\n                            \"aliases\": []\n                        },\n                        \"createdAt\": \"2024-04-29T16:17:13.316Z\"\n                    }\n                ],\n                \"createdAt\": \"2024-04-29T18:32:51.879Z\"\n            }\n        ]\n    },\n    \"count\": 1\n}"},{"id":"e1fb642b-2562-4b55-ae02-81437499e109","name":"Get User Playlists by Title Query","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{URL}}/api/v1/playlists?title=pineapple","host":["{{URL}}"],"path":["api","v1","playlists"],"query":[{"key":"title","value":"pineapple"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2809"},{"key":"ETag","value":"W/\"af9-pE05AvzD2V7q0ckzejwiakqidFs\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:37:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlists\": [\n            {\n                \"_id\": \"662fe866e8226dd27a3e64fa\",\n                \"title\": \"Pineapple\",\n                \"user\": \"662fb0a58c0fb886f9b9239f\",\n                \"description\": \"Tashi's favorite songs.\",\n                \"isPublic\": true,\n                \"songs\": [\n                    {\n                        \"_id\": \"662fc6ef72af9df2709583d5\",\n                        \"title\": \"Dreamer\",\n                        \"duration\": 138000,\n                        \"genre\": [\n                            \"house\"\n                        ],\n                        \"artists\": [\n                            {\n                                \"_id\": \"662fc2fc72af9df270958343\",\n                                \"name\": \"Alan Walker\",\n                                \"biography\": \"Alan Olav Walker is a Norwegian DJ and music producer. At the age of 16, Walker released `Fade` on NoCopyrightSounds, which led to a contract with MER Musikk. He rose to fame with his 2015 single `Faded`.\",\n                                \"origin\": \"Northampton, United Kingdom\",\n                                \"yearFormed\": 2012,\n                                \"genre\": [\n                                    \"electro house\",\n                                    \"electro pop\",\n                                    \"trap\",\n                                    \"melodic dubstep\"\n                                ],\n                                \"photo\": \"662fc2d072af9df270958340\",\n                                \"createdAt\": \"2024-04-29T15:55:40.539Z\"\n                            }\n                        ],\n                        \"releaseDate\": \"2023-04-07T00:00:00.000Z\",\n                        \"photo\": {\n                            \"_id\": \"662fc6bf72af9df2709583b7\",\n                            \"length\": 81347,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:11:43.303Z\",\n                            \"filename\": \"662fc6bf72af9df2709583b7.jpeg\",\n                            \"contentType\": \"image/jpeg\",\n                            \"aliases\": []\n                        },\n                        \"audioFile\": {\n                            \"_id\": \"662fc6cc72af9df2709583ba\",\n                            \"length\": 6219084,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:11:57.159Z\",\n                            \"filename\": \"662fc6cc72af9df2709583ba.mpga\",\n                            \"contentType\": \"audio/mpeg\",\n                            \"aliases\": []\n                        },\n                        \"createdAt\": \"2024-04-29T16:12:31.926Z\"\n                    },\n                    {\n                        \"_id\": \"662fc6a372af9df2709583b0\",\n                        \"title\": \"Seasons\",\n                        \"duration\": 288000,\n                        \"genre\": [\n                            \"electronic\",\n                            \"bass\"\n                        ],\n                        \"artists\": [\n                            {\n                                \"_id\": \"662fc36272af9df27095834a\",\n                                \"name\": \"Rival\",\n                                \"biography\": \"Valentin Rieff, better known as Rival is a 22 year old German producer and musician. He takes melodic trap one step further by finding creative uses for plugins to curate a unique sound and identity/voice as an artist. With the added mastery of jazz chords and a multitude of instruments including piano, drums, and trumpet, Rival is well equipped to create a unique composition with a variety of influences.\",\n                                \"origin\": \"Germany\",\n                                \"yearFormed\": 2018,\n                                \"genre\": [\n                                    \"trap\",\n                                    \"electronic\",\n                                    \"bass\"\n                                ],\n                                \"photo\": \"662fc33472af9df270958347\",\n                                \"createdAt\": \"2024-04-29T15:57:22.831Z\"\n                            }\n                        ],\n                        \"featuredArtists\": [\n                            {\n                                \"_id\": \"662fc3b872af9df270958351\",\n                                \"name\": \"Harley Bird\",\n                                \"biography\": \"An electronic dance music artist from Los Angeles.\",\n                                \"origin\": \"LA, USA\",\n                                \"yearFormed\": 2017,\n                                \"genre\": [\n                                    \"house\",\n                                    \"trap\",\n                                    \"edm\"\n                                ],\n                                \"photo\": \"662fc3a472af9df27095834e\",\n                                \"createdAt\": \"2024-04-29T15:58:48.250Z\"\n                            }\n                        ],\n                        \"releaseDate\": \"2018-04-04T00:00:00.000Z\",\n                        \"photo\": {\n                            \"_id\": \"662fc65572af9df270958382\",\n                            \"length\": 147793,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:09:57.418Z\",\n                            \"filename\": \"662fc65572af9df270958382.jpeg\",\n                            \"contentType\": \"image/jpeg\",\n                            \"aliases\": []\n                        },\n                        \"audioFile\": {\n                            \"_id\": \"662fc66672af9df270958385\",\n                            \"length\": 9933889,\n                            \"chunkSize\": 261120,\n                            \"uploadDate\": \"2024-04-29T16:10:15.335Z\",\n                            \"filename\": \"662fc66672af9df270958385.mpga\",\n                            \"contentType\": \"audio/mpeg\",\n                            \"aliases\": []\n                        },\n                        \"createdAt\": \"2024-04-29T16:11:15.713Z\"\n                    }\n                ],\n                \"createdAt\": \"2024-04-29T18:35:18.756Z\"\n            }\n        ]\n    },\n    \"count\": 1\n}"}],"_postman_id":"6c0b7c89-70d1-4402-805c-9b4f85b70b81"},{"name":"Get a Playlist by ID","id":"fceef314-7379-4327-9a56-c58f4306eb5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists/662feab3e8226dd27a3e6544","description":"<p>Retrieves a playlist from the database based by its ID. Access to this endpoint requires users to be authenticated with a JWT token. If the logged-in user does not match the user associated with the playlist, an error will be thrown if the playlist is private.</p>\n","urlObject":{"path":["api","v1","playlists","662feab3e8226dd27a3e6544"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"50fa937f-2f77-4cce-a331-46bb94934ee0","name":"Get a Playlist by ID","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists/662fe6b1e8226dd27a3e64be"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2197"},{"key":"ETag","value":"W/\"895-dNLeoBSpo7Ejniuyv7NY6mGHfK0\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:39:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlist\": {\n            \"_id\": \"662fe6b1e8226dd27a3e64be\",\n            \"title\": \"Kiwi\",\n            \"user\": \"662fb0a58c0fb886f9b9239f\",\n            \"isPublic\": false,\n            \"songs\": [\n                {\n                    \"_id\": \"662fc92472af9df2709584c1\",\n                    \"title\": \"On Your Mind\",\n                    \"duration\": 180000,\n                    \"genre\": [\n                        \"drum\",\n                        \"bass\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc41972af9df270958358\",\n                            \"name\": \"Ripple\",\n                            \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                            \"origin\": \"Czechoslovakia\",\n                            \"yearFormed\": 2017,\n                            \"genre\": [\n                                \"drum\",\n                                \"bass\"\n                            ],\n                            \"photo\": \"662fc3e372af9df270958355\",\n                            \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                        }\n                    ],\n                    \"album\": \"662fc51072af9df270958370\",\n                    \"releaseDate\": \"2024-03-14T00:00:00.000Z\",\n                    \"photo\": {\n                        \"_id\": \"662fc8e072af9df270958479\",\n                        \"length\": 97524,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:20:48.077Z\",\n                        \"filename\": \"662fc8e072af9df270958479.jpeg\",\n                        \"contentType\": \"image/jpeg\",\n                        \"aliases\": []\n                    },\n                    \"audioFile\": {\n                        \"_id\": \"662fc8f072af9df27095847c\",\n                        \"length\": 16763642,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:21:06.278Z\",\n                        \"filename\": \"662fc8f072af9df27095847c.mpga\",\n                        \"contentType\": \"audio/mpeg\",\n                        \"aliases\": []\n                    },\n                    \"createdAt\": \"2024-04-29T16:21:56.968Z\"\n                },\n                {\n                    \"_id\": \"662fc8cb72af9df270958472\",\n                    \"title\": \"Everyday\",\n                    \"duration\": 144000,\n                    \"genre\": [\n                        \"drum\",\n                        \"bass\"\n                    ],\n                    \"artists\": [\n                        {\n                            \"_id\": \"662fc41972af9df270958358\",\n                            \"name\": \"Ripple\",\n                            \"biography\": \"Ripple is a Czech-Slovak drum and bass duo created by Spill and PMDR in 2017. Jiri and Peter have both made significant waves in the Czech and Slovak drum and bass scenes. Ripple has performed in Budapest, Hungary, Brno, Czech Republic, and Prague, Czech Republic.\",\n                            \"origin\": \"Czechoslovakia\",\n                            \"yearFormed\": 2017,\n                            \"genre\": [\n                                \"drum\",\n                                \"bass\"\n                            ],\n                            \"photo\": \"662fc3e372af9df270958355\",\n                            \"createdAt\": \"2024-04-29T16:00:25.062Z\"\n                        }\n                    ],\n                    \"album\": \"662fc51072af9df270958370\",\n                    \"releaseDate\": \"2024-04-18T00:00:00.000Z\",\n                    \"audioFile\": {\n                        \"_id\": \"662fc88772af9df270958454\",\n                        \"length\": 6580837,\n                        \"chunkSize\": 261120,\n                        \"uploadDate\": \"2024-04-29T16:19:19.937Z\",\n                        \"filename\": \"662fc88772af9df270958454.mpga\",\n                        \"contentType\": \"audio/mpeg\",\n                        \"aliases\": []\n                    },\n                    \"createdAt\": \"2024-04-29T16:20:27.240Z\"\n                }\n            ],\n            \"createdAt\": \"2024-04-29T18:28:01.237Z\"\n        }\n    }\n}"}],"_postman_id":"fceef314-7379-4327-9a56-c58f4306eb5b"},{"name":"Delete a User Playlist by ID","id":"c1e8fd77-87a6-46c1-89a6-5816a45d1da0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/playlists/662fe7d3e8226dd27a3e64f0","description":"<p>Allows logged in user to delete their playlist using ID.</p>\n<p>If the user tries to delete a playlist (private or public) that belongs to another user, it will throw a 403 Forbidden error.</p>\n","urlObject":{"path":["api","v1","playlists","662fe7d3e8226dd27a3e64f0"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"d0ae5763-3586-443f-ba40-911dfab61c71","name":"Delete a User Playlist by ID","originalRequest":{"method":"DELETE","header":[],"url":"{{URL}}/api/v1/playlists/662fe866e8226dd27a3e64fa"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"45"},{"key":"ETag","value":"W/\"2d-HdtafHv9n0txldfvPlx6wUUwqxM\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:41:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlist\": null\n    }\n}"},{"id":"f8c21b09-0f2e-43b6-9d9a-957e83b287ad","name":"Delete Other User's Private Playlist","originalRequest":{"method":"DELETE","header":[],"url":"{{URL}}/api/v1/playlists/662fe7b5e8226dd27a3e64e7"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"408"},{"key":"ETag","value":"W/\"198-6kDJFHzAiJHGi9z0AJxVFK2PWDo\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:42:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"You do not have access to delete the playlist \\\"Lily\\\".\",\n    \"stackTrace\": \"Error: You do not have access to delete the playlist \\\"Lily\\\".\\n    at file:///Users/tash/Developer/sonic-connect/lib/controllers/playlist-controllers.js:132:15\\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\",\n    \"error\": {\n        \"statusCode\": 403,\n        \"status\": \"fail\",\n        \"isOperational\": true\n    }\n}"},{"id":"8f542442-a22f-4f93-89b9-d11526292cbf","name":"Delete Other User's Public Playlist","originalRequest":{"method":"DELETE","header":[],"url":"{{URL}}/api/v1/playlists/662fe7d3e8226dd27a3e64f0"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"408"},{"key":"ETag","value":"W/\"198-fnYW21EsBlONPRVlZpMl42evR18\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:45:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"fail\",\n    \"message\": \"You do not have access to delete the playlist \\\"Rose\\\".\",\n    \"stackTrace\": \"Error: You do not have access to delete the playlist \\\"Rose\\\".\\n    at file:///Users/tash/Developer/sonic-connect/lib/controllers/playlist-controllers.js:132:15\\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\",\n    \"error\": {\n        \"statusCode\": 403,\n        \"status\": \"fail\",\n        \"isOperational\": true\n    }\n}"}],"_postman_id":"c1e8fd77-87a6-46c1-89a6-5816a45d1da0"},{"name":"Update a User Playlist by ID","id":"a5923831-eb34-4cde-8488-ba2163aa5187","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"songs\": [ ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists/662fe9f1e8226dd27a3e6535","description":"<p>Allows user to update their playlists. Users are required to be logged in.<br />Allowed Inputs in request body:<br />- `title` (string, optional): The updated title for the playlist.<br />- `description` (string, optional): The updated description for the playlist.<br />- `isPublic` (boolean, optional): To switch the playlist between public and<br />private.<br />- `songs` (array, optional): A list of songs to update the playlist's songs.</p>\n<p>If the user tries to update a playlist (private or public) that belongs to another user, it will throw a 403 Forbidden error.</p>\n","urlObject":{"path":["api","v1","playlists","662fe9f1e8226dd27a3e6535"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"cb7c078f-e54b-45cf-bdba-49757786f938","name":"Update a User Playlist by ID","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"songs\": [ ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists/662fe9f1e8226dd27a3e6535"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"274"},{"key":"ETag","value":"W/\"112-ahh+IYsIEy1QM+CdIcDdP6zdcd0\""},{"key":"Date","value":"Mon, 29 Apr 2024 18:46:58 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlist\": {\n            \"_id\": \"662fe9f1e8226dd27a3e6535\",\n            \"title\": \"Pineapple\",\n            \"user\": \"662fb0a58c0fb886f9b9239f\",\n            \"description\": \"Tashi's favorite songs.\",\n            \"isPublic\": true,\n            \"songs\": [],\n            \"createdAt\": \"2024-04-29T18:41:53.283Z\",\n            \"updatedAt\": \"2024-04-29T18:46:58.951Z\"\n        }\n    }\n}"}],"_postman_id":"a5923831-eb34-4cde-8488-ba2163aa5187"},{"name":"Add Song/Songs to a Playlist","id":"bc97fe17-bea1-4385-88b8-1dbb8a3ea4b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"songs\": [ \"662fc6ef72af9df2709583d5\", \"662fc7b872af9df270958424\" ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists/662fe9f1e8226dd27a3e6535/songs","urlObject":{"path":["api","v1","playlists","662fe9f1e8226dd27a3e6535","songs"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"eddcf3f1-dda0-4c14-968b-a861ae8cbd7a","name":"Add Songs to a Playlist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"songs\": [ \"662fc6ef72af9df2709583d5\", \"662fc7b872af9df270958424\" ]\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists/662fe9f1e8226dd27a3e6535/songs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"887"},{"key":"ETag","value":"W/\"377-LhEjLWrorMhPwsAaleS5kUMRge0\""},{"key":"Date","value":"Mon, 29 Apr 2024 19:24:05 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlist\": {\n            \"_id\": \"662fe9f1e8226dd27a3e6535\",\n            \"title\": \"Pineapple\",\n            \"user\": \"662fb0a58c0fb886f9b9239f\",\n            \"description\": \"Tashi's favorite songs.\",\n            \"isPublic\": true,\n            \"songs\": [\n                {\n                    \"_id\": \"662fc6ef72af9df2709583d5\",\n                    \"title\": \"Dreamer\",\n                    \"duration\": 138000,\n                    \"genre\": [\n                        \"house\"\n                    ],\n                    \"artists\": [\n                        \"662fc2fc72af9df270958343\"\n                    ],\n                    \"releaseDate\": \"2023-04-07T00:00:00.000Z\",\n                    \"photo\": \"662fc6bf72af9df2709583b7\",\n                    \"audioFile\": \"662fc6cc72af9df2709583ba\",\n                    \"createdAt\": \"2024-04-29T16:12:31.926Z\"\n                },\n                {\n                    \"_id\": \"662fc7b872af9df270958424\",\n                    \"title\": \"Feel Again\",\n                    \"duration\": 210000,\n                    \"genre\": [\n                        \"house\"\n                    ],\n                    \"artists\": [\n                        \"662fc45672af9df27095835f\"\n                    ],\n                    \"featuredArtists\": [\n                        \"662fc3b872af9df270958351\"\n                    ],\n                    \"releaseDate\": \"2018-02-24T00:00:00.000Z\",\n                    \"photo\": \"662fc77272af9df2709583f9\",\n                    \"audioFile\": \"662fc78172af9df2709583fc\",\n                    \"createdAt\": \"2024-04-29T16:15:52.184Z\"\n                }\n            ],\n            \"createdAt\": \"2024-04-29T18:41:53.283Z\",\n            \"updatedAt\": \"2024-04-29T19:24:05.479Z\"\n        }\n    }\n}"}],"_postman_id":"bc97fe17-bea1-4385-88b8-1dbb8a3ea4b0"},{"name":"Remove Song/Songs from a Playlist","id":"e8f00dd3-0400-4e79-b7ba-482e35421575","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n  \"songs\": \"662fc6ef72af9df2709583d5\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists/662fe9f1e8226dd27a3e6535/songs","urlObject":{"path":["api","v1","playlists","662fe9f1e8226dd27a3e6535","songs"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"0d46055c-c772-454f-9a3c-1871264a7804","name":"Remove Song/Songs from a Playlist","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n  \"songs\": \"662fc6ef72af9df2709583d5\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/playlists/662fe9f1e8226dd27a3e6535/songs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"605"},{"key":"ETag","value":"W/\"25d-rDgnqPri51kQmYYqKFgImXADyU4\""},{"key":"Date","value":"Mon, 29 Apr 2024 19:35:34 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"playlist\": {\n            \"_id\": \"662fe9f1e8226dd27a3e6535\",\n            \"title\": \"Pineapple\",\n            \"user\": \"662fb0a58c0fb886f9b9239f\",\n            \"description\": \"Tashi's favorite songs.\",\n            \"isPublic\": true,\n            \"songs\": [\n                {\n                    \"_id\": \"662fc7b872af9df270958424\",\n                    \"title\": \"Feel Again\",\n                    \"duration\": 210000,\n                    \"genre\": [\n                        \"house\"\n                    ],\n                    \"artists\": [\n                        \"662fc45672af9df27095835f\"\n                    ],\n                    \"featuredArtists\": [\n                        \"662fc3b872af9df270958351\"\n                    ],\n                    \"releaseDate\": \"2018-02-24T00:00:00.000Z\",\n                    \"photo\": \"662fc77272af9df2709583f9\",\n                    \"audioFile\": \"662fc78172af9df2709583fc\",\n                    \"createdAt\": \"2024-04-29T16:15:52.184Z\"\n                }\n            ],\n            \"createdAt\": \"2024-04-29T18:41:53.283Z\",\n            \"updatedAt\": \"2024-04-29T19:35:34.712Z\"\n        }\n    }\n}"}],"_postman_id":"e8f00dd3-0400-4e79-b7ba-482e35421575"}],"id":"f7952a05-47c6-4b9a-af7c-8a1043351a5a","description":"<p>Routes to create, read, update and delete playlists.</p>\n","_postman_id":"f7952a05-47c6-4b9a-af7c-8a1043351a5a"},{"name":"Files (Audio and Images)","item":[{"name":"Upload a File","id":"9e464bcc-b4c3-4d89-a30c-b2a6ad4e9881","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/Users/tash/Downloads/sc-mock-data/Daniel Levi/songs/I like It With You/Daniel Levi - I Like It With You .mp3"}]},"url":"{{URL}}/api/v1/files/upload","description":"<p>Endpoint to upload photos and/or audio files for artists, songs, and albums.</p>\n<p>The following are the allowed mime types: <code>image/jpeg</code>, <code>image/png</code>, <code>audio/mpeg</code>, <code>audio/mp3</code>, <code>image/gif</code>, <code>image/webp</code>, <code>image/svg+xml</code>, <code>audio/aac</code> and <code>audio/wav</code></p>\n","urlObject":{"path":["api","v1","files","upload"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"d8fc8d2e-a3e3-4e7d-b853-ceb4f28994c0","name":"Upload a File","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/Users/tash/Downloads/sc-mock-data/Alan Walker/artist/Alan Walker.jpeg"}]},"url":"{{URL}}/api/v1/files/upload"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"199"},{"key":"ETag","value":"W/\"c7-ZzVN6JHmC154rgzHpQIuUAEePfM\""},{"key":"Date","value":"Mon, 29 Apr 2024 15:54:56 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"file\": {\n            \"id\": \"662fc2d072af9df270958340\",\n            \"chunkSize\": 261120,\n            \"uploadDate\": \"2024-04-29T15:54:56.715Z\",\n            \"filename\": \"662fc2d072af9df270958340.jpeg\",\n            \"contentType\": \"image/jpeg\"\n        }\n    }\n}"}],"_postman_id":"9e464bcc-b4c3-4d89-a30c-b2a6ad4e9881"},{"name":"Get a File","id":"8080ce40-ee16-42c1-8ce7-378b8398e131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/files/662fcb9672af9df27095855d.mpga","description":"<p>Gets photos and/or audio files for artists, songs, and albums by their file name.</p>\n","urlObject":{"path":["api","v1","files","662fcb9672af9df27095855d.mpga"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8080ce40-ee16-42c1-8ce7-378b8398e131"},{"name":"Delete a File","id":"96404a87-2eb1-405c-a1cb-8aa33d749ba6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/files/662fca5872af9df27095851d.jpeg","description":"<p>Deletes photos and/or audio files for artists, songs, and albums by their file name.</p>\n","urlObject":{"path":["api","v1","files","662fca5872af9df27095851d.jpeg"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"859069b8-4f5e-4579-9b29-d68b9261cbbf","name":"Delete a File","originalRequest":{"method":"DELETE","header":[],"url":"{{URL}}/api/v1/files/662fca5872af9df27095851d.jpeg"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-xXT12aUtgG7+ranG3LDugenJRcA\""},{"key":"Date","value":"Mon, 29 Apr 2024 16:27:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"file\": null\n    }\n}"}],"_postman_id":"96404a87-2eb1-405c-a1cb-8aa33d749ba6"}],"id":"b50f1b11-a02f-40cb-bd71-9cbc04b58681","description":"<p>Routes to create, read and delete audio and image files.</p>\n","_postman_id":"b50f1b11-a02f-40cb-bd71-9cbc04b58681"}],"event":[{"listen":"prerequest","script":{"id":"197f9226-f7c8-4044-b121-f99686de4077","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8e3142af-7e4d-428c-960d-68ca9a1c9f05","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"value":"","type":"string"}]}