{"info":{"_postman_id":"3836e4f4-5e84-4c6f-9eee-f824dc05c13e","name":"ArtConnect","description":"<html><head></head><body><h1 id=\"get-started-here\">Get started here</h1>\n<p>This template guides you through CRUD operations (GET, POST, PUT, DELETE), variables, and tests.</p>\n<h2 id=\"how-to-use-this-template\"><strong>How to use this template</strong></h2>\n<h4 id=\"step-1-send-requests\"><strong>Step 1: Send requests</strong></h4>\n<p>RESTful APIs allow you to perform CRUD operations using the POST, GET, PUT, and DELETE HTTP methods.</p>\n<h4 id=\"step-2-view-responses\"><strong>Step 2: View responses</strong></h4>\n<p>Observe the response tab for status code (200 OK), response time, and size.</p>\n<h4 id=\"step-3-send-new-body-data\"><strong>Step 3: Send new Body data</strong></h4>\n<p>Update or add new data in \"Body\" in the POST request. Typically, Body data is also used in PUT request.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"name\": \"Add your name in the body\"\n}\n\n</code></pre>\n<h4 id=\"step-4-update-the-variable\"><strong>Step 4: Update the variable</strong></h4>\n<p>Variables enable you to store and reuse values in Postman. We have created a <a href=\"https://learning.postman.com/docs/sending-requests/variables/\">variable</a> called <code>base_url</code> with the sample request <a href=\"https://postman-api-learner.glitch.me\">https://postman-api-learner.glitch.me</a>. Replace it with your API endpoint to customize this collection.</p>\n<h4 id=\"step-5-add-tests-in-the-scripts-tab\"><strong>Step 5: Add tests in the \"Scripts\" tab</strong></h4>\n<p>Adding tests to your requests can help you confirm that your API is working as expected. You can write test scripts in JavaScript and view the output in the \"Test Results\" tab.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Get started here","slug":"get-started-here"}],"owner":"6552648","collectionId":"3836e4f4-5e84-4c6f-9eee-f824dc05c13e","publishedId":"2sA3XLG4eV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"E3EAF1","highlight":"004381"},"publishDate":"2024-06-10T14:44:12.000Z"},"item":[{"name":"Auth","item":[{"name":"Login","event":[{"listen":"test","script":{"id":"1310a856-a168-464e-8cc4-16a300632632","exec":["// pm.test(\"Successful POST request\", function () {","//   pm.expect(pm.response.code).to.be.oneOf([200, 201]);","// });","","// pm.cookies.set(\"art-connect-token\", pm.response.body.data.token);",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"e5b34762-0c4c-4ee9-933e-dc3a5bc96203","exec":[""],"type":"text/javascript","packages":{}}}],"id":"bd3e6053-66f8-44b2-b01a-e990e39b5035","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"bhaireshm@mailinator.com\",\r\n  \"password\": \"admin@123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/auth/login","description":"<h3 id=\"login-api\">Login API</h3>\n<p>This API endpoint is used to authenticate users by submitting a POST request to the specified URL.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request should include a JSON object in the request body with the necessary login credentials.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>Upon a successful request, the response will contain the relevant user authentication information in JSON format.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"path":["auth","login"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd3e6053-66f8-44b2-b01a-e990e39b5035"},{"name":"Register","event":[{"listen":"test","script":{"id":"1310a856-a168-464e-8cc4-16a300632632","exec":["// pm.test(\"Successful POST request\", function () {","//   pm.expect(pm.response.code).to.be.oneOf([200, 201]);","// });","","// pm.cookies.set(\"art-connect-token\", pm.response.body.data.token);",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"e5b34762-0c4c-4ee9-933e-dc3a5bc96203","exec":[""],"type":"text/javascript","packages":{}}}],"id":"f57ad864-d580-4837-b7f7-39a40deb7e93","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"abcd\",\r\n  \"email\": \"abcd@mailinator.com\",\r\n  \"password\": \"abcd@123\",\r\n  \"type\": \"Artists\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/auth/register","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"path":["auth","register"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f57ad864-d580-4837-b7f7-39a40deb7e93"},{"name":"Forgot password","event":[{"listen":"test","script":{"id":"1310a856-a168-464e-8cc4-16a300632632","exec":["// pm.test(\"Successful POST request\", function () {","//   pm.expect(pm.response.code).to.be.oneOf([200, 201]);","// });","","// pm.cookies.set(\"art-connect-token\", pm.response.body.data.token);",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"e5b34762-0c4c-4ee9-933e-dc3a5bc96203","exec":[""],"type":"text/javascript","packages":{}}}],"id":"4209bbd3-2ea7-4bfd-99f2-7008347ad3e1","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"bhairesh11@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/auth/update-password","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"path":["auth","update-password"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"4209bbd3-2ea7-4bfd-99f2-7008347ad3e1"},{"name":"Reset password","event":[{"listen":"test","script":{"id":"1310a856-a168-464e-8cc4-16a300632632","exec":["// pm.test(\"Successful POST request\", function () {","//   pm.expect(pm.response.code).to.be.oneOf([200, 201]);","// });","","// pm.cookies.set(\"art-connect-token\", pm.response.body.data.token);",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"e5b34762-0c4c-4ee9-933e-dc3a5bc96203","exec":[""],"type":"text/javascript","packages":{}}}],"id":"074cb312-2b57-4cac-ac0e-88cf89409fb3","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"\",\r\n  \"newPassword\": \"\",\r\n  \"resetToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/auth/update-password","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"path":["auth","update-password"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"074cb312-2b57-4cac-ac0e-88cf89409fb3"}],"id":"54f7baab-e955-45e3-bd9f-7d78474ba1e0","_postman_id":"54f7baab-e955-45e3-bd9f-7d78474ba1e0","description":""},{"name":"Users","item":[{"name":"List all users","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"0416ba1a-8d21-4d04-a794-b632d3dfc650","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/users/","description":"<h3 id=\"get-users\">Get Users</h3>\n<p>This endpoint retrieves a list of all users.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will include an array of user objects, each containing the following fields:</p>\n<ul>\n<li><code>profile</code>: An object containing user's profile information such as <code>firstName</code>, <code>lastName</code>, and <code>address</code>.<ul>\n<li><code>firstName</code>: The first name of the user.</li>\n<li><code>lastName</code>: The last name of the user.</li>\n<li><code>address</code>: An object containing address details including <code>street</code>, <code>city</code>, <code>state</code>, <code>zip</code>, <code>country</code>, and <code>_id</code>.</li>\n</ul>\n</li>\n<li><code>username</code>: The username of the user.</li>\n<li><code>email</code>: The email address of the user.</li>\n<li><code>type</code>: An array of user types.</li>\n<li><code>createdAt</code>: The timestamp of user creation.</li>\n<li><code>updatedAt</code>: The timestamp of user information update.</li>\n<li><code>id</code>: The unique identifier for the user.</li>\n</ul>\n<p>The <code>password</code> field is excluded from the response.</p>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"profile\": {\n                \"firstName\": \"\",\n                \"lastName\": \"\",\n                \"address\": {\n                    \"street\": \"\",\n                    \"city\": \"\",\n                    \"state\": \"\",\n                    \"zip\": \"\",\n                    \"country\": \"\",\n                    \"_id\": \"\"\n                }\n            },\n            \"username\": \"\",\n            \"email\": \"\",\n            \"type\": [\"\"],\n            \"createdAt\": \"\",\n            \"updatedAt\": \"\",\n            \"id\": \"\"\n        }\n    ],\n    \"message\": \"\",\n    \"status\": 0,\n    \"error\": null\n}\n</code></pre>\n","urlObject":{"path":["users",""],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"6a8b1790-119e-4a8e-a9fb-f281200bf684","name":"List all users","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/users/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"RSC, Next-Router-State-Tree, Next-Router-Prefetch"},{"key":"content-type","value":"application/json"},{"key":"Date","value":"Tue, 11 Jun 2024 06:02:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"profile\": {\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\",\n        \"address\": {\n          \"street\": \"123 Main St\",\n          \"city\": \"New York\",\n          \"state\": \"NY\",\n          \"zip\": \"10001\",\n          \"country\": \"USA\",\n          \"_id\": \"6667e84bc4ad5839b5c327d6\"\n        }\n      },\n      \"username\": \"artlover\",\n      \"email\": \"artlover@example.com\",\n      \"type\": [\n        \"user\"\n      ],\n      \"createdAt\": \"2024-06-11T06:01:47.334Z\",\n      \"updatedAt\": \"2024-06-11T06:01:47.334Z\",\n      \"id\": \"6667e84bc4ad5839b5c327d5\"\n    }\n  ],\n  \"message\": \"\",\n  \"status\": 200,\n  \"error\": null\n}"}],"_postman_id":"0416ba1a-8d21-4d04-a794-b632d3dfc650"},{"name":"User by ID","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"c4b234dd-979a-44e5-b76f-6c49758f90cd","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/users/66afbba4a2eb78621aa4cc0b","description":"<h3 id=\"retrieve-user-details\">Retrieve User Details</h3>\n<p>This endpoint makes an HTTP GET request to retrieve the details of a user based on their unique ID.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will contain the details of the user, excluding the <code>password</code> field.</p>\n","urlObject":{"path":["users","66afbba4a2eb78621aa4cc0b"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"8e3ce8f7-c9d7-45bb-a5de-7f278dedbaf1","name":"Example response","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/users/6673151584d2dca2987121a1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"RSC, Next-Router-State-Tree, Next-Router-Prefetch"},{"key":"content-type","value":"application/json"},{"key":"Date","value":"Wed, 31 Jul 2024 16:24:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"socialAccounts\": {\n            \"google\": \"\",\n            \"facebook\": \"\"\n        },\n        \"profile\": {\n            \"firstName\": \"John\",\n            \"lastName\": \"Doe\",\n            \"address\": {\n                \"street\": \"123 Main Stvb\",\n                \"city\": \"New York\",\n                \"state\": \"NY\",\n                \"zip\": \"10001\",\n                \"country\": \"USA\",\n                \"createdAt\": \"2024-06-19T17:27:49.230Z\",\n                \"updatedAt\": \"2024-06-19T17:27:49.230Z\",\n                \"id\": \"66a3e9d752d4d4588d99703e\"\n            }\n        },\n        \"orderHistory\": [],\n        \"wishlist\": [],\n        \"username\": \"artlover\",\n        \"email\": \"artlover@mailinator.com\",\n        \"createdAt\": \"2024-06-19T17:27:49.231Z\",\n        \"updatedAt\": \"2024-07-26T18:24:23.151Z\",\n        \"id\": \"6673151584d2dca2987121a1\"\n    },\n    \"message\": \"\",\n    \"status\": 200,\n    \"error\": null\n}"}],"_postman_id":"c4b234dd-979a-44e5-b76f-6c49758f90cd"},{"name":"Create","event":[{"listen":"test","script":{"id":"8676eaa8-afd9-41c0-a711-f7ddeb609db4","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"8e1ff2ff-f054-4fed-95fb-d1535166b74b","exec":[""],"type":"text/javascript","packages":{}}}],"id":"f7290bae-66a5-4fe0-8cb4-38b2c0123343","request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"profile\": {\r\n    \"firstName\": \"John\",\r\n    \"lastName\": \"Doe\",\r\n    \"address\": {\r\n      \"street\": \"123 Main St\",\r\n      \"city\": \"New York\",\r\n      \"state\": \"NY\",\r\n      \"zip\": \"10001\",\r\n      \"country\": \"USA\",\r\n      \"createdAt\": \"2024-06-19T17:27:49.230Z\",\r\n      \"updatedAt\": \"2024-06-19T17:27:49.230Z\",\r\n      \"id\": \"6673151584d2dca2987121a2\"\r\n    }\r\n  },\r\n  \"id\": \"6673151584d2dca2987121a2\",\r\n  \"username\": \"john\",\r\n  \"email\": \"john@mailinator.com\",\r\n  \"password\": \"admin@123\",\r\n  \"type\": [\r\n    \"user\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/users","description":"<h3 id=\"create-new-user\">Create New User</h3>\n<p>Creates a new user with the provided information. The password is automatically hashed before saving.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>profile</code> (object)<ul>\n<li><code>firstName</code> (string, optional)</li>\n<li><code>lastName</code> (string, optional)</li>\n<li><code>address</code> (object)<ul>\n<li><code>street</code> (string, optional)</li>\n<li><code>city</code> (string, optional)</li>\n<li><code>state</code> (string, optional)</li>\n<li><code>zip</code> (string, optional)</li>\n<li><code>country</code> (string, optional)</li>\n</ul>\n</li>\n<li><code>username</code> (string, required)</li>\n<li><code>email</code> (string, required)</li>\n<li><code>password</code> (string, required)</li>\n<li><code>type</code> (array of strings, optional)</li>\n</ul>\n</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"profile\": {\n    \"firstName\": \"\",\n    \"lastName\": \"\",\n    \"address\": {\n      \"street\": \"\",\n      \"city\": \"\",\n      \"state\": \"\",\n      \"zip\": \"\",\n      \"country\": \"\"\n    }\n  },\n  \"username\": \"\",\n  \"email\": \"\",\n  \"password\": \"\",\n  \"type\": [\"\"]\n}\n</code></pre>\n<h4 id=\"response-body-json-schema\">Response Body (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"data\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"username\": { \"type\": \"string\" },\n        \"email\": { \"type\": \"string\" },\n        \"profile\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"firstName\": { \"type\": \"string\" },\n            \"lastName\": { \"type\": \"string\" },\n            \"address\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"street\": { \"type\": \"string\" },\n                \"city\": { \"type\": \"string\" },\n                \"state\": { \"type\": \"string\" },\n                \"zip\": { \"type\": \"string\" },\n                \"country\": { \"type\": \"string\" },\n                \"_id\": { \"type\": \"string\" }\n              }\n            }\n          }\n        },\n        \"type\": { \"type\": \"array\", \"items\": { \"type\": \"string\" } },\n        \"createdAt\": { \"type\": \"string\" },\n        \"updatedAt\": { \"type\": \"string\" },\n        \"id\": { \"type\": \"string\" }\n      }\n    },\n    \"message\": { \"type\": \"string\" },\n    \"status\": { \"type\": \"number\" },\n    \"error\": { \"type\": \"null\" }\n  }\n}\n</code></pre>\n","urlObject":{"path":["users"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[{"id":"3e9e9f73-6f26-46c9-9e1b-cac5617f4e53","name":"Create User","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"username\": \"artlover\",\n  \"email\": \"artlover@example.com\",\n  \"password\": \"P@ssw0rd\",\n  \"profile\": {\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"address\": {\n      \"street\": \"123 Main St\",\n      \"city\": \"New York\",\n      \"state\": \"NY\",\n      \"zip\": \"10001\",\n      \"country\": \"USA\"\n    }\n  },\n  \"type\": \"user\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"vary","value":"RSC, Next-Router-State-Tree, Next-Router-Prefetch"},{"key":"content-type","value":"application/json"},{"key":"Date","value":"Tue, 11 Jun 2024 06:01:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"username\": \"artlover\",\n    \"email\": \"artlover@example.com\",\n    \"profile\": {\n      \"firstName\": \"John\",\n      \"lastName\": \"Doe\",\n      \"address\": {\n        \"street\": \"123 Main St\",\n        \"city\": \"New York\",\n        \"state\": \"NY\",\n        \"zip\": \"10001\",\n        \"country\": \"USA\",\n        \"_id\": \"6667e84bc4ad5839b5c327d6\"\n      }\n    },\n    \"type\": [\n      \"user\"\n    ],\n    \"createdAt\": \"2024-06-11T06:01:47.334Z\",\n    \"updatedAt\": \"2024-06-11T06:01:47.334Z\",\n    \"id\": \"6667e84bc4ad5839b5c327d5\"\n  },\n  \"message\": \"\",\n  \"status\": 201,\n  \"error\": null\n}"}],"_postman_id":"f7290bae-66a5-4fe0-8cb4-38b2c0123343"},{"name":"Update","event":[{"listen":"test","script":{"id":"8c97fa3e-c08e-467b-a8f1-1688323b4166","exec":["pm.test(\"Successful PUT request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5c6d7532-fb8b-4d22-9156-39e6d653cab4","exec":[""],"type":"text/javascript","packages":{}}}],"id":"04c1b887-5689-417b-806a-5c55e9fa5080","request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"username\": \"qwerty\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/users/666747bb65756333179742d7","description":"<h3 id=\"update-user-details\">Update User Details</h3>\n<p>Updates the details of a user with the specified ID. The <code>password</code> field should not be included in the request body.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li>raw (application/json)<ul>\n<li>username (string, required): The new username for the user.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is documented as a JSON schema.</p>\n","urlObject":{"path":["users","666747bb65756333179742d7"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"04c1b887-5689-417b-806a-5c55e9fa5080"},{"name":"Delete","event":[{"listen":"test","script":{"id":"94b45243-0a18-45ad-ad7b-e7c70a3cacf0","exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5ae326bd-d0b4-4af1-8154-79a617a67aae","exec":[""],"type":"text/javascript","packages":{}}}],"id":"184fce52-c3cc-4494-9954-4e1c282f8df2","request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/users/66afbae1a2eb78621aa4cc05","description":"<h3 id=\"delete-user\">Delete User</h3>\n<p>Deletes a user with the specified ID.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>This request does not have a response body.</p>\n","urlObject":{"path":["users","66afbae1a2eb78621aa4cc05"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"184fce52-c3cc-4494-9954-4e1c282f8df2"}],"id":"8cc468a7-ebee-4e60-b0eb-d71aabde0148","_postman_id":"8cc468a7-ebee-4e60-b0eb-d71aabde0148","description":""},{"name":"Artworks","item":[{"name":"Get all","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"fa2e8417-719d-4bed-9cd3-675c7bcfcbdb","request":{"method":"GET","header":[{"key":"","value":"x","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:3000/api/artworks","description":"<h3 id=\"get-artworks\">Get Artworks</h3>\n<p>This endpoint makes an HTTP GET request to fetch a list of all artworks.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request does not contain a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response body contains a list of artworks.</p>\n","urlObject":{"path":["artworks"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa2e8417-719d-4bed-9cd3-675c7bcfcbdb"},{"name":"Get all mediums","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"bc771678-2c25-4c41-b051-5aaa0caf05d4","request":{"method":"GET","header":[{"key":"","value":"x","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:3000/api/artworks/mediums","description":"<h3 id=\"get-artwork-mediums\">Get Artwork mediums</h3>\n<p>This endpoint makes an HTTP GET request to fetch a list of mediums from all artworks.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request does not contain a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response body contains a list of artworks.</p>\n","urlObject":{"path":["artworks","mediums"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc771678-2c25-4c41-b051-5aaa0caf05d4"},{"name":"Filter","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"3914053e-c226-4cc5-ad4b-4c6373bfe3aa","request":{"method":"GET","header":[{"key":"","value":"x","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:3000/api/artworks/filter?page=1&searchTerm=bold","description":"<h3 id=\"get-artworksfilter\">GET /artworks/filter</h3>\n<p>Fetches a list of artworks based on the provided search term and page number.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li>Method: <code>GET</code></li>\n<li>Endpoint: <code>http://localhost:3000/api/artworks/filter</code></li>\n<li>Query Parameters:<ul>\n<li><code>searchTerm</code> (string, required): The search term to filter artworks.</li>\n<li><code>page</code> (integer, required): The page number for paginated results.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is not available.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response-body-json-schema\">Response Body (JSON Schema)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"artworks\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"title\": {\n            \"type\": \"string\"\n          },\n          \"artist\": {\n            \"type\": \"string\"\n          },\n          \"year\": {\n            \"type\": \"integer\"\n          },\n          \"medium\": {\n            \"type\": \"string\"\n          }\n        },\n        \"required\": [\"id\", \"title\", \"artist\", \"year\", \"medium\"]\n      }\n    }\n  },\n  \"required\": [\"artworks\"]\n}\n</code></pre>\n","urlObject":{"path":["artworks","filter"],"host":["http://localhost:3000/api"],"query":[{"key":"page","value":"1"},{"key":"searchTerm","value":"bold"}],"variable":[]}},"response":[],"_postman_id":"3914053e-c226-4cc5-ad4b-4c6373bfe3aa"},{"name":"Get by ID","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"c9f2f768-aa00-40b9-a62e-5100ba0254d8","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/artworks/66abd5f7de6416431f32acb7","description":"<h3 id=\"fetch-artwork-details\">Fetch Artwork Details</h3>\n<p>This endpoint retrieves the details of an artwork identified by its unique ID.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li>Method: GET</li>\n<li>URL: <code>http://localhost:3000/api/artworks/66897d7982bd584b0f805ec7</code></li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object conforming to the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"artworkId\": {\n      \"type\": \"string\"\n    },\n    \"title\": {\n      \"type\": \"string\"\n    },\n    \"artist\": {\n      \"type\": \"string\"\n    },\n    \"description\": {\n      \"type\": \"string\"\n    },\n    \"year\": {\n      \"type\": \"integer\"\n    },\n    \"medium\": {\n      \"type\": \"string\"\n    },\n    \"imageUrl\": {\n      \"type\": \"string\"\n    },\n    \"createdAt\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    },\n    \"updatedAt\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    }\n  },\n  \"required\": [\"artworkId\", \"title\", \"artist\", \"description\", \"year\", \"medium\", \"imageUrl\", \"createdAt\", \"updatedAt\"]\n}\n</code></pre>\n","urlObject":{"path":["artworks","66abd5f7de6416431f32acb7"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9f2f768-aa00-40b9-a62e-5100ba0254d8"},{"name":"Create","event":[{"listen":"test","script":{"id":"8676eaa8-afd9-41c0-a711-f7ddeb609db4","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"8e1ff2ff-f054-4fed-95fb-d1535166b74b","exec":[""],"type":"text/javascript","packages":{}}}],"id":"e192d4ab-b24b-4b5e-a7b6-bbc0856853f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  {\n    \"title\": \"Artwork 1\",\n    \"description\": \"Description for Artwork 1\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/1/000/fff\"\n    ],\n    \"price\": 5387,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 2\",\n    \"description\": \"Description for Artwork 2\",\n    \"medium\": \"Oil\",\n    \"images\": [\n      \"https://dummyimage.com/2/000/fff\"\n    ],\n    \"price\": 2488,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 3\",\n    \"description\": \"Description for Artwork 3\",\n    \"medium\": \"Watercolor\",\n    \"images\": [\n      \"https://dummyimage.com/3/000/fff\"\n    ],\n    \"price\": 684,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 4\",\n    \"description\": \"Description for Artwork 4\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/4/000/fff\"\n    ],\n    \"price\": 637,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 5\",\n    \"description\": \"Description for Artwork 5\",\n    \"medium\": \"Oil\",\n    \"images\": [\n      \"https://dummyimage.com/5/000/fff\"\n    ],\n    \"price\": 4086,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 6\",\n    \"description\": \"Description for Artwork 6\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/6/000/fff\"\n    ],\n    \"price\": 3319,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 7\",\n    \"description\": \"Description for Artwork 7\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/7/000/fff\"\n    ],\n    \"price\": 4454,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 8\",\n    \"description\": \"Description for Artwork 8\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/8/000/fff\"\n    ],\n    \"price\": 2170,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 9\",\n    \"description\": \"Description for Artwork 9\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/9/000/fff\"\n    ],\n    \"price\": 1746,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 10\",\n    \"description\": \"Description for Artwork 10\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/10/000/fff\"\n    ],\n    \"price\": 3937,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 11\",\n    \"description\": \"Description for Artwork 11\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/11/000/fff\"\n    ],\n    \"price\": 1837,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 12\",\n    \"description\": \"Description for Artwork 12\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/12/000/fff\"\n    ],\n    \"price\": 5179,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 13\",\n    \"description\": \"Description for Artwork 13\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/13/000/fff\"\n    ],\n    \"price\": 4990,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 14\",\n    \"description\": \"Description for Artwork 14\",\n    \"medium\": \"Oil\",\n    \"images\": [\n      \"https://dummyimage.com/14/000/fff\"\n    ],\n    \"price\": 2375,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 15\",\n    \"description\": \"Description for Artwork 15\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/15/000/fff\"\n    ],\n    \"price\": 1851,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 16\",\n    \"description\": \"Description for Artwork 16\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/16/000/fff\"\n    ],\n    \"price\": 1148,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 17\",\n    \"description\": \"Description for Artwork 17\",\n    \"medium\": \"Oil\",\n    \"images\": [\n      \"https://dummyimage.com/17/000/fff\"\n    ],\n    \"price\": 5293,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 18\",\n    \"description\": \"Description for Artwork 18\",\n    \"medium\": \"Watercolor\",\n    \"images\": [\n      \"https://dummyimage.com/18/000/fff\"\n    ],\n    \"price\": 3141,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 19\",\n    \"description\": \"Description for Artwork 19\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/19/000/fff\"\n    ],\n    \"price\": 5096,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 20\",\n    \"description\": \"Description for Artwork 20\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/20/000/fff\"\n    ],\n    \"price\": 1141,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 21\",\n    \"description\": \"Description for Artwork 21\",\n    \"medium\": \"Oil\",\n    \"images\": [\n      \"https://dummyimage.com/21/000/fff\"\n    ],\n    \"price\": 1756,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 22\",\n    \"description\": \"Description for Artwork 22\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/22/000/fff\"\n    ],\n    \"price\": 4223,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 23\",\n    \"description\": \"Description for Artwork 23\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/23/000/fff\"\n    ],\n    \"price\": 5082,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 24\",\n    \"description\": \"Description for Artwork 24\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/24/000/fff\"\n    ],\n    \"price\": 3068,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 25\",\n    \"description\": \"Description for Artwork 25\",\n    \"medium\": \"Oil\",\n    \"images\": [\n      \"https://dummyimage.com/25/000/fff\"\n    ],\n    \"price\": 3387,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 26\",\n    \"description\": \"Description for Artwork 26\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/26/000/fff\"\n    ],\n    \"price\": 922,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 27\",\n    \"description\": \"Description for Artwork 27\",\n    \"medium\": \"Watercolor\",\n    \"images\": [\n      \"https://dummyimage.com/27/000/fff\"\n    ],\n    \"price\": 1111,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 28\",\n    \"description\": \"Description for Artwork 28\",\n    \"medium\": \"Watercolor\",\n    \"images\": [\n      \"https://dummyimage.com/28/000/fff\"\n    ],\n    \"price\": 850,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 29\",\n    \"description\": \"Description for Artwork 29\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/29/000/fff\"\n    ],\n    \"price\": 2627,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 30\",\n    \"description\": \"Description for Artwork 30\",\n    \"medium\": \"Watercolor\",\n    \"images\": [\n      \"https://dummyimage.com/30/000/fff\"\n    ],\n    \"price\": 4787,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 31\",\n    \"description\": \"Description for Artwork 31\",\n    \"medium\": \"Watercolor\",\n    \"images\": [\n      \"https://dummyimage.com/31/000/fff\"\n    ],\n    \"price\": 3780,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 32\",\n    \"description\": \"Description for Artwork 32\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/32/000/fff\"\n    ],\n    \"price\": 4094,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 33\",\n    \"description\": \"Description for Artwork 33\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/33/000/fff\"\n    ],\n    \"price\": 2451,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 34\",\n    \"description\": \"Description for Artwork 34\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/34/000/fff\"\n    ],\n    \"price\": 4584,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 35\",\n    \"description\": \"Description for Artwork 35\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/35/000/fff\"\n    ],\n    \"price\": 1445,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 36\",\n    \"description\": \"Description for Artwork 36\",\n    \"medium\": \"Watercolor\",\n    \"images\": [\n      \"https://dummyimage.com/36/000/fff\"\n    ],\n    \"price\": 5395,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 37\",\n    \"description\": \"Description for Artwork 37\",\n    \"medium\": \"Watercolor\",\n    \"images\": [\n      \"https://dummyimage.com/37/000/fff\"\n    ],\n    \"price\": 2292,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 38\",\n    \"description\": \"Description for Artwork 38\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/38/000/fff\"\n    ],\n    \"price\": 1618,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 39\",\n    \"description\": \"Description for Artwork 39\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/39/000/fff\"\n    ],\n    \"price\": 5472,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 40\",\n    \"description\": \"Description for Artwork 40\",\n    \"medium\": \"Watercolor\",\n    \"images\": [\n      \"https://dummyimage.com/40/000/fff\"\n    ],\n    \"price\": 3776,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 41\",\n    \"description\": \"Description for Artwork 41\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/41/000/fff\"\n    ],\n    \"price\": 715,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 42\",\n    \"description\": \"Description for Artwork 42\",\n    \"medium\": \"Oil\",\n    \"images\": [\n      \"https://dummyimage.com/42/000/fff\"\n    ],\n    \"price\": 1604,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 43\",\n    \"description\": \"Description for Artwork 43\",\n    \"medium\": \"Oil\",\n    \"images\": [\n      \"https://dummyimage.com/43/000/fff\"\n    ],\n    \"price\": 4383,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 44\",\n    \"description\": \"Description for Artwork 44\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/44/000/fff\"\n    ],\n    \"price\": 4477,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 45\",\n    \"description\": \"Description for Artwork 45\",\n    \"medium\": \"Oil\",\n    \"images\": [\n      \"https://dummyimage.com/45/000/fff\"\n    ],\n    \"price\": 2346,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 46\",\n    \"description\": \"Description for Artwork 46\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/46/000/fff\"\n    ],\n    \"price\": 2864,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 47\",\n    \"description\": \"Description for Artwork 47\",\n    \"medium\": \"Acrylic\",\n    \"images\": [\n      \"https://dummyimage.com/47/000/fff\"\n    ],\n    \"price\": 4865,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 48\",\n    \"description\": \"Description for Artwork 48\",\n    \"medium\": \"Sculpture\",\n    \"images\": [\n      \"https://dummyimage.com/48/000/fff\"\n    ],\n    \"price\": 1974,\n    \"artist\": \"6696b230442dec4d15eea073\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 49\",\n    \"description\": \"Description for Artwork 49\",\n    \"medium\": \"Watercolor\",\n    \"images\": [\n      \"https://dummyimage.com/49/000/fff\"\n    ],\n    \"price\": 3282,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  },\n  {\n    \"title\": \"Artwork 50\",\n    \"description\": \"Description for Artwork 50\",\n    \"medium\": \"Watercolor\",\n    \"images\": [\n      \"https://dummyimage.com/50/000/fff\"\n    ],\n    \"price\": 4087,\n    \"artist\": \"6673151584d2dca2987121a1\",\n    \"dimensions\": {\n      \"height\": 30,\n      \"width\": 40,\n      \"depth\": 1.5\n    }\n  }\n]","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/artworks","description":"<h3 id=\"create-new-artwork\">Create New Artwork</h3>\n<p>This endpoint allows you to create a new artwork by providing the necessary details in the request body.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>title</code> (string, required): The title of the artwork.</li>\n<li><code>description</code> (string, required): A description of the artwork.</li>\n<li><code>medium</code> (string, required): The medium used for the artwork.</li>\n<li><code>images</code> (array of strings, required): An array of image URLs representing the artwork.</li>\n<li><code>price</code> (number, required): The price of the artwork.</li>\n<li><code>artist</code> (string, required): The name of the artist.</li>\n<li><code>dimensions</code> (object, required): The dimensions of the artwork including <code>height</code>, <code>width</code>, and <code>depth</code>.</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"title\": \"Artwork Title\",\n  \"description\": \"Description of the artwork\",\n  \"medium\": \"Oil on canvas\",\n  \"images\": [\"image1.jpg\", \"image2.jpg\"],\n  \"price\": 500,\n  \"artist\": \"Artist Name\",\n  \"dimensions\": {\n    \"height\": 24,\n    \"width\": 36,\n    \"depth\": 2\n  }\n}\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p>The response will include the details of the newly created artwork, excluding sensitive information.</p>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"12345\",\n  \"title\": \"Artwork Title\",\n  \"description\": \"Description of the artwork\",\n  \"medium\": \"Oil on canvas\",\n  \"images\": [\"image1.jpg\", \"image2.jpg\"],\n  \"price\": 500,\n  \"artist\": \"Artist Name\",\n  \"dimensions\": {\n    \"height\": 24,\n    \"width\": 36,\n    \"depth\": 2\n  }\n}\n</code></pre>\n","urlObject":{"path":["artworks"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e192d4ab-b24b-4b5e-a7b6-bbc0856853f8"},{"name":"Update","event":[{"listen":"test","script":{"id":"8c97fa3e-c08e-467b-a8f1-1688323b4166","exec":["pm.test(\"Successful PUT request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5c6d7532-fb8b-4d22-9156-39e6d653cab4","exec":[""],"type":"text/javascript","packages":{}}}],"id":"f54895b1-98b6-4c36-81f4-e6b413e6f0eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"artist\": \"66a2835e787c9e3a1c563cb4\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/artworks/66897d7982bd584b0f805ec9","description":"<p>Updates the details of an artwork with the specified ID. The <code>artist</code> field should be included in the request body.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p>Type: Raw</p>\n</li>\n<li><p>Description: JSON object containing the updated artwork details.</p>\n<ul>\n<li>artist: (string) The name of the artist.</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will contain the updated details of the artwork.</p>\n","urlObject":{"path":["artworks","66897d7982bd584b0f805ec9"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f54895b1-98b6-4c36-81f4-e6b413e6f0eb"},{"name":"Delete","event":[{"listen":"test","script":{"id":"94b45243-0a18-45ad-ad7b-e7c70a3cacf0","exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5ae326bd-d0b4-4af1-8154-79a617a67aae","exec":[""],"type":"text/javascript","packages":{}}}],"id":"51ddcc10-3505-4c3c-9b31-151a36243acb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/artworks/66a3f5c152d4d4588d997094","description":"<h3 id=\"delete-artwork\">Delete Artwork</h3>\n<p>Deletes an artwork with the specified ID.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response-body\">Response Body</h4>\n<p>This request does not have a response body.</p>\n","urlObject":{"path":["artworks","66a3f5c152d4d4588d997094"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"51ddcc10-3505-4c3c-9b31-151a36243acb"}],"id":"cc2471d5-c143-4b74-b9b9-6591500caeab","_postman_id":"cc2471d5-c143-4b74-b9b9-6591500caeab","description":""},{"name":"Artist","item":[{"name":"Get all","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"bd6c7625-b49a-4e76-89ea-b8a6d434c3c8","request":{"method":"GET","header":[{"key":"","value":"x","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:3000/api/artists","description":"<p>Fetches a list of all users. The <code>password</code> field is excluded from the response.</p>\n","urlObject":{"path":["artists"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd6c7625-b49a-4e76-89ea-b8a6d434c3c8"},{"name":"Filter","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"4fb0a9d7-e5d1-4969-9c66-f385cb4945d9","request":{"method":"GET","header":[{"key":"","value":"x","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:3000/api/artists/filter?description=bold","description":"<p>Fetches a list of all users. The <code>password</code> field is excluded from the response.</p>\n","urlObject":{"path":["artists","filter"],"host":["http://localhost:3000/api"],"query":[{"key":"description","value":"bold"}],"variable":[]}},"response":[],"_postman_id":"4fb0a9d7-e5d1-4969-9c66-f385cb4945d9"},{"name":"Get by ID","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"54a1c5f0-3c74-45ae-899b-92893ad7cab4","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/artists/6673151584d2dca2987121a1","description":"<p>Fetches a user by their unique ID. The <code>password</code> field is excluded from the response.</p>\n","urlObject":{"path":["artists","6673151584d2dca2987121a1"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"54a1c5f0-3c74-45ae-899b-92893ad7cab4"},{"name":"Create","event":[{"listen":"test","script":{"id":"8676eaa8-afd9-41c0-a711-f7ddeb609db4","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"8e1ff2ff-f054-4fed-95fb-d1535166b74b","exec":[""],"type":"text/javascript","packages":{}}}],"id":"15a207d9-5107-4c8e-8ef3-b129696bb4f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  {\n    \"name\": \"Artist One\",\n    \"bio\": \"A contemporary artist known for abstract paintings.\",\n    \"background\": \"Graduated from Art School A.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c89\",\n      \"66a282ac787c9e3a1c563c8a\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8b\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563c9e\"\n  },\n  {\n    \"name\": \"Artist Two\",\n    \"bio\": \"An innovative sculptor with a focus on environmental themes.\",\n    \"background\": \"Studied at Art School B and has exhibited globally.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8c\",\n      \"66a282ac787c9e3a1c563c8d\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8e\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563c9f\"\n  },\n  {\n    \"name\": \"Artist Three\",\n    \"bio\": \"A painter who explores the relationship between nature and technology.\",\n    \"background\": \"Attended Art School C.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8f\",\n      \"66a282ac787c9e3a1c563c90\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c91\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca0\"\n  },\n  {\n    \"name\": \"Artist Four\",\n    \"bio\": \"A digital artist creating immersive experiences.\",\n    \"background\": \"Graduated from Digital Arts Academy.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c92\",\n      \"66a282ac787c9e3a1c563c93\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c94\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca1\"\n  },\n  {\n    \"name\": \"Artist Five\",\n    \"bio\": \"A printmaker with a focus on urban landscapes.\",\n    \"background\": \"Studied printmaking at Art School D.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c95\",\n      \"66a282ac787c9e3a1c563c96\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c97\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca2\"\n  },\n  {\n    \"name\": \"Artist Six\",\n    \"bio\": \"A multimedia artist combining video and performance art.\",\n    \"background\": \"Graduated from Art School E.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c98\",\n      \"66a282ac787c9e3a1c563c99\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c9a\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca3\"\n  },\n  {\n    \"name\": \"Artist Seven\",\n    \"bio\": \"A photographer capturing the essence of modern life.\",\n    \"background\": \"Studied photography at Art School F.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c9b\",\n      \"66a282ac787c9e3a1c563c9c\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c89\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca4\"\n  },\n  {\n    \"name\": \"Artist Eight\",\n    \"bio\": \"An installation artist working with light and space.\",\n    \"background\": \"Attended Art School G.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8a\",\n      \"66a282ac787c9e3a1c563c8b\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8c\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca5\"\n  },\n  {\n    \"name\": \"Artist Nine\",\n    \"bio\": \"A conceptual artist exploring identity and culture.\",\n    \"background\": \"Graduated from Art School H.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8d\",\n      \"66a282ac787c9e3a1c563c8e\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8f\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca6\"\n  },\n  {\n    \"name\": \"Artist Ten\",\n    \"bio\": \"A textile artist creating intricate fabric works.\",\n    \"background\": \"Studied textiles at Art School I.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c90\",\n      \"66a282ac787c9e3a1c563c91\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c92\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca7\"\n  },\n  {\n    \"name\": \"Artist Eleven\",\n    \"bio\": \"A ceramic artist known for organic forms.\",\n    \"background\": \"Graduated from Art School J.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c93\",\n      \"66a282ac787c9e3a1c563c94\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c95\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca8\"\n  },\n  {\n    \"name\": \"Artist Twelve\",\n    \"bio\": \"A painter inspired by surrealism.\",\n    \"background\": \"Attended Art School K.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c96\",\n      \"66a282ac787c9e3a1c563c97\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c98\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca9\"\n  },\n  {\n    \"name\": \"Artist Thirteen\",\n    \"bio\": \"A performance artist exploring social themes.\",\n    \"background\": \"Graduated from Art School L.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c99\",\n      \"66a282ac787c9e3a1c563c9a\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c9b\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563caa\"\n  },\n  {\n    \"name\": \"Artist Fourteen\",\n    \"bio\": \"A mixed media artist blending photography and painting.\",\n    \"background\": \"Studied at Art School M.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c9c\",\n      \"66a282ac787c9e3a1c563c89\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8a\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cab\"\n  },\n  {\n    \"name\": \"Artist Fifteen\",\n    \"bio\": \"A graphic artist with a focus on pop culture.\",\n    \"background\": \"Attended Graphic Arts School N.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8b\",\n      \"66a282ac787c9e3a1c563c8c\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8d\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cac\"\n  },\n  {\n    \"name\": \"Artist Sixteen\",\n    \"bio\": \"A painter inspired by classical themes.\",\n    \"background\": \"Graduated from Art School O.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8e\",\n      \"66a282ac787c9e3a1c563c8f\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c90\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cad\"\n  },\n  {\n    \"name\": \"Artist Seventeen\",\n    \"bio\": \"A new media artist exploring digital interfaces.\",\n    \"background\": \"Studied at New Media School P.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c91\",\n      \"66a282ac787c9e3a1c563c92\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c93\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cae\"\n  },\n  {\n    \"name\": \"Artist Eighteen\",\n    \"bio\": \"A sculptor using recycled materials.\",\n    \"background\": \"Attended Art School Q.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c94\",\n      \"66a282ac787c9e3a1c563c95\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c96\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563caf\"\n  },\n  {\n    \"name\": \"Artist Nineteen\",\n    \"bio\": \"An artist blending traditional and modern techniques.\",\n    \"background\": \"Graduated from Art School R.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c97\",\n      \"66a282ac787c9e3a1c563c98\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c99\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cb0\"\n  },\n  {\n    \"name\": \"Artist Twenty\",\n    \"bio\": \"A contemporary artist known for interactive installations.\",\n    \"background\": \"Studied at Art School S.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c9a\",\n      \"66a282ac787c9e3a1c563c9b\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c9c\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cb1\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/artists","description":"<p>Creates a new user. The password is automatically hashed before saving. The response includes the newly created user (without the password).</p>\n","urlObject":{"path":["artists"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"15a207d9-5107-4c8e-8ef3-b129696bb4f0"},{"name":"Update","event":[{"listen":"test","script":{"id":"8c97fa3e-c08e-467b-a8f1-1688323b4166","exec":["pm.test(\"Successful PUT request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5c6d7532-fb8b-4d22-9156-39e6d653cab4","exec":[""],"type":"text/javascript","packages":{}}}],"id":"a37a0a7d-bffd-44c7-86fb-108b09d47515","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"username\": \"qwerty\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/artists/666747bb65756333179742d7","description":"<p>Updates the details of a user with the specified ID. The <code>password</code> field should not be included in the request body.</p>\n","urlObject":{"path":["artists","666747bb65756333179742d7"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a37a0a7d-bffd-44c7-86fb-108b09d47515"},{"name":"Delete","event":[{"listen":"test","script":{"id":"94b45243-0a18-45ad-ad7b-e7c70a3cacf0","exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5ae326bd-d0b4-4af1-8154-79a617a67aae","exec":[""],"type":"text/javascript","packages":{}}}],"id":"975fe2b9-5711-4ca7-b098-ef3b74868441","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/artists/6663049905e5be6ceed63f01","description":"<p>Deletes a user with the specified ID.</p>\n","urlObject":{"path":["artists","6663049905e5be6ceed63f01"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"975fe2b9-5711-4ca7-b098-ef3b74868441"}],"id":"fbbb06fc-7879-45b4-94da-ac1ebe5933c3","_postman_id":"fbbb06fc-7879-45b4-94da-ac1ebe5933c3","description":""},{"name":"Cart","item":[{"name":"Get Cart by UserId","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"51ca1a6a-109b-4fd8-8dbc-b4e4d18d3462","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/cart/66afbba4a2eb78621aa4cc0b","description":"<h3 id=\"retrieve-cart-details\">Retrieve Cart Details</h3>\n<p>This endpoint retrieves the details of a specific cart identified by the unique ID.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response is in JSON format and has the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"type\": \"object\",\n    \"properties\": {\n        \"data\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"user\": {\"type\": \"string\"},\n                \"createdAt\": {\"type\": \"string\"},\n                \"items\": {\n                    \"type\": \"array\",\n                    \"items\": {\n                        \"type\": \"object\",\n                        \"properties\": {\n                            \"artwork\": {\n                                \"type\": \"object\",\n                                \"properties\": {\n                                    \"dimensions\": {\n                                        \"type\": \"object\",\n                                        \"properties\": {\n                                            \"height\": {\"type\": \"number\"},\n                                            \"width\": {\"type\": \"number\"},\n                                            \"depth\": {\"type\": \"number\"}\n                                        }\n                                    },\n                                    \"title\": {\"type\": \"string\"},\n                                    \"description\": {\"type\": \"string\"},\n                                    \"medium\": {\"type\": \"string\"},\n                                    \"images\": {\n                                        \"type\": \"array\",\n                                        \"items\": {\"type\": \"string\"}\n                                    },\n                                    \"price\": {\"type\": \"number\"},\n                                    \"artist\": {\"type\": \"object\"},\n                                    \"relatedArtworks\": {\n                                        \"type\": \"array\",\n                                        \"items\": {\"type\": \"string\"}\n                                    },\n                                    \"createdAt\": {\"type\": \"string\"},\n                                    \"updatedAt\": {\"type\": \"string\"},\n                                    \"id\": {\"type\": \"string\"}\n                                }\n                            },\n                            \"quantity\": {\"type\": \"number\"},\n                            \"_id\": {\"type\": \"string\"}\n                        }\n                    }\n                },\n                \"totalCost\": {\"type\": \"number\"},\n                \"updatedAt\": {\"type\": \"string\"},\n                \"id\": {\"type\": \"string\"}\n            }\n        },\n        \"message\": {\"type\": \"string\"},\n        \"status\": {\"type\": \"number\"},\n        \"error\": {\"type\": \"null\"}\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["cart","66afbba4a2eb78621aa4cc0b"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"51ca1a6a-109b-4fd8-8dbc-b4e4d18d3462"},{"name":"Add/Update Item in the Cart","event":[{"listen":"test","script":{"id":"8676eaa8-afd9-41c0-a711-f7ddeb609db4","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"8e1ff2ff-f054-4fed-95fb-d1535166b74b","exec":[""],"type":"text/javascript","packages":{}}}],"id":"9be57734-589b-4c6e-a0ba-bc1e89556162","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"artwork\": \"66abd5f7de6416431f32acb8\",\n      \"quantity\": 1\n    }\n  ],\n  \"totalCost\": 705600\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/cart/66afbba4a2eb78621aa4cc0b/items","description":"<h3 id=\"request\">Request</h3>\n<p>Creates a new cart item with the specified artwork and quantity.</p>\n<h4 id=\"body\">Body</h4>\n<ul>\n<li>items (array): An array of objects containing artwork and quantity for each item.<ul>\n<li>artwork (string): The artwork ID or name.</li>\n<li>quantity (number): The quantity of the artwork to be added to the cart.</li>\n</ul>\n</li>\n<li>totalCost (number): The total cost of the items in the cart.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response includes the details of the newly created cart item.</p>\n","urlObject":{"path":["cart","66afbba4a2eb78621aa4cc0b","items"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9be57734-589b-4c6e-a0ba-bc1e89556162"},{"name":"Remove Item from Cart","event":[{"listen":"test","script":{"id":"94b45243-0a18-45ad-ad7b-e7c70a3cacf0","exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5ae326bd-d0b4-4af1-8154-79a617a67aae","exec":[""],"type":"text/javascript","packages":{}}}],"id":"19df5228-69c4-473a-a472-f4966fc3a444","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/cart/66afbba4a2eb78621aa4cc0b/items/66c780232e5f0be24985872a","description":"<h3 id=\"delete-cart-item\">Delete Cart Item</h3>\n<p>Deletes a specific item from the user's cart.</p>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<ul>\n<li><p><code>base_url</code>: The base URL of the API.</p>\n</li>\n<li><p><code>cart_id</code>: The unique identifier of the user's cart.</p>\n</li>\n<li><p><code>item_id</code>: The unique identifier of the item to be deleted from the cart.</p>\n</li>\n</ul>\n<h4 id=\"response-format\">Response Format</h4>\n<p>The response will not contain a message body, only a status code indicating the success or failure of the deletion operation.</p>\n","urlObject":{"path":["cart","66afbba4a2eb78621aa4cc0b","items","66c780232e5f0be24985872a"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"19df5228-69c4-473a-a472-f4966fc3a444"},{"name":"Clear Cart By UserId","event":[{"listen":"test","script":{"id":"94b45243-0a18-45ad-ad7b-e7c70a3cacf0","exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5ae326bd-d0b4-4af1-8154-79a617a67aae","exec":[""],"type":"text/javascript","packages":{}}}],"id":"9781e0f2-5a6d-4864-a706-772b2d6b41ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/cart/66afbba4a2eb78621aa4cc0b/items","description":"<p>Removes a specific item from the user's cart.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>This request does not require a request body.</p>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p>Status: 200</p>\n<ul>\n<li>Content-Type: application/json</li>\n</ul>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"acknowledged\": true,\n        \"modifiedCount\": 0,\n        \"upsertedId\": null,\n        \"upsertedCount\": 0,\n        \"matchedCount\": 0\n    },\n    \"message\": \"\",\n    \"status\": 0,\n    \"error\": null\n}\n\n</code></pre>\n","urlObject":{"path":["cart","66afbba4a2eb78621aa4cc0b","items"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9781e0f2-5a6d-4864-a706-772b2d6b41ec"},{"name":"Checkout Cart","event":[{"listen":"test","script":{"id":"8676eaa8-afd9-41c0-a711-f7ddeb609db4","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"8e1ff2ff-f054-4fed-95fb-d1535166b74b","exec":[""],"type":"text/javascript","packages":{}}}],"id":"9940cd26-dca2-4b81-85a4-83f8cae8c075","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"shippingAddress\": {\n    \"street\": \"some\",\n    \"city\": \"some city\",\n    \"state\": \"some state\",\n    \"zip\": \"\",\n    \"country\": \"\"\n  },\n  \"billingAddress\": {\n    \"street\": \"some\",\n    \"city\": \"some city\",\n    \"state\": \"some state\",\n    \"zip\": \"\",\n    \"country\": \"\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/cart/66afbba4a2eb78621aa4cc0b/checkout","urlObject":{"path":["cart","66afbba4a2eb78621aa4cc0b","checkout"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9940cd26-dca2-4b81-85a4-83f8cae8c075"}],"id":"27ebe1a4-cfd5-43ef-ad61-e021c1947e03","_postman_id":"27ebe1a4-cfd5-43ef-ad61-e021c1947e03","description":""},{"name":"Orders","item":[{"name":"Get all","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"08114e86-139a-4878-aad2-2b05a6f142c3","request":{"method":"GET","header":[{"key":"","value":"x","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:3000/api/orders","description":"<p>Fetches a list of all users. The <code>password</code> field is excluded from the response.</p>\n","urlObject":{"path":["orders"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"08114e86-139a-4878-aad2-2b05a6f142c3"},{"name":"Filter","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"2f04316b-f03d-422d-b92b-f2c594a86069","request":{"method":"GET","header":[{"key":"","value":"x","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:3000/api/orders/filter?user=66afbba4a2eb78621aa4cc0b","description":"<p>Fetches a list of all users. The <code>password</code> field is excluded from the response.</p>\n","urlObject":{"path":["orders","filter"],"host":["http://localhost:3000/api"],"query":[{"key":"user","value":"66afbba4a2eb78621aa4cc0b"}],"variable":[]}},"response":[],"_postman_id":"2f04316b-f03d-422d-b92b-f2c594a86069"},{"name":"Get by ID","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"2bfc3757-025b-437c-9c0f-df44bab6491a","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/orders/66c8cff46c8fb95fed39c27a","description":"<p>Fetches a user by their unique ID. The <code>password</code> field is excluded from the response.</p>\n","urlObject":{"path":["orders","66c8cff46c8fb95fed39c27a"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2bfc3757-025b-437c-9c0f-df44bab6491a"},{"name":"Create","event":[{"listen":"test","script":{"id":"8676eaa8-afd9-41c0-a711-f7ddeb609db4","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"8e1ff2ff-f054-4fed-95fb-d1535166b74b","exec":[""],"type":"text/javascript","packages":{}}}],"id":"22798344-c270-4027-93c5-3d7364be1e3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n  {\n    \"name\": \"Artist One\",\n    \"bio\": \"A contemporary artist known for abstract paintings.\",\n    \"background\": \"Graduated from Art School A.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c89\",\n      \"66a282ac787c9e3a1c563c8a\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8b\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563c9e\"\n  },\n  {\n    \"name\": \"Artist Two\",\n    \"bio\": \"An innovative sculptor with a focus on environmental themes.\",\n    \"background\": \"Studied at Art School B and has exhibited globally.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8c\",\n      \"66a282ac787c9e3a1c563c8d\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8e\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563c9f\"\n  },\n  {\n    \"name\": \"Artist Three\",\n    \"bio\": \"A painter who explores the relationship between nature and technology.\",\n    \"background\": \"Attended Art School C.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8f\",\n      \"66a282ac787c9e3a1c563c90\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c91\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca0\"\n  },\n  {\n    \"name\": \"Artist Four\",\n    \"bio\": \"A digital artist creating immersive experiences.\",\n    \"background\": \"Graduated from Digital Arts Academy.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c92\",\n      \"66a282ac787c9e3a1c563c93\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c94\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca1\"\n  },\n  {\n    \"name\": \"Artist Five\",\n    \"bio\": \"A printmaker with a focus on urban landscapes.\",\n    \"background\": \"Studied printmaking at Art School D.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c95\",\n      \"66a282ac787c9e3a1c563c96\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c97\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca2\"\n  },\n  {\n    \"name\": \"Artist Six\",\n    \"bio\": \"A multimedia artist combining video and performance art.\",\n    \"background\": \"Graduated from Art School E.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c98\",\n      \"66a282ac787c9e3a1c563c99\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c9a\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca3\"\n  },\n  {\n    \"name\": \"Artist Seven\",\n    \"bio\": \"A photographer capturing the essence of modern life.\",\n    \"background\": \"Studied photography at Art School F.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c9b\",\n      \"66a282ac787c9e3a1c563c9c\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c89\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca4\"\n  },\n  {\n    \"name\": \"Artist Eight\",\n    \"bio\": \"An installation artist working with light and space.\",\n    \"background\": \"Attended Art School G.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8a\",\n      \"66a282ac787c9e3a1c563c8b\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8c\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca5\"\n  },\n  {\n    \"name\": \"Artist Nine\",\n    \"bio\": \"A conceptual artist exploring identity and culture.\",\n    \"background\": \"Graduated from Art School H.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8d\",\n      \"66a282ac787c9e3a1c563c8e\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8f\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca6\"\n  },\n  {\n    \"name\": \"Artist Ten\",\n    \"bio\": \"A textile artist creating intricate fabric works.\",\n    \"background\": \"Studied textiles at Art School I.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c90\",\n      \"66a282ac787c9e3a1c563c91\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c92\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca7\"\n  },\n  {\n    \"name\": \"Artist Eleven\",\n    \"bio\": \"A ceramic artist known for organic forms.\",\n    \"background\": \"Graduated from Art School J.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c93\",\n      \"66a282ac787c9e3a1c563c94\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c95\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca8\"\n  },\n  {\n    \"name\": \"Artist Twelve\",\n    \"bio\": \"A painter inspired by surrealism.\",\n    \"background\": \"Attended Art School K.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c96\",\n      \"66a282ac787c9e3a1c563c97\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c98\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563ca9\"\n  },\n  {\n    \"name\": \"Artist Thirteen\",\n    \"bio\": \"A performance artist exploring social themes.\",\n    \"background\": \"Graduated from Art School L.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c99\",\n      \"66a282ac787c9e3a1c563c9a\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c9b\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563caa\"\n  },\n  {\n    \"name\": \"Artist Fourteen\",\n    \"bio\": \"A mixed media artist blending photography and painting.\",\n    \"background\": \"Studied at Art School M.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c9c\",\n      \"66a282ac787c9e3a1c563c89\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8a\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cab\"\n  },\n  {\n    \"name\": \"Artist Fifteen\",\n    \"bio\": \"A graphic artist with a focus on pop culture.\",\n    \"background\": \"Attended Graphic Arts School N.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8b\",\n      \"66a282ac787c9e3a1c563c8c\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c8d\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cac\"\n  },\n  {\n    \"name\": \"Artist Sixteen\",\n    \"bio\": \"A painter inspired by classical themes.\",\n    \"background\": \"Graduated from Art School O.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c8e\",\n      \"66a282ac787c9e3a1c563c8f\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c90\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cad\"\n  },\n  {\n    \"name\": \"Artist Seventeen\",\n    \"bio\": \"A new media artist exploring digital interfaces.\",\n    \"background\": \"Studied at New Media School P.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c91\",\n      \"66a282ac787c9e3a1c563c92\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c93\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cae\"\n  },\n  {\n    \"name\": \"Artist Eighteen\",\n    \"bio\": \"A sculptor using recycled materials.\",\n    \"background\": \"Attended Art School Q.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c94\",\n      \"66a282ac787c9e3a1c563c95\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c96\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563caf\"\n  },\n  {\n    \"name\": \"Artist Nineteen\",\n    \"bio\": \"An artist blending traditional and modern techniques.\",\n    \"background\": \"Graduated from Art School R.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c97\",\n      \"66a282ac787c9e3a1c563c98\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c99\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cb0\"\n  },\n  {\n    \"name\": \"Artist Twenty\",\n    \"bio\": \"A contemporary artist known for interactive installations.\",\n    \"background\": \"Studied at Art School S.\",\n    \"gallery\": [\n      \"66a282ac787c9e3a1c563c9a\",\n      \"66a282ac787c9e3a1c563c9b\"\n    ],\n    \"availableArtworks\": [\n      \"66a282ac787c9e3a1c563c9c\"\n    ],\n    \"id\": \"66a2831d787c9e3a1c563cb1\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/orders","description":"<p>Creates a new user. The password is automatically hashed before saving. The response includes the newly created user (without the password).</p>\n","urlObject":{"path":["orders"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"22798344-c270-4027-93c5-3d7364be1e3b"},{"name":"Update","event":[{"listen":"test","script":{"id":"8c97fa3e-c08e-467b-a8f1-1688323b4166","exec":["pm.test(\"Successful PUT request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5c6d7532-fb8b-4d22-9156-39e6d653cab4","exec":[""],"type":"text/javascript","packages":{}}}],"id":"1ae9d89e-f707-40a5-bd06-249174a7aa40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"username\": \"qwerty\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/orders/666747bb65756333179742d7","description":"<p>Updates the details of a user with the specified ID. The <code>password</code> field should not be included in the request body.</p>\n","urlObject":{"path":["orders","666747bb65756333179742d7"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ae9d89e-f707-40a5-bd06-249174a7aa40"},{"name":"Delete","event":[{"listen":"test","script":{"id":"94b45243-0a18-45ad-ad7b-e7c70a3cacf0","exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5ae326bd-d0b4-4af1-8154-79a617a67aae","exec":[""],"type":"text/javascript","packages":{}}}],"id":"b7bc8d5c-07c9-425c-88b2-2cf23faf90ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/orders/6663049905e5be6ceed63f01","description":"<p>Deletes a user with the specified ID.</p>\n","urlObject":{"path":["orders","6663049905e5be6ceed63f01"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b7bc8d5c-07c9-425c-88b2-2cf23faf90ac"}],"id":"e7727bab-326e-499d-be32-96b6ec2bff20","_postman_id":"e7727bab-326e-499d-be32-96b6ec2bff20","description":""},{"name":"Wishlist","item":[{"name":"Filter","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"9b6221af-32a2-49d4-bd05-0193779a6c8c","request":{"method":"GET","header":[{"key":"","value":"x","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:3000/api/wishlist/filter?description=bold","description":"<p>Fetches a list of all users. The <code>password</code> field is excluded from the response.</p>\n","urlObject":{"path":["wishlist","filter"],"host":["http://localhost:3000/api"],"query":[{"key":"description","value":"bold"}],"variable":[]}},"response":[],"_postman_id":"9b6221af-32a2-49d4-bd05-0193779a6c8c"},{"name":"Get by UserID","event":[{"listen":"test","script":{"id":"5d65f6f8-202a-4c36-8e3a-b0efb4d65e58","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"3e01fa64-9a59-46af-b5c8-d4a4ab6d09f7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"775a936a-f387-49a2-9f05-fba197c2222d","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/wishlist/66abd5f7de6416431f32acb0","description":"<p>Fetches a user by their unique ID. The <code>password</code> field is excluded from the response.</p>\n","urlObject":{"path":["wishlist","66abd5f7de6416431f32acb0"],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"775a936a-f387-49a2-9f05-fba197c2222d"},{"name":"Remove from user's wishlist","event":[{"listen":"test","script":{"id":"94b45243-0a18-45ad-ad7b-e7c70a3cacf0","exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"5ae326bd-d0b4-4af1-8154-79a617a67aae","exec":[""],"type":"text/javascript","packages":{}}}],"id":"2ad631d0-38f4-456c-8814-fd8cedabefab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/wishlist/66abd5f7de6416431f32acb0?artworkId=66abd5f7de6416431f32acb7","description":"<p>Deletes a user with the specified ID.</p>\n","urlObject":{"path":["wishlist","66abd5f7de6416431f32acb0"],"host":["http://localhost:3000/api"],"query":[{"key":"artworkId","value":"66abd5f7de6416431f32acb7"}],"variable":[]}},"response":[],"_postman_id":"2ad631d0-38f4-456c-8814-fd8cedabefab"}],"id":"16d03bcf-4556-48cd-9285-71fb961b3fd2","_postman_id":"16d03bcf-4556-48cd-9285-71fb961b3fd2","description":""},{"name":"Seed data","id":"08a8c144-8647-4874-b846-b952e0795fd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"artworks\": [\r\n    {\r\n      \"title\": \"Ethereal Whispers\",\r\n      \"medium\": \"Oil on canvas\",\r\n      \"artistIndex\": 0,\r\n      \"description\": \"A dreamlike landscape that blends reality and imagination.\",\r\n      \"themes\": [\r\n        \"nature\",\r\n        \"abstract concepts\"\r\n      ]\r\n    },\r\n    {\r\n      \"title\": \"Urban Rebirth\",\r\n      \"medium\": \"Mixed media sculpture\",\r\n      \"artistIndex\": 1,\r\n      \"description\": \"A dynamic representation of city life and renewal.\",\r\n      \"themes\": [\r\n        \"social issues\",\r\n        \"transformation\"\r\n      ]\r\n    },\r\n    {\r\n      \"title\": \"Chromatic Dreams\",\r\n      \"medium\": \"Acrylic on wood panel\",\r\n      \"artistIndex\": 0,\r\n      \"description\": \"An explosion of color representing the subconscious mind.\",\r\n      \"themes\": [\r\n        \"human emotion\",\r\n        \"abstract concepts\"\r\n      ]\r\n    },\r\n    {\r\n      \"title\": \"Recycled Metropolis\",\r\n      \"medium\": \"Found object assemblage\",\r\n      \"artistIndex\": 1,\r\n      \"description\": \"A cityscape created entirely from discarded materials.\",\r\n      \"themes\": [\r\n        \"technology\",\r\n        \"social issues\"\r\n      ]\r\n    },\r\n    {\r\n      \"title\": \"Liquid Memories\",\r\n      \"medium\": \"Watercolor on paper\",\r\n      \"artistIndex\": 0,\r\n      \"description\": \"Fluid forms that evoke the ephemeral nature of memories.\",\r\n      \"themes\": [\r\n        \"human emotion\",\r\n        \"memory\"\r\n      ]\r\n    },\r\n    {\r\n      \"title\": \"Steel Phoenix\",\r\n      \"medium\": \"Welded steel sculpture\",\r\n      \"artistIndex\": 1,\r\n      \"description\": \"A powerful symbol of rebirth and resilience.\",\r\n      \"themes\": [\r\n        \"transformation\",\r\n        \"abstract concepts\"\r\n      ]\r\n    },\r\n    {\r\n      \"title\": \"Digital Dystopia\",\r\n      \"medium\": \"Digital print on aluminum\",\r\n      \"artistIndex\": 0,\r\n      \"description\": \"A stark vision of a future dominated by technology.\",\r\n      \"themes\": [\r\n        \"technology\",\r\n        \"social issues\"\r\n      ]\r\n    },\r\n    {\r\n      \"title\": \"Organic Structures\",\r\n      \"medium\": \"Clay and natural fibers\",\r\n      \"artistIndex\": 1,\r\n      \"description\": \"Biomorphic forms that blur the line between nature and artifice.\",\r\n      \"themes\": [\r\n        \"nature\",\r\n        \"abstract concepts\"\r\n      ]\r\n    },\r\n    {\r\n      \"title\": \"Nebula's Edge\",\r\n      \"medium\": \"Oil and gold leaf on canvas\",\r\n      \"artistIndex\": 0,\r\n      \"description\": \"A cosmic landscape inspired by deep space imagery.\",\r\n      \"themes\": [\r\n        \"space\",\r\n        \"abstract concepts\"\r\n      ]\r\n    },\r\n    {\r\n      \"title\": \"Temporal Echoes\",\r\n      \"medium\": \"Video installation\",\r\n      \"artistIndex\": 1,\r\n      \"description\": \"A multi-channel exploration of time and memory.\",\r\n      \"themes\": [\r\n        \"time\",\r\n        \"memory\"\r\n      ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/","urlObject":{"path":[""],"host":["http://localhost:3000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"08a8c144-8647-4874-b846-b952e0795fd0"}],"event":[{"listen":"prerequest","script":{"id":"5463c866-fe74-46fc-869a-af2355563274","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3ed46695-0062-4721-9353-ef854c700629","type":"text/javascript","exec":[""]}}],"variable":[{"key":"base_url","value":"http://localhost:3000/api"}]}