{"info":{"_postman_id":"1de71454-94b3-4fdd-a9a8-5c715789178a","name":"Unique-Fitness","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"32197794","collectionId":"1de71454-94b3-4fdd-a9a8-5c715789178a","publishedId":"2sB3BGGUwh","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-08-13T09:39:12.000Z"},"item":[{"name":"healthcheck","item":[{"name":"healthcheck","id":"1871e76d-1871-4373-8de9-2334bfb7bfae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:5000/api/v1/healthcheck","description":"<h2 id=\"health-check-endpoint\">Health Check Endpoint</h2>\n<p>This endpoint is used to verify the health status of the service. It performs a basic check to ensure that the application is running and accessible.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>https://localhost:5000/api/v1/healthcheck</code></p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon a successful request, the expected response will typically include a status code indicating the health of the service. A <code>200 OK</code> status indicates that the service is healthy and functioning as expected.</p>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>This endpoint does not require any request parameters.</p>\n</li>\n<li><p>It is recommended to use this endpoint as part of your monitoring and health-checking routines to ensure that the service is operational.</p>\n</li>\n</ul>\n","urlObject":{"path":["healthcheck"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1871e76d-1871-4373-8de9-2334bfb7bfae"}],"id":"7d40b157-e651-4a73-b5ce-977d591ab8ff","_postman_id":"7d40b157-e651-4a73-b5ce-977d591ab8ff","description":""},{"name":"User","item":[{"name":"Admin","item":[{"name":"login-admin","id":"f31d7795-1c47-41ba-947e-ee9173ca0790","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"uniquehealthfitness@gmail.com\",\r\n  \"password\": \"Admin1234\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/admin/login","description":"<h2 id=\"admin-login-endpoint\">Admin Login Endpoint</h2>\n<p>This endpoint is used to authenticate an administrator by validating their credentials. It accepts a POST request containing the administrator's email and password.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>The request body must be in JSON format and include the following parameters:</p>\n<ul>\n<li><p><strong>email</strong> (string): The email address of the administrator attempting to log in.</p>\n</li>\n<li><p><strong>password</strong> (string): The password associated with the administrator's account.</p>\n</li>\n</ul>\n<h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"user@example.com\",\n  \"password\": \"yourpassword\"\n}\n\n</code></pre>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>Upon successful authentication, the server will respond with a success message and relevant user information. In case of an error (such as invalid credentials), the response will include an error message detailing the issue.</p>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the email and password are correctly formatted.</p>\n</li>\n<li><p>This endpoint is crucial for accessing administrative functionalities and should be secured appropriately.</p>\n</li>\n<li><p>Use HTTPS to protect sensitive information during transmission.</p>\n</li>\n</ul>\n","urlObject":{"path":["admin","login"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f31d7795-1c47-41ba-947e-ee9173ca0790"},{"name":"change-password","id":"727ff659-fd8a-47ea-ae2f-b7d86ed29ef0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\": \"ganesh1234\",\r\n    \"newPassword\": \"Ganesh\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/admin/change-password","description":"<h3 id=\"change-password-api\">Change Password API</h3>\n<p>This endpoint allows an authenticated user to change their password. It requires the current password and the new password to be provided in the request body.</p>\n<h4 id=\"request-format\">Request Format</h4>\n<ul>\n<li><p><strong>URL</strong>: <code>https://localhost:5000/api/v1/admin/change-password</code></p>\n</li>\n<li><p><strong>Method</strong>: <code>PATCH</code></p>\n</li>\n<li><p><strong>Headers</strong>:</p>\n<ul>\n<li><p><code>Authorization</code>: Bearer token for authentication (required)</p>\n</li>\n<li><p><code>Content-Type</code>: application/json (required)</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body must be in JSON format and include the following parameters:</p>\n<ul>\n<li><p><code>oldPassword</code> (string): The current password of the user.</p>\n</li>\n<li><p><code>newPassword</code> (string): The new password that the user wishes to set.</p>\n</li>\n</ul>\n<p><strong>Example Request Body</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"oldPassword\": \"string\",\n  \"newPassword\": \"string\"\n}\n\n</code></pre>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>Upon a successful password change, the API will return a response indicating the success of the operation. The response typically includes:</p>\n<ul>\n<li><p><code>status</code> (string): A message indicating the result of the operation (e.g., \"Password changed successfully\").</p>\n</li>\n<li><p><code>code</code> (integer): HTTP status code representing the outcome of the request.</p>\n</li>\n</ul>\n<p><strong>Example Response</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"string\",\n  \"code\": integer\n}\n\n</code></pre>\n<p>Make sure to handle any potential errors, such as incorrect old password or validation issues with the new password, which may result in different HTTP status codes and messages.</p>\n","urlObject":{"path":["admin","change-password"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"727ff659-fd8a-47ea-ae2f-b7d86ed29ef0"},{"name":"get-members","id":"4da8f0ce-880a-4238-b5ce-24cd03cdf0cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"weight\": \"175\"\r\n}\r\n"},"url":"https://uniquefitness.onrender.com/api/v1/admin/members","description":"<h3 id=\"endpoint-get-uniqueadminmembers\">Endpoint: <code>GET https://localhost:5000/api/v1/admin/members</code></h3>\n<p>This endpoint retrieves a list of members from the admin panel. The request allows you to filter members based on specific criteria, such as their weight.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><strong>Type:</strong> Raw JSON</p>\n</li>\n<li><p><strong>Parameters:</strong></p>\n<ul>\n<li><code>weight</code> (string): The weight of the members you want to filter by. This parameter is optional and can be included to narrow down the results.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>The response will return a JSON object containing an array of members that match the specified criteria. Each member object in the array will typically include details such as:</p>\n<ul>\n<li><p><code>id</code>: Unique identifier for the member.</p>\n</li>\n<li><p><code>name</code>: The name of the member.</p>\n</li>\n<li><p><code>weight</code>: The weight of the member.</p>\n</li>\n<li><p>Additional member-related information.</p>\n</li>\n</ul>\n<p>Make sure to handle the response appropriately, as it may vary based on the provided parameters and the data available in the system.</p>\n","urlObject":{"protocol":"https","path":["api","v1","admin","members"],"host":["uniquefitness","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4da8f0ce-880a-4238-b5ce-24cd03cdf0cd"},{"name":"get-member","id":"92043efb-ff55-4ffc-901e-30e25831cd4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"ganeshrodge25@gmail.com\",\r\n  \"otp\": \"869850\",\r\n  \"newPassword\": \"Admin@1234\"\r\n}\r\n"},"url":"/admin/member/692956355e88ea2aa210be24","description":"<h2 id=\"get-member-details\">Get Member Details</h2>\n<p>This endpoint retrieves the details of a specific member using their unique identifier.</p>\n<h3 id=\"http-method\">HTTP Method</h3>\n<p><code>GET</code></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>https://localhost:5000/api/v1/admin/member/{memberId}</code></p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><strong>memberId</strong> (path parameter): The unique identifier of the member whose details are to be fetched.</li>\n</ul>\n<h3 id=\"expected-response-format\">Expected Response Format</h3>\n<p>The response will return the member's details in JSON format, including attributes such as email, name, and other relevant information associated with the member.</p>\n<h3 id=\"example-request\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">GET https://localhost:5000/api/v1/admin/member/689a07ae577d209821f1fafe\n\n</code></pre>\n<h3 id=\"note\">Note</h3>\n<p>Ensure that the memberId is valid and corresponds to an existing member in the system to receive a successful response.</p>\n<h3 id=\"purpose\">Purpose</h3>\n<p>This endpoint is used to update the password for a specific member identified by their unique ID. It allows the member to set a new password after providing a valid one-time password (OTP) for verification.</p>\n<h3 id=\"request-method\">Request Method</h3>\n<p><code>GET</code></p>\n<h3 id=\"endpoint-1\">Endpoint</h3>\n<p><code>https://localhost:5000/api/v1/admin/member/{memberId}</code></p>\n<h3 id=\"request-parameters-1\">Request Parameters</h3>\n<ul>\n<li><strong>memberId</strong> (path parameter): The unique identifier of the member whose password is being updated. In this example, the member ID is <code>689a07ae577d209821f1fafe</code>.</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body must be sent in JSON format and includes the following parameters:</p>\n<ul>\n<li><p><strong>email</strong> (string): The email address associated with the member account.</p>\n</li>\n<li><p><strong>otp</strong> (string): A one-time password sent to the member's email for verification.</p>\n</li>\n<li><p><strong>newPassword</strong> (string): The new password that the member wishes to set for their account.</p>\n</li>\n</ul>\n<h3 id=\"expected-response-format-1\">Expected Response Format</h3>\n<p>The response will typically include a status code indicating the success or failure of the password update operation. A successful request may return a confirmation message, while an unsuccessful request may provide error details.</p>\n<h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"user@example.com\",\n  \"otp\": \"123456\",\n  \"newPassword\": \"NewPassword123!\"\n}\n\n</code></pre>\n<h3 id=\"method\">Method</h3>\n<p><code>GET</code></p>\n<h3 id=\"endpoint-2\">Endpoint</h3>\n<p><code>https://localhost:5000/api/v1/admin/member/{memberId}</code></p>\n<h3 id=\"description\">Description</h3>\n<p>This endpoint is used to update the password for a specific member identified by the <code>memberId</code>.</p>\n<h3 id=\"request-parameters-2\">Request Parameters</h3>\n<ul>\n<li><strong>memberId</strong> (Path Parameter): The unique identifier for the member whose password is being updated.</li>\n</ul>\n<h3 id=\"request-body-1\">Request Body</h3>\n<p>The request body must be in JSON format and include the following parameters:</p>\n<ul>\n<li><p><strong>email</strong> (string): The email address associated with the member account.</p>\n</li>\n<li><p><strong>otp</strong> (string): A one-time password for verification purposes.</p>\n</li>\n<li><p><strong>newPassword</strong> (string): The new password that the member wishes to set.</p>\n</li>\n</ul>\n<h3 id=\"expected-response-format-2\">Expected Response Format</h3>\n<p>Upon a successful request, the API will return a response indicating the status of the password update. The response will typically include a confirmation message and may also provide additional information regarding the member's account status.</p>\n<h3 id=\"example-request-1\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"example@example.com\",\n  \"otp\": \"123456\",\n  \"newPassword\": \"NewPassword@123\"\n}\n\n</code></pre>\n<h3 id=\"note-1\">Note</h3>\n<p>Ensure that the provided <code>otp</code> is valid and that the <code>newPassword</code> adheres to any password policies in place.</p>\n","urlObject":{"path":["admin","member","692956355e88ea2aa210be24"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"92043efb-ff55-4ffc-901e-30e25831cd4d"},{"name":"dashboard-stats","id":"3dcf6d11-fce4-4f85-a2ac-d4f9ce05e4f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"ganeshrodge25@gmail.com\",\r\n  \"otp\": \"869850\",\r\n  \"newPassword\": \"Admin@1234\"\r\n}\r\n"},"url":"https://uniquefitness.onrender.com/api/v1/admin/dashboard-stats","description":"<h3 id=\"dashboard-stats-api\">Dashboard Stats API</h3>\n<p>This endpoint retrieves the dashboard statistics for the admin user. It requires authentication and is designed to provide relevant metrics and insights.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>Endpoint</strong>: <code>https://localhost:5000/api/v1/admin/dashboard-stats</code></p>\n</li>\n</ul>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<p>The request body should contain the following parameters:</p>\n<ul>\n<li><p><strong>email</strong> (string): The email address of the admin user. This is used for user identification.</p>\n</li>\n<li><p><strong>otp</strong> (string): A one-time password for authentication purposes. This ensures that the request is made by a verified user.</p>\n</li>\n<li><p><strong>newPassword</strong> (string): A new password for the admin user, which may be used to update the user's credentials.</p>\n</li>\n</ul>\n<h4 id=\"expected-response\">Expected Response</h4>\n<p>The response will contain the dashboard statistics, which may include various metrics such as user counts, activity logs, and other relevant data points. The structure of the response will be defined by the API and should provide clear insights into the admin's dashboard.</p>\n<h4 id=\"notes\">Notes</h4>\n<ul>\n<li><p>Ensure that the email and OTP provided are valid for successful authentication.</p>\n</li>\n<li><p>The new password must adhere to the security policies set by the application.</p>\n</li>\n<li><p>This endpoint is intended for administrative use only and should be secured appropriately.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v1","admin","dashboard-stats"],"host":["uniquefitness","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3dcf6d11-fce4-4f85-a2ac-d4f9ce05e4f8"},{"name":"add-video","id":"118ae88c-36fb-4b0b-8199-ff822b33f7cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"muscle\": \"Chest\",\r\n  \"videos\": [\r\n    \"https://www.youtube.com/watch?v=abcd1234\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"/workout/video","urlObject":{"path":["workout","video"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"118ae88c-36fb-4b0b-8199-ff822b33f7cb"},{"name":"get-videos","id":"da1be1e2-0cf4-4240-ac7d-ec4bc6e3f49e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"muscle\": \"Chest\",\r\n  \"video\": \"https://www.youtube.com/watch?v=abcd1234\"\r\n}"},"url":"https://uniquefitness.onrender.com/api/v1/workout/video?muscle=chest","urlObject":{"protocol":"https","path":["api","v1","workout","video"],"host":["uniquefitness","onrender","com"],"query":[{"key":"muscle","value":"chest"}],"variable":[]}},"response":[],"_postman_id":"da1be1e2-0cf4-4240-ac7d-ec4bc6e3f49e"},{"name":"delete-video","id":"b0a82a6e-3775-4d58-aeae-30e529e86061","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"muscle\": \"Chest\",\r\n  \"video\": \"https://www.youtube.com/watch?v=abcd1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/workout/video","urlObject":{"path":["workout","video"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"b0a82a6e-3775-4d58-aeae-30e529e86061"},{"name":"update-member","id":"bf78e4ce-8948-464a-9e30-40a999ac6006","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fullName\": \"John Doe Updated\",\r\n    \"membership\": {\r\n        \"planId\": \"66b40b0b5f5b2a1234567890\",\r\n        \"startDate\": \"2025-08-01\",\r\n        \"endDate\": \"2025-09-01\",\r\n        \"status\": \"active\"\r\n    }\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/admin/members/689a06ab577d209821f1faf9","description":"<h3 id=\"update-member-information\">Update Member Information</h3>\n<p>This endpoint allows you to update the details of a specific member in the system. The request is made using the HTTP PATCH method, which is typically used to apply partial modifications to a resource.</p>\n<h4 id=\"request-body-format\">Request Body Format</h4>\n<p>The request body must be in JSON format and include the following fields:</p>\n<ul>\n<li><p><strong>fullName</strong> (string): The updated full name of the member.</p>\n</li>\n<li><p><strong>membership</strong> (object): An object containing the membership details, which includes:</p>\n<ul>\n<li><p><strong>planId</strong> (string): The unique identifier for the membership plan.</p>\n</li>\n<li><p><strong>startDate</strong> (string, date format: YYYY-MM-DD): The start date of the membership.</p>\n</li>\n<li><p><strong>endDate</strong> (string, date format: YYYY-MM-DD): The end date of the membership.</p>\n</li>\n<li><p><strong>status</strong> (string): The current status of the membership (e.g., active, inactive).</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-request-body\">Example Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"fullName\": \"John Doe Updated\",\n  \"membership\": {\n    \"planId\": \"66b40b0b5f5b2a1234567890\",\n    \"startDate\": \"2025-08-01\",\n    \"endDate\": \"2025-09-01\",\n    \"status\": \"active\"\n  }\n}\n\n</code></pre>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>Upon a successful update, the response will typically include the updated member information, confirming the changes made. The structure of the response body may include:</p>\n<ul>\n<li><p><strong>success</strong> (boolean): Indicates whether the update was successful.</p>\n</li>\n<li><p><strong>message</strong> (string): A message providing additional information about the result of the request.</p>\n</li>\n<li><p><strong>updatedMember</strong> (object): An object containing the updated details of the member, which may mirror the structure of the request body.</p>\n</li>\n</ul>\n<p>This endpoint is essential for maintaining accurate and up-to-date member records within the system.</p>\n","urlObject":{"path":["admin","members","689a06ab577d209821f1faf9"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf78e4ce-8948-464a-9e30-40a999ac6006"},{"name":"delete-member","id":"00197db4-8c8d-443e-bc2a-1033c4f7bff7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"/admin/members/6928a45c6341f7e2de4cc034","description":"<h2 id=\"delete-member-description\">Delete Member Description</h2>\n<p>This endpoint allows you to delete a specific member from the system.</p>\n<h3 id=\"request-method\">Request Method</h3>\n<p><code>DELETE</code></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>https://localhost:5000/api/v1/admin/members/{memberId}</code></p>\n<h3 id=\"url-parameters\">URL Parameters</h3>\n<ul>\n<li><code>memberId</code> (string, required): The unique identifier of the member you wish to delete. In this example, it is <code>689a06ab577d209821f1faf9</code>.</li>\n</ul>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>Upon a successful request, the server will respond with a status code indicating the success of the operation, typically <code>204 No Content</code>. This response indicates that the member has been successfully deleted and there is no additional content to return.</p>\n<p>Ensure that the <code>memberId</code> parameter is included in the URL to successfully delete the member's information.</p>\n<p>This endpoint allows you to update the details of a specific member in the system.</p>\n<h3 id=\"request-method-1\">Request Method</h3>\n<p><code>PATCH</code></p>\n<h3 id=\"endpoint-1\">Endpoint</h3>\n<p><code>https://localhost:5000/api/v1/admin/members/{memberId}</code></p>\n<h3 id=\"url-parameters-1\">URL Parameters</h3>\n<ul>\n<li><code>memberId</code> (string, required): The unique identifier of the member you wish to update. In this example, it is <code>689a06ab577d209821f1faf9</code>.</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body should be sent in <code>application/x-www-form-urlencoded</code> format and must include the following parameters:</p>\n<ul>\n<li><code>description</code> (text, required): A brief description of the member. This field allows you to provide additional information about the member.</li>\n</ul>\n<h3 id=\"expected-response-1\">Expected Response</h3>\n<p>Upon a successful request, the server will respond with a status code indicating the success of the operation, typically <code>200 OK</code>. The response will include the updated member details in JSON format, confirming the changes made.</p>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"memberId\": \"689a06ab577d209821f1faf9\",\n  \"description\": \"Updated member description.\"\n}\n\n</code></pre>\n<p>Ensure that the <code>description</code> parameter is included in the request body to successfully update the member's information.</p>\n","urlObject":{"path":["admin","members","6928a45c6341f7e2de4cc034"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"00197db4-8c8d-443e-bc2a-1033c4f7bff7"},{"name":"forgot-password","id":"4fe30dab-bd6d-4520-90f1-0f9a25d474b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"ganeshrodge25@gmail.com\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/admin/forgot-password","description":"<h3 id=\"forgot-password-api\">Forgot Password API</h3>\n<p>This endpoint allows users to initiate the password recovery process by submitting their registered email address. Upon successful submission, the system will send a password reset link or instructions to the provided email.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: POST</p>\n</li>\n<li><p><strong>Endpoint</strong>: <code>https://localhost:5000/api/v1/admin/forgot-password</code></p>\n</li>\n</ul>\n<h5 id=\"request-body\">Request Body</h5>\n<p>The request body must be in JSON format and should include the following parameter:</p>\n<ul>\n<li><code>email</code> (string): The email address associated with the user's account. This is required for the password reset process.</li>\n</ul>\n<p><strong>Example Request Body:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"user@example.com\"\n}\n\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p>The response will indicate the success or failure of the password reset request. The structure of the response may include the following fields:</p>\n<ul>\n<li><p><code>status</code> (string): Indicates the result of the request (e.g., \"success\" or \"error\").</p>\n</li>\n<li><p><code>message</code> (string): A descriptive message providing further information about the result of the request.</p>\n</li>\n</ul>\n<p><strong>Example Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"success\",\n  \"message\": \"Password reset instructions have been sent to your email.\"\n}\n\n</code></pre>\n<p>Ensure that the email provided is valid and associated with an existing account to receive the password reset instructions.</p>\n","urlObject":{"path":["admin","forgot-password"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4fe30dab-bd6d-4520-90f1-0f9a25d474b5"},{"name":"reset-password","id":"b7ff20c1-1d4b-4349-9c0a-4b24b95a5242","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"uniquehealthfitness@gmail.com\",\r\n  \"newPassword\": \"Admin@1234\",\r\n  \"secretCode\": \"amitkanseunique2018\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/admin/reset-password","description":"<h3 id=\"reset-password-endpoint\">Reset Password Endpoint</h3>\n<p>This endpoint allows users to reset their password using a one-time password (OTP) sent to their registered email address. It is primarily used when a user has forgotten their password and needs to securely update it.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: POST</p>\n</li>\n<li><p><strong>URL</strong>: <code>https://localhost:5000/api/v1/admin/reset-password</code></p>\n</li>\n</ul>\n<h5 id=\"request-body\">Request Body</h5>\n<p>The request body must be in JSON format and should contain the following fields:</p>\n<ul>\n<li><p><strong>email</strong> (string): The email address associated with the user's account. This is required to identify the user requesting the password reset.</p>\n</li>\n<li><p><strong>otp</strong> (string): The one-time password sent to the user's email. This is required to verify the user's identity before allowing the password reset.</p>\n</li>\n<li><p><strong>newPassword</strong> (string): The new password that the user wishes to set. It should meet the application's password policy requirements.</p>\n</li>\n</ul>\n<h5 id=\"example-request-body\">Example Request Body</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"user@example.com\",\n  \"otp\": \"123456\",\n  \"newPassword\": \"NewPassword@123\"\n}\n\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p>Upon successful execution of the request, the server will respond with a status indicating the outcome of the password reset operation. The typical response structure includes:</p>\n<ul>\n<li><p><strong>status</strong> (string): Indicates whether the password reset was successful or if there was an error.</p>\n</li>\n<li><p><strong>message</strong> (string): Provides additional information about the result of the operation (e.g., success message or error details).</p>\n</li>\n</ul>\n<h5 id=\"example-response\">Example Response</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"success\",\n  \"message\": \"Password has been reset successfully.\"\n}\n\n</code></pre>\n<p>Ensure that all parameters are provided correctly to avoid errors during the password reset process.</p>\n","urlObject":{"path":["admin","reset-password"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"b7ff20c1-1d4b-4349-9c0a-4b24b95a5242"},{"name":"admin-reports","id":"f5c7a11d-cef9-453c-94ed-3aec63119300","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"ganeshrodge25@gmail.com\",\r\n  \"otp\": \"869850\",\r\n  \"newPassword\": \"Admin@1234\"\r\n}\r\n"},"url":"/admin/reports?startDate=2025-01-01&endDate=2025-08-13","description":"<h3 id=\"endpoint-description\">Endpoint Description</h3>\n<p>This endpoint retrieves reports for the specified date range from the admin section of the application. It allows administrators to fetch relevant data by providing a start and end date as query parameters.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><p><strong>Query Parameters:</strong></p>\n<ul>\n<li><p><code>startDate</code> (string): The beginning date of the report range in <code>YYYY-MM-DD</code> format. For example, <code>2025-01-01</code>.</p>\n</li>\n<li><p><code>endDate</code> (string): The ending date of the report range in <code>YYYY-MM-DD</code> format. For example, <code>2025-08-13</code>.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"request-example\">Request Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">GET https://localhost:5000/api/v1/admin/reports?startDate=2025-01-01&amp;endDate=2025-08-13\n\n</code></pre>\n<h3 id=\"response-structure\">Response Structure</h3>\n<p>The response will contain the report data for the specified date range. The structure of the response will typically include:</p>\n<ul>\n<li><p><strong>status</strong> (string): Indicates the success or failure of the request.</p>\n</li>\n<li><p><strong>data</strong> (array): An array of report objects, each containing relevant details such as:</p>\n<ul>\n<li><p><code>reportId</code> (string): Unique identifier for the report.</p>\n</li>\n<li><p><code>date</code> (string): The date of the report entry.</p>\n</li>\n<li><p><code>details</code> (object): An object containing specific details related to the report.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"success\",\n  \"data\": [\n    {\n      \"reportId\": \"12345\",\n      \"date\": \"2025-01-05\",\n      \"details\": {\n        \"summary\": \"Report summary details here\",\n        \"metrics\": {\n          \"metric1\": 100,\n          \"metric2\": 200\n        }\n      }\n    }\n    // Additional report entries...\n  ]\n}\n\n</code></pre>\n<h3 id=\"notes\">Notes</h3>\n<p>Ensure that the request is authenticated and that the user has the necessary permissions to access the reports. The response will vary based on the data available for the specified date range.</p>\n","urlObject":{"path":["admin","reports"],"host":[""],"query":[{"key":"startDate","value":"2025-01-01"},{"key":"endDate","value":"2025-08-13"}],"variable":[]}},"response":[],"_postman_id":"f5c7a11d-cef9-453c-94ed-3aec63119300"},{"name":"send-otp","id":"6dc7c215-c7e8-4978-880a-ed3333eb45ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"6dc7c215-c7e8-4978-880a-ed3333eb45ad"},{"name":"create-diet","id":"3bb02939-4f96-4a0f-8538-609cbbbecbf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"purpose\": \"Weight Loss\",\r\n  \"category\": \"Vegetarian\",\r\n  \"plan\": [\r\n    { \"time\": \"breakfast\", \"items\": \"Oats\", \"nutrition\": { \"calories\": 200, \"protein\": \"5g\", \"carbs\": \"40g\", \"fat\": \"2g\" } }\r\n    // ...more items\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/admin/dietplan/","urlObject":{"path":["admin","dietplan",""],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3bb02939-4f96-4a0f-8538-609cbbbecbf0"},{"name":"update-diet","id":"8b9b29fc-a28a-47af-981c-e04013a7f72d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"purpose\": \"Weight Loss\",\r\n  \"timing\": \"Morning\",\r\n  \"category\": \"North Indian\",\r\n  \"plan\": [\r\n    {\r\n      \"time\": \"Breakfast\",\r\n      \"items\": \"Vegetable poha / upma + green tea\",\r\n      \"nutrition\": { \"calories\": 250, \"protein\": \"6g\", \"carbs\": \"45g\", \"fat\": \"5g\" }\r\n    }\r\n    // ... more items\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/admin/dietplan/68da54b5894437b7e02bf57d","urlObject":{"path":["admin","dietplan","68da54b5894437b7e02bf57d"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b9b29fc-a28a-47af-981c-e04013a7f72d"},{"name":"delete-diet","id":"4097116a-de0e-4e6e-a06a-f7d18cbaad40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:5000/api/v1/admin/dietplan/68da54b5894437b7e02bf57d","urlObject":{"path":["admin","dietplan","68da54b5894437b7e02bf57d"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4097116a-de0e-4e6e-a06a-f7d18cbaad40"},{"name":"get-deitplans","id":"4f316f29-90d6-49bf-980e-014ba6bad121","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"purpose\": \"Weight Loss\",\r\n  \"timing\": \"Morning\",\r\n  \"category\": \"North Indian Veg\",\r\n  \"plan\": [\r\n    {\r\n      \"time\": \"Breakfast\",\r\n      \"items\": \"Vegetable poha / upma + green tea\",\r\n      \"nutrition\": { \"calories\": 250, \"protein\": \"6g\", \"carbs\": \"45g\", \"fat\": \"5g\" }\r\n    }\r\n    // ... more items\r\n  ]\r\n}"},"url":"https://localhost:5000/api/v1/admin/dietplans","urlObject":{"path":["admin","dietplans"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f316f29-90d6-49bf-980e-014ba6bad121"},{"name":"update-video","id":"7c621d57-7fa1-4260-8753-35e8aa0b286d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"muscle\": \"Chest\",\r\n  \"oldVideo\": \"https://www.youtube.com/watch?v=wxyz5678\",\r\n  \"newVideo\": \"https://www.youtube.com/watch?v=newlink9999\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/workout/video","urlObject":{"path":["workout","video"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7c621d57-7fa1-4260-8753-35e8aa0b286d"},{"name":"activities","id":"f0f1474f-4d4a-4f26-b0a1-7c851174f88e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"uniquehealthfitness@gmail.com\",\r\n  \"password\": \"Ganesh123\"\r\n}\r\n"},"url":"/admin/activities","urlObject":{"path":["admin","activities"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"f0f1474f-4d4a-4f26-b0a1-7c851174f88e"},{"name":"create-user(admin)","id":"3683b83d-944b-445d-8eeb-4f43ac8717a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullName","value":"Ganesh","type":"text","uuid":"48a7e2f8-6e6e-4986-a38a-eb800a8d4326"},{"key":"email","value":"ganeshro555@gmail.com","type":"text","uuid":"88f14a93-003b-411e-8f82-ac8a6fb021ca"},{"key":"password","value":"password","type":"text","uuid":"7fc0068e-65d3-4d28-8f19-d7f9a1c66ca0"},{"key":"phone","value":"9665552822","type":"text","uuid":"e0dd8f56-622a-4ff6-bffc-f1145f2d4c2b"},{"key":"height","value":"175","type":"text","uuid":"97853672-f690-4e00-8072-96131284a7ce"},{"key":"weight","value":"70","type":"text","uuid":"53ae36c0-8237-4b60-882b-288a17507d05"},{"key":"gender","value":"Male","type":"text","uuid":"b39be749-a882-4c8e-9777-0b1cb4f7e70f"},{"key":"dob","value":"1990-10-11","type":"text","uuid":"38447781-8263-4d46-822d-35c5e7fc2992"},{"key":"address","value":"123, main road","type":"text","uuid":"5fc14b4e-0c31-4137-ba42-c5b0e7259d08"},{"key":"aadhaarPhoto","type":"file","uuid":"af56e155-8ff0-4e42-8f6c-2cf640daee63","src":"/C:/Users/ganes/OneDrive/Pictures/Screenshots 1/Screenshot (2).png"},{"key":"livePhoto","type":"file","uuid":"9f0fee6b-c45d-4d7a-a548-2958ed144eb0","src":"/C:/Users/ganes/OneDrive/Pictures/Screenshots 1/Screenshot 2025-09-23 164627.png"},{"key":"branch","value":"b1","type":"text","uuid":"0992a4db-2cf4-4c94-ab72-b56e48d99a41"},{"key":"purpose","value":"gain","type":"text","uuid":"3c422794-4af2-42b8-b67b-e29cd00336ce"},{"key":"username","value":"ganesh","type":"text","uuid":"96473b65-5474-4d5e-be0e-6a7c0a81ba9a"}]},"url":"https://localhost:5000/api/v1/admin/create-user","urlObject":{"path":["admin","create-user"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3683b83d-944b-445d-8eeb-4f43ac8717a6"},{"name":"Member Plan","id":"11e4ae41-78c1-4382-9d3e-bc959db9f255","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"planId\": \"692a791d3f2f85e8b7b04b70\",\r\n  \"startDate\": \"19-12-2025\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/admin/member/692956355e88ea2aa210be24/assign-plan","urlObject":{"path":["admin","member","692956355e88ea2aa210be24","assign-plan"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"11e4ae41-78c1-4382-9d3e-bc959db9f255"},{"name":"delete plan","id":"2736ee75-dda8-4cf2-9bf3-1cfd5bfe8ffb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:5000/api/v1/admin/member/692958465e88ea2aa210be33/assign-plan","urlObject":{"path":["admin","member","692958465e88ea2aa210be33","assign-plan"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2736ee75-dda8-4cf2-9bf3-1cfd5bfe8ffb"},{"name":"update plan","id":"8642e7b8-4992-4251-93c1-0e1b32c7a8f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"planId\": \"692a791d3f2f85e8b7b04b70\",\r\n  \"startDate\": \"23-12-2025\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/admin/member/692956355e88ea2aa210be24/assign-plan","urlObject":{"path":["admin","member","692956355e88ea2aa210be24","assign-plan"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"8642e7b8-4992-4251-93c1-0e1b32c7a8f4"}],"id":"ff132ede-a9c9-44e5-8b60-edbede6d248a","_postman_id":"ff132ede-a9c9-44e5-8b60-edbede6d248a","description":""},{"name":"register","event":[{"listen":"test","script":{"id":"fbeb5d19-3714-4cd0-b09f-6dd1b2360deb","exec":["pm.test(\"Response status code is 200\", function () {\r","    pm.expect(pm.response.code).to.eql(200);\r","});\r","\r","\r","pm.test(\"Response time is less than 200ms\", function () {\r","    pm.expect(pm.response.responseTime).to.be.below(200);\r","});\r","\r","\r","pm.test(\"Response body is in XML format\", function () {\r","    pm.expect(pm.response.text()).to.include('<?xml');\r","});\r","\r","\r","pm.test(\"Response should be an object and contain expected properties\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.an('object');\r","    pm.expect(responseData).to.have.all.keys('fullName', 'password', 'dob', 'address', 'phone', 'aadhaarPhoto', 'livePhoto', 'signupToken', 'height', 'weight', 'gender');\r","    \r","    pm.expect(responseData.fullName).to.exist.and.to.be.a('string');\r","    pm.expect(responseData.password).to.exist.and.to.be.a('string');\r","    pm.expect(responseData.dob).to.exist.and.to.be.a('string');\r","    pm.expect(responseData.address).to.exist.and.to.be.a('string');\r","    pm.expect(responseData.phone).to.exist.and.to.be.a('string');\r","    pm.expect(responseData.aadhaarPhoto).to.exist.and.to.be.a('string');\r","    pm.expect(responseData.livePhoto).to.exist.and.to.be.a('string');\r","    pm.expect(responseData.signupToken).to.exist.and.to.be.a('string');\r","    pm.expect(responseData.height).to.exist.and.to.be.a('string');\r","    pm.expect(responseData.weight).to.exist.and.to.be.a('string');\r","    pm.expect(responseData.gender).to.exist.and.to.be.a('string');\r","});\r","\r","\r","pm.test(\"Response should contain a success message\", function () {\r","    const responseData = xml2Json(pm.response.text());\r","    \r","    pm.expect(responseData).to.be.an('object');\r","    pm.expect(responseData).to.have.property('successMessage').that.is.a('string').and.to.have.lengthOf.at.least(1, \"Success message should not be empty\");\r","});\r","var responseXML = xml2Json(pm.response.text());\r","\r","// Test to check if the response contains a specific key\r","pm.test(\"Response should contain the 'success' key\", function () {\r","    pm.expect(responseXML).to.have.property('success').that.is.a('boolean');\r","});\r","\r","// Test to check if the response body contains a specific value for the 'success' key\r","pm.test(\"Response success key should be true\", function () {\r","    pm.expect(responseXML.success).to.be.true;\r","});"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"31898270-1c1c-4696-b2c5-4803499a0499","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"iamganeshro@gmail.com","type":"text","uuid":"b87b5db8-b4dd-43e5-9778-88fdd63b4375"},{"key":"username","value":"ganeshrodge","type":"text","uuid":"a30b1bf0-68e1-4c64-96f4-04b1367a1d23"},{"key":"fullName","value":"Ganesh Rodge","type":"text","uuid":"aec30470-4bcc-4dbe-9e80-00dbc3d7e22d"},{"key":"password","value":"Ganesh@1234","type":"text","uuid":"73bb03a0-f55d-4b58-909a-1e655c73757f"},{"key":"dob","value":"2004-09-13","type":"text","uuid":"05b1049c-f47b-4c30-98fc-cd3bf5da72ce"},{"key":"address","value":"Ashoknagar","type":"text","uuid":"69b6d776-c4a7-44c1-bc34-1fe57bc28b32"},{"key":"phone","value":"8208773106","type":"text","uuid":"256a80d6-607f-4198-9f1f-9e854619c727"},{"key":"aadhaarPhoto","type":"file","uuid":"79283e5a-4b41-4b3e-8d35-376750d6f1c4","src":"/C:/Users/ganes/OneDrive/Pictures/Screenshots 1/Screenshot (2).png"},{"key":"livePhoto","type":"file","uuid":"5d08b70b-26dd-4c6f-bfd5-1ef302ff2f7f","src":"/C:/Users/ganes/OneDrive/Pictures/Screenshots 1/Screenshot 2025-10-02 120946.png"},{"key":"height","value":"5.4","type":"text","uuid":"7ebeef09-a622-458c-ab67-f9c8e6d04667"},{"key":"weight","value":"49","type":"text","uuid":"134c629e-b79f-4cdf-81ae-e130eaac848b"},{"key":"gender","value":"Male","type":"text","uuid":"84d14062-217c-4028-bb3a-540db2c8af5f"},{"key":"branch","value":"b1","type":"text","uuid":"33188a26-9a72-492f-a880-085840f7104a"},{"key":"purpose","value":"gain","type":"text","uuid":"88c8215c-5047-4280-9ee5-ace89fd7477b"}]},"url":"https://localhost:5000/api/v1/user/register","description":"<h2 id=\"user-registration-endpoint\">User Registration Endpoint</h2>\n<p>This endpoint allows users to register a new account by providing their personal information and authentication details.</p>\n<h3 id=\"http-method\">HTTP Method</h3>\n<p><code>POST</code></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>https://localhost:5000/api/v1/user/register</code></p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>The request body should be sent as form-data and must include the following parameters:</p>\n<ul>\n<li><p><strong>fullName</strong> (text): The full name of the user.</p>\n</li>\n<li><p><strong>password</strong> (text): The password for the user's account.</p>\n</li>\n<li><p><strong>dob</strong> (text): The date of birth of the user.</p>\n</li>\n<li><p><strong>address</strong> (text): The residential address of the user.</p>\n</li>\n<li><p><strong>phone</strong> (text): The phone number of the user.</p>\n</li>\n<li><p><strong>aadhaarPhoto</strong> (file): A file upload for the user's Aadhaar photo.</p>\n</li>\n<li><p><strong>livePhoto</strong> (file): A file upload for a live photo of the user.</p>\n</li>\n<li><p><strong>signupToken</strong> (text): A token for verifying the signup request.</p>\n</li>\n<li><p><strong>height</strong> (text): The height of the user.</p>\n</li>\n<li><p><strong>weight</strong> (text): The weight of the user.</p>\n</li>\n<li><p><strong>gender</strong> (text): The gender of the user.</p>\n</li>\n</ul>\n<h3 id=\"expected-response-format\">Expected Response Format</h3>\n<p>Upon successful registration, the API will return a response indicating the success of the operation, typically including a confirmation message and any relevant user details. The exact structure of the response will depend on the implementation but generally includes status codes and messages.</p>\n<p>Ensure that all required fields are provided in the request to avoid validation errors.</p>\n","urlObject":{"path":["user","register"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"31898270-1c1c-4696-b2c5-4803499a0499"},{"name":"login","id":"ca7b3679-3957-40a0-ba5c-841dc39cce0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"iamganeshro@gmail.com\",\r\n    \"password\": \"Ganesh\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/user/login","description":"<h3 id=\"user-login-api\">User Login API</h3>\n<p>This endpoint is used to authenticate a user by verifying their email and password. Upon successful authentication, the user will receive a token that can be used for subsequent requests requiring authentication.</p>\n<ul>\n<li><p><strong>Method:</strong> POST</p>\n</li>\n<li><p><strong>Endpoint:</strong> <code>https://localhost:5000/api/v1/user/login</code></p>\n</li>\n</ul>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<p>The request body must be sent in JSON format and should include the following parameters:</p>\n<ul>\n<li><p><strong>email</strong> (string): The email address of the user attempting to log in.</p>\n</li>\n<li><p><strong>password</strong> (string): The password associated with the user's account.</p>\n</li>\n</ul>\n<h5 id=\"example-request-body\">Example Request Body:</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"user@example.com\",\n  \"password\": \"userpassword\"\n}\n\n</code></pre>\n<h4 id=\"expected-response-format\">Expected Response Format</h4>\n<p>On successful login, the API will return a response containing a token that can be used for authenticated requests. The response will typically include:</p>\n<ul>\n<li><p><strong>token</strong> (string): A JWT or similar token used for authentication in subsequent requests.</p>\n</li>\n<li><p><strong>message</strong> (string): A confirmation message indicating the success of the login attempt.</p>\n</li>\n</ul>\n<p>In case of an error (e.g., invalid credentials), the response will include an appropriate error message.</p>\n<h5 id=\"example-successful-response\">Example Successful Response:</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"token\": \"your_generated_token\",\n  \"message\": \"Login successful\"\n}\n\n</code></pre>\n<h5 id=\"example-error-response\">Example Error Response:</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": \"Invalid email or password\"\n}\n\n</code></pre>\n","urlObject":{"path":["user","login"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca7b3679-3957-40a0-ba5c-841dc39cce0c"},{"name":"logout","id":"9a3d2e3b-24fe-453e-86ba-8c969322a9c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://localhost:5000/api/v1/user/logout","description":"<h2 id=\"user-logout-endpoint\">User Logout Endpoint</h2>\n<p>This endpoint is used to log a user out of the system, invalidating their session.</p>\n<h3 id=\"http-method\">HTTP Method</h3>\n<p><code>POST</code></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>https://localhost:5000/api/v1/user/logout</code></p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>The request does not require any parameters in the body.</p>\n<h3 id=\"expected-response-format\">Expected Response Format</h3>\n<p>Upon successful logout, the server will respond with a JSON object containing a success message indicating that the user has been logged out. In case of an error, the response will include an error message indicating the issue.</p>\n<h3 id=\"response-example\">Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": \"User logged out successfully.\"\n}\n\n</code></pre>\n<p>This endpoint is used to authenticate a user by logging them into the system.</p>\n<h3 id=\"http-method-1\">HTTP Method</h3>\n<p><code>POST</code></p>\n<h3 id=\"endpoint-1\">Endpoint</h3>\n<p><code>https://localhost:5000/api/v1/user/login</code></p>\n<h3 id=\"request-parameters-1\">Request Parameters</h3>\n<p>The request requires a JSON payload with the following parameters:</p>\n<ul>\n<li><p><strong>email</strong> (string): The email address of the user attempting to log in.</p>\n</li>\n<li><p><strong>password</strong> (string): The password associated with the user's account.</p>\n</li>\n</ul>\n<h3 id=\"request-body-example\">Request Body Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"user@example.com\",\n  \"password\": \"your_password\"\n}\n\n</code></pre>\n<h3 id=\"expected-response-format-1\">Expected Response Format</h3>\n<p>Upon successful login, the server will respond with a JSON object containing user authentication details, such as a token for session management and user information. In case of an error (e.g., invalid credentials), the response will include an error message indicating the issue.</p>\n<h3 id=\"response-example-1\">Response Example</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"token\": \"your_auth_token\",\n  \"user\": {\n    \"id\": \"user_id\",\n    \"name\": \"User Name\",\n    \"email\": \"user@example.com\"\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["user","logout"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a3d2e3b-24fe-453e-86ba-8c969322a9c6"},{"name":"update-photo","id":"a61111c5-d6d6-489a-b1e2-76f72e59cb93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"livePhoto","type":"file","uuid":"a281e63a-9930-4051-8815-6f4213918273","src":"/C:/Users/ganes/OneDrive/Pictures/Screenshots 1/Screenshot 2025-10-11 182945.png"}]},"url":"https://localhost:5000/api/v1/user/update-photo","description":"<h3 id=\"update-user-photo\">Update User Photo</h3>\n<p>This endpoint allows users to update their profile photo. It utilizes the HTTP PATCH method to modify the existing user information related to their profile picture.</p>\n<p><strong>Endpoint:</strong><br /><code>https://localhost:5000/api/v1/user/update-photo</code></p>\n<p><strong>Request Method:</strong><br /><code>PATCH</code></p>\n<p><strong>Request Parameters:</strong></p>\n<ul>\n<li><strong>livePhoto</strong> (file): This parameter is used to upload a new profile photo for the user. It accepts a file type input.</li>\n</ul>\n<p><strong>Expected Response Format:</strong><br />The response will typically include a confirmation of the update along with relevant user information, although the specific structure of the response is not detailed here.</p>\n<p>Make sure to provide a valid file for the <code>livePhoto</code> parameter to successfully update the user's profile picture.</p>\n","urlObject":{"path":["user","update-photo"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a61111c5-d6d6-489a-b1e2-76f72e59cb93"},{"name":"get-user","id":"dd0d210f-9bc1-4f23-9346-e22fb2bc4b83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"","value":"","type":"text"}],"url":"/user/get-user","description":"<h2 id=\"get-user-information\">Get User Information</h2>\n<p>This endpoint retrieves user information based on the provided parameters.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>Endpoint</strong>: <code>https://localhost:5000/api/v1/user/get-user</code></p>\n</li>\n</ul>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><strong>livePhoto</strong> (file): This parameter allows the user to upload a live photo file. It is optional and can be used to enhance the user profile information.</li>\n</ul>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The response will include user details, which may consist of the following fields:</p>\n<ul>\n<li><p>User ID</p>\n</li>\n<li><p>Name</p>\n</li>\n<li><p>Email</p>\n</li>\n<li><p>Profile Picture</p>\n</li>\n<li><p>Other relevant user information</p>\n</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the file uploaded for the <code>livePhoto</code> parameter is in the correct format as specified by the API documentation.</p>\n</li>\n<li><p>The endpoint may return an error response if the file type is unsupported or if the user is not authenticated.</p>\n</li>\n</ul>\n","urlObject":{"path":["user","get-user"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"dd0d210f-9bc1-4f23-9346-e22fb2bc4b83"},{"name":"refresh-token","id":"fa9d44f2-7de5-4eb0-9fae-17d9eba93eab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"livePhoto","type":"file","uuid":"a281e63a-9930-4051-8815-6f4213918273","src":"/G:/Twist Tales/logo watermark.png"}]},"url":"https://localhost:5000/api/v1/user/refresh-token","description":"<h2 id=\"refresh-token-endpoint\">Refresh Token Endpoint</h2>\n<p>This endpoint allows users to refresh their authentication token by submitting a new live photo.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method:</strong> POST</p>\n</li>\n<li><p><strong>Endpoint:</strong> <code>https://localhost:5000/api/v1/user/refresh-token</code></p>\n</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body must be sent as <code>form-data</code> and should include the following parameter:</p>\n<ul>\n<li><strong>livePhoto</strong> (file): This parameter should contain the user's live photo file that is used to refresh the token.</li>\n</ul>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The response will include the updated authentication token and may also contain additional user information. The exact structure of the response will depend on the implementation but typically includes:</p>\n<ul>\n<li><p><strong>token</strong>: The new authentication token.</p>\n</li>\n<li><p><strong>expiresIn</strong>: The duration (in seconds) until the token expires.</p>\n</li>\n</ul>\n<p>Ensure that the live photo submitted meets any specified requirements for file type and size as defined by the API documentation.</p>\n","urlObject":{"path":["user","refresh-token"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa9d44f2-7de5-4eb0-9fae-17d9eba93eab"},{"name":"change-password","id":"3927a61d-4726-4d1e-86a6-369f247c2a04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"oldPassword\": \"Mahadev_\",\r\n    \"newPassword\": \"Ganesh1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://uniquefitness.onrender.com/api/v1/user/change-password","description":"<h2 id=\"change-user-password\">Change User Password</h2>\n<p>This endpoint allows users to change their password. It requires the current password and the new password to be provided in the request body.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: PATCH</p>\n</li>\n<li><p><strong>Endpoint</strong>: <code>https://localhost:5000/api/v1/user/change-password</code></p>\n</li>\n<li><p><strong>Content-Type</strong>: application/json</p>\n</li>\n</ul>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>oldPassword</code></td>\n<td>string</td>\n<td>The current password of the user.</td>\n</tr>\n<tr>\n<td><code>newPassword</code></td>\n<td>string</td>\n<td>The new password to be set.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response</h3>\n<p>Upon a successful request, the API will return a response indicating the status of the password change. The expected response will typically include a success message or an indication of whether the password change was successful.</p>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the <code>oldPassword</code> is correct; otherwise, the request will fail.</p>\n</li>\n<li><p>The <code>newPassword</code> should meet any security requirements defined by the system (e.g., minimum length, complexity).</p>\n</li>\n<li><p>This operation is sensitive; ensure that it is performed over a secure connection (HTTPS).</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v1","user","change-password"],"host":["uniquefitness","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3927a61d-4726-4d1e-86a6-369f247c2a04"},{"name":"update-info","id":"59844431-2069-4823-a256-15f0a9e4de43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"height\": \"190\",\r\n  \"weight\":\"68\",\r\n  \"address\": \"123, Ashoknagar\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://uniquefitness.onrender.com/api/v1/user/update-info","description":"<h3 id=\"update-user-information\">Update User Information</h3>\n<p>This endpoint allows users to update their personal information, including email, height, weight, and address. It is designed to modify existing user data in the system.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method:</strong> PATCH</p>\n</li>\n<li><p><strong>Endpoint:</strong> <code>https://localhost:5000/api/v1/user/update-info</code></p>\n</li>\n</ul>\n<h4 id=\"headers\">Headers</h4>\n<ul>\n<li><code>Content-Type: application/json</code> - This header indicates that the request body format is JSON.</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body must be in JSON format and should contain the following fields:</p>\n<ul>\n<li><p><code>email</code> (string): The user's email address.</p>\n</li>\n<li><p><code>height</code> (string): The user's height in centimeters.</p>\n</li>\n<li><p><code>weight</code> (string): The user's weight in kilograms.</p>\n</li>\n<li><p><code>address</code> (string): The user's residential address.</p>\n</li>\n</ul>\n<p><strong>Example Request Body:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"user@example.com\",\n  \"height\": \"180\",\n  \"weight\": \"68\",\n  \"address\": \"123, city\"\n}\n\n</code></pre>\n<h4 id=\"response\">Response</h4>\n<p>The response will typically return a confirmation of the update operation. The exact structure of the response may vary, but it generally includes a success message and possibly the updated user information.</p>\n<p><strong>Example Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"User information updated successfully.\"\n}\n\n</code></pre>\n<p>Ensure that you provide valid data for each field to successfully update the user information.</p>\n","urlObject":{"protocol":"https","path":["api","v1","user","update-info"],"host":["uniquefitness","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"59844431-2069-4823-a256-15f0a9e4de43"},{"name":"update-weight","id":"f591e091-f4e4-47cb-b34f-c0e4d2454782","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"weight\": \"64\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://uniquefitness.onrender.com/api/v1/user/update-weight","description":"<h3 id=\"update-user-weight\">Update User Weight</h3>\n<p>This endpoint allows you to update the weight of a user.</p>\n<ul>\n<li><p><strong>Method</strong>: <code>PATCH</code></p>\n</li>\n<li><p><strong>Endpoint</strong>: <code>https://localhost:5000/api/v1/user/update-weight</code></p>\n</li>\n</ul>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<p>The request requires a JSON body with the following parameter:</p>\n<ul>\n<li><strong>weight</strong> (string): The new weight of the user. This value should be provided as a string representing the weight in appropriate units (e.g., pounds or kilograms).</li>\n</ul>\n<h4 id=\"example-request-body\">Example Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"weight\": \"180\"\n}\n\n</code></pre>\n<h4 id=\"expected-response\">Expected Response</h4>\n<p>Upon a successful update, the API will respond with a confirmation message indicating that the user's weight has been updated. The response format will typically be in JSON, confirming the successful operation.</p>\n<p>Make sure to handle any potential errors that may arise, such as invalid input or server issues, as these will also be part of the response.</p>\n","urlObject":{"protocol":"https","path":["api","v1","user","update-weight"],"host":["uniquefitness","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f591e091-f4e4-47cb-b34f-c0e4d2454782"},{"name":"forgot-password","id":"689d9c63-2d9c-4e40-ad6e-3e99a5edc88b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"ganeshrodge25@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/user/forgot-password","description":"<h2 id=\"forgot-password-api\">Forgot Password API</h2>\n<p>This endpoint allows users to initiate the password recovery process by submitting their registered email address.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: <code>POST</code></p>\n</li>\n<li><p><strong>Endpoint</strong>: <code>https://localhost:5000/api/v1/user/forgot-password</code></p>\n</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request requires a JSON payload containing the following parameter:</p>\n<ul>\n<li><strong>email</strong> (string): The email address associated with the user's account. This is necessary for sending the password reset instructions.</li>\n</ul>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>Upon successful processing of the request, the API will respond with a confirmation message indicating that the password reset instructions have been sent to the provided email address. The response will typically be in JSON format.</p>\n","urlObject":{"path":["user","forgot-password"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"689d9c63-2d9c-4e40-ad6e-3e99a5edc88b"},{"name":"reset-password","id":"39bebc74-0384-4fae-9ee9-2042f8fdf7fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"iamganeshro@gmail.com\",\r\n  \"newPassword\": \"Ganesh@321\",\r\n  \"secretCode\": \"amitkanse22\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/user/reset-password","description":"<h2 id=\"reset-password-endpoint\">Reset Password Endpoint</h2>\n<p>This endpoint allows users to reset their password using an OTP (One-Time Password) sent to their registered email address.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: POST</p>\n</li>\n<li><p><strong>Endpoint</strong>: <code>https://localhost:5000/api/v1/user/reset-password</code></p>\n</li>\n</ul>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<p>The request body must be in JSON format and include the following parameters:</p>\n<ul>\n<li><p><code>email</code> (string): The email address associated with the user's account. This is used to identify the user who is requesting a password reset.</p>\n</li>\n<li><p><code>otp</code> (string): The One-Time Password sent to the user's email. This is required to verify the user's identity before allowing a password reset.</p>\n</li>\n<li><p><code>newPassword</code> (string): The new password that the user wishes to set for their account. Ensure that this password meets any security requirements set by the application.</p>\n</li>\n</ul>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>Upon a successful request, the server will respond with a confirmation message indicating that the password has been reset. The response will typically include a status code indicating the success of the operation.</p>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the OTP provided is valid and has not expired.</p>\n</li>\n<li><p>The new password should adhere to the application's password policy (e.g., minimum length, complexity).</p>\n</li>\n<li><p>If the request fails, appropriate error messages will be returned to help diagnose the issue (e.g., invalid email, incorrect OTP).</p>\n</li>\n</ul>\n","urlObject":{"path":["user","reset-password"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"39bebc74-0384-4fae-9ee9-2042f8fdf7fe"},{"name":"weight-history","id":"852eb7f5-ca4d-4916-81ce-fcb247a6d70b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://uniquefitness.onrender.com/api/v1/user/weight-history","description":"<h3 id=\"get-user-weight-history\">Get User Weight History</h3>\n<p>This endpoint retrieves the weight history of a user.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>https://localhost:5000/api/v1/user/weight-history</code></p>\n</li>\n<li><p><strong>Request Body</strong>: No request body is required for this request.</p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will contain the user's weight history data, including relevant details such as dates and weight measurements.</p>\n<p>Ensure that the user is authenticated to access their weight history.</p>\n<p>This endpoint retrieves the weight history of a user. It is essential for tracking weight changes over time, which can be useful for personal health management and analysis.</p>\n<h4 id=\"request-format\">Request Format</h4>\n<ul>\n<li><p><strong>Method</strong>: GET</p>\n</li>\n<li><p><strong>URL</strong>: <code>https://localhost:5000/api/v1/user/weight-history</code></p>\n</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body must be in JSON format and should include the following parameters:</p>\n<ul>\n<li><p><code>email</code> (string): The email address of the user whose weight history is being requested.</p>\n</li>\n<li><p><code>otp</code> (string): A one-time password for authentication.</p>\n</li>\n<li><p><code>newPassword</code> (string): A new password for the user account.</p>\n</li>\n</ul>\n<p>Example of the request body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"user@example.com\",\n  \"otp\": \"123456\",\n  \"newPassword\": \"SecurePassword123\"\n}\n\n</code></pre>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>The response will typically include the following fields:</p>\n<ul>\n<li><p><code>status</code> (string): Indicates the success or failure of the request.</p>\n</li>\n<li><p><code>data</code> (array): Contains the weight history records, with each record including:</p>\n<ul>\n<li><p><code>date</code> (string): The date of the recorded weight.</p>\n</li>\n<li><p><code>weight</code> (number): The weight of the user on that date.</p>\n</li>\n</ul>\n</li>\n<li><p><code>message</code> (string): A description of the response status.</p>\n</li>\n</ul>\n<p>Example of a successful response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"success\",\n  \"data\": [\n    {\n      \"date\": \"2023-01-01\",\n      \"weight\": 70.5\n    },\n    {\n      \"date\": \"2023-02-01\",\n      \"weight\": 69.0\n    }\n  ],\n  \"message\": \"Weight history retrieved successfully.\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v1","user","weight-history"],"host":["uniquefitness","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"852eb7f5-ca4d-4916-81ce-fcb247a6d70b"},{"name":"New Request","id":"ecab22f0-1f07-47f3-b948-13e9ff4c14f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"to\":\"ganeshrodge25@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/testemail/send","urlObject":{"path":["testemail","send"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ecab22f0-1f07-47f3-b948-13e9ff4c14f2"}],"id":"a981fcf5-0922-417f-b652-ce02e37b563f","_postman_id":"a981fcf5-0922-417f-b652-ce02e37b563f","description":""},{"name":"Annoucements","item":[{"name":"get-all-announcements","id":"4787a982-b18e-4184-8619-8a1e5cc9a909","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fullName\": \"John Doe Updated\",\r\n    \"membership\": {\r\n        \"planId\": \"66b40b0b5f5b2a1234567890\",\r\n        \"startDate\": \"2025-08-01\",\r\n        \"endDate\": \"2025-09-01\",\r\n        \"status\": \"active\"\r\n    }\r\n}\r\n"},"url":"https://uniquefitness.onrender.com/api/v1/announcement/","description":"<h2 id=\"announcement-retrieval\">Announcement Retrieval</h2>\n<p>This endpoint retrieves the announcement details associated with a specific user. It is designed to provide information about the user's membership plan and its current status.</p>\n<h3 id=\"request-format\">Request Format</h3>\n<ul>\n<li><p><strong>Method</strong>: <code>GET</code></p>\n</li>\n<li><p><strong>Endpoint</strong>: <code>https://localhost:5000/api/v1/announcement/</code></p>\n</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>This endpoint does not require a request body for the GET method. However, it is important to note that the last call included the following payload for reference:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"fullName\": \"John Doe Updated\",\n  \"membership\": {\n    \"planId\": \"66b40b0b5f5b2a1234567890\",\n    \"startDate\": \"2025-08-01\",\n    \"endDate\": \"2025-09-01\",\n    \"status\": \"active\"\n  }\n}\n\n</code></pre>\n<h3 id=\"response-structure\">Response Structure</h3>\n<p>The response will typically include the following fields:</p>\n<ul>\n<li><p><strong>announcementId</strong>: A unique identifier for the announcement.</p>\n</li>\n<li><p><strong>title</strong>: The title of the announcement.</p>\n</li>\n<li><p><strong>content</strong>: The detailed content of the announcement.</p>\n</li>\n<li><p><strong>date</strong>: The date when the announcement was made.</p>\n</li>\n</ul>\n<p>The response will be in JSON format and will provide the necessary details regarding the announcement relevant to the user.</p>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"announcementId\": \"12345\",\n  \"title\": \"Membership Update\",\n  \"content\": \"Your membership plan has been updated successfully.\",\n  \"date\": \"2025-07-01\"\n}\n\n</code></pre>\n<p>This endpoint is essential for users to stay informed about their membership announcements and updates.</p>\n","urlObject":{"protocol":"https","path":["api","v1","announcement",""],"host":["uniquefitness","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4787a982-b18e-4184-8619-8a1e5cc9a909"},{"name":"create-announcement","id":"3444afa5-d054-4541-aeda-294a036471d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"Test Announcement\",\r\n  \"content\": \"This is a test announcement\"\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/announcement/","description":"<h2 id=\"post-announcement\">POST /announcement/</h2>\n<p>This endpoint is used to create a new announcement. By sending a POST request to this endpoint, users can submit details about the announcement, which will be stored in the system.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request must include a JSON object containing the following parameters:</p>\n<ul>\n<li><p><strong>title</strong> (string): The title of the announcement. This should provide a brief overview of the content being announced.</p>\n</li>\n<li><p><strong>content</strong> (string): The main content of the announcement. This field should contain the detailed information that you wish to convey.</p>\n</li>\n</ul>\n<h3 id=\"example-request\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"title\": \"New Gym Update 33\",\n  \"content\": \"We are introducing a new workout schedule that includes...\"\n}\n\n</code></pre>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>Upon a successful request, the API will return a response indicating the status of the announcement creation. The response will typically include:</p>\n<ul>\n<li><p><strong>status</strong> (string): A message indicating whether the announcement was created successfully or if there was an error.</p>\n</li>\n<li><p><strong>announcementId</strong> (string): A unique identifier for the newly created announcement.</p>\n</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the title and content fields are provided in the correct format.</p>\n</li>\n<li><p>The response will provide feedback on the success or failure of the announcement creation, allowing users to handle errors appropriately.</p>\n</li>\n</ul>\n","urlObject":{"path":["announcement",""],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3444afa5-d054-4541-aeda-294a036471d6"},{"name":"get-announcement","id":"73ec7f07-6e58-4c3c-b004-bd61dbaafa12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://localhost:5000/api/v1/announcement/689c687f581bb72adaa64c72","description":"<h3 id=\"endpoint-description\">Endpoint Description</h3>\n<p>This endpoint retrieves the details of a specific announcement identified by its unique ID. The announcement ID is passed as part of the URL path.</p>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method</strong>: <code>GET</code></p>\n</li>\n<li><p><strong>URL</strong>: <code>https://localhost:5000/api/v1/announcement/{announcement_id}</code></p>\n</li>\n</ul>\n<h4 id=\"path-parameters\">Path Parameters</h4>\n<ul>\n<li><code>announcement_id</code> (string): The unique identifier of the announcement you wish to retrieve. In this example, it is <code>689c687f581bb72adaa64c72</code>.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon a successful request, the server responds with the details of the announcement. The structure of the response typically includes the following fields:</p>\n<ul>\n<li><p><code>id</code> (string): The unique identifier of the announcement.</p>\n</li>\n<li><p><code>title</code> (string): The title of the announcement.</p>\n</li>\n<li><p><code>content</code> (string): The detailed content of the announcement.</p>\n</li>\n<li><p><code>created_at</code> (string): The timestamp indicating when the announcement was created.</p>\n</li>\n<li><p><code>updated_at</code> (string): The timestamp indicating when the announcement was last updated.</p>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"689c687f581bb72adaa64c72\",\n  \"title\": \"Announcement Title\",\n  \"content\": \"Detailed content of the announcement.\",\n  \"created_at\": \"2023-01-01T12:00:00Z\",\n  \"updated_at\": \"2023-01-02T12:00:00Z\"\n}\n\n</code></pre>\n<p>This endpoint is useful for clients that need to display or process specific announcements within their application.</p>\n","urlObject":{"path":["announcement","689c687f581bb72adaa64c72"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"73ec7f07-6e58-4c3c-b004-bd61dbaafa12"},{"name":"update-announcement","id":"42719871-f065-4cf4-9278-551522e138c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"New Gym Update 22 2 2\",\r\n    \"content\": \"independence day offer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/announcement/689c69860b5c2fc6ff43be33","description":"<h3 id=\"patch-announcementid\">PATCH /announcement/{id}</h3>\n<p>This endpoint allows you to update an existing announcement by providing a unique identifier. The request modifies the announcement's title and content.</p>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<ul>\n<li><p><strong>title</strong> (string): The new title for the announcement. This field is required and should succinctly summarize the announcement's purpose.</p>\n</li>\n<li><p><strong>content</strong> (string): The updated content of the announcement. This field is required and should provide detailed information regarding the announcement.</p>\n</li>\n</ul>\n<h4 id=\"request-body-example\">Request Body Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"title\": \"New Gym Update 22 2 2\",\n  \"content\": \"independence day offer\"\n}\n\n</code></pre>\n<h4 id=\"expected-response\">Expected Response</h4>\n<p>Upon a successful update, the server will respond with a status code indicating the operation's success (typically 200 OK) along with the updated announcement details. If the update fails, appropriate error messages will be returned.</p>\n<h4 id=\"notes\">Notes</h4>\n<ul>\n<li><p>Ensure that the announcement ID in the URL is valid and corresponds to an existing announcement.</p>\n</li>\n<li><p>The fields <code>title</code> and <code>content</code> must not be empty; otherwise, the request will be rejected.</p>\n</li>\n<li><p>This operation is idempotent; sending the same request multiple times will not result in different outcomes.</p>\n</li>\n</ul>\n","urlObject":{"path":["announcement","689c69860b5c2fc6ff43be33"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"42719871-f065-4cf4-9278-551522e138c3"},{"name":"delete-announcement","id":"f5328bff-e699-4ae6-9083-41fe0221e82d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"New Gym Update 22 2 2\",\r\n    \"content\": \"independence day offer\"\r\n}"},"url":"https://localhost:5000/api/v1/announcement/689c687f581bb72adaa64c72","description":"<p>StartFragment</p>\n<p><strong>Delete Announcement API</strong></p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>bashCopyEditDELETE /api/v1/announcement/:id\n\n</code></pre><p><strong>Description:</strong>  </p>\n<p>Deletes a specific announcement. Only accessible by admins. Requires a valid JWT token.</p>\n<p><strong>Request Parameters:</strong></p>\n<ul>\n<li><code>id</code> (string, URL) – The unique ID of the announcement to delete</li>\n</ul>\n<p><strong>Headers:</strong></p>\n<ul>\n<li><p><code>Authorization: Bearer</code> – JWT token of an admin user</p>\n</li>\n<li><p><code>Content-Type: application/json</code></p>\n</li>\n</ul>\n<p><strong>Request Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>bashCopyEditDELETE http://localhost:5000/api/v1/announcement/64defa123abc4567890def12\nHeaders:\nAuthorization: Bearer eyJhbGciOiJIUzI1NiIsInR...\nContent-Type: application/json\n\n</code></pre><p><strong>Responses:</strong></p>\n<ul>\n<li><strong>200 OK – Success</strong></li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">jsonCopyEdit{\n  \"success\": true,\n  \"message\": \"Announcement deleted\"\n}\n\n</code></pre>\n<ul>\n<li><strong>404 Not Found</strong></li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">jsonCopyEdit{\n  \"success\": false,\n  \"message\": \"Announcement not found\"\n}\n\n</code></pre>\n<ul>\n<li><strong>403 Forbidden</strong></li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">jsonCopyEdit{\n  \"success\": false,\n  \"message\": \"Access denied. Admins only.\"\n}\n\n</code></pre>\n<ul>\n<li><strong>401 Unauthorized</strong></li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">jsonCopyEdit{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}\n\n</code></pre>\n<p><strong>Notes:</strong></p>\n<ul>\n<li><p>Only admins can delete announcements.</p>\n</li>\n<li><p>Ensure the <code>id</code> exists in the database.</p>\n</li>\n<li><p>Include a valid <strong>Authorization header</strong> with an admin token.</p>\n</li>\n</ul>\n<p>EndFragment</p>\n","urlObject":{"path":["announcement","689c687f581bb72adaa64c72"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5328bff-e699-4ae6-9083-41fe0221e82d"}],"id":"0e6ac5b5-4c5c-4a15-ac26-a7cc3da24f99","_postman_id":"0e6ac5b5-4c5c-4a15-ac26-a7cc3da24f99","description":""},{"name":"membership-plan","item":[{"name":"create-plan","id":"17b7a75e-3945-4ac3-9a2e-5ba99ace391c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Student Plan\",\r\n  \"price\": 500,\r\n  \"branch\":\"b1\",\r\n  \"duration\": 3,\r\n  \"status\": \"active\"\r\n}","options":{"raw":{"language":"json"}}},"url":"/membership","urlObject":{"path":["membership"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"17b7a75e-3945-4ac3-9a2e-5ba99ace391c"},{"name":"get-plans","id":"f14392b0-c666-41b9-96a9-1d1d267bab19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fullName\": \"John Doe Updated\",\r\n    \"membership\": {\r\n        \"planId\": \"66b40b0b5f5b2a1234567890\",\r\n        \"startDate\": \"2025-08-01\",\r\n        \"endDate\": \"2025-09-01\",\r\n        \"status\": \"active\"\r\n    }\r\n}\r\n"},"url":"/membership/","urlObject":{"path":["membership",""],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"f14392b0-c666-41b9-96a9-1d1d267bab19"},{"name":"get-plan","id":"be74a069-ce98-40c8-bf47-f1d10c70aa34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fullName\": \"John Doe Updated\",\r\n    \"membership\": {\r\n        \"planId\": \"66b40b0b5f5b2a1234567890\",\r\n        \"startDate\": \"2025-08-01\",\r\n        \"endDate\": \"2025-09-01\",\r\n        \"status\": \"active\"\r\n    }\r\n}\r\n"},"url":"/membership/692a791d3f2f85e8b7b04b70","urlObject":{"path":["membership","692a791d3f2f85e8b7b04b70"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"be74a069-ce98-40c8-bf47-f1d10c70aa34"},{"name":"update-plan","id":"5083a25a-292c-4c45-86f2-d192478fde6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Premium Plan\",\r\n  \"price\": 1300,\r\n  \"duration\": 3,\r\n  \"status\": \"active\",\r\n  \"branch\": \"b2\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"/membership/692968fd67c3afebd8f72f51","urlObject":{"path":["membership","692968fd67c3afebd8f72f51"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"5083a25a-292c-4c45-86f2-d192478fde6c"},{"name":"delete-plan","id":"1bb4905e-76d7-4226-a007-920ca1588316","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Premium Plan\",\r\n  \"price\": 1100,\r\n  \"duration\": 3,\r\n  \"status\": \"active\"\r\n}\r\n"},"url":"/membership/692968fd67c3afebd8f72f51","urlObject":{"path":["membership","692968fd67c3afebd8f72f51"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"1bb4905e-76d7-4226-a007-920ca1588316"}],"id":"c5ce8b5c-af70-4c02-aded-1807ff94638b","_postman_id":"c5ce8b5c-af70-4c02-aded-1807ff94638b","description":""},{"name":"diet-plan","item":[{"name":"create-diet","id":"c52a3f4b-f5ab-412e-8351-168b657a1e58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"purpose\": \"Weight Loss\",\r\n  \"categories\": [\r\n    {\r\n      \"category\": \"Vegetarian\",\r\n      \"plan\": [\r\n        {\r\n          \"time\": \"lunch\",\r\n          \"items\": \"Jowari bhakri + sprouts + salad\",\r\n          \"nutrition\": { \"calories\": 400, \"protein\": \"18g\", \"carbs\": \"55g\", \"fat\": \"8g\" }\r\n        }\r\n      ]\r\n    },\r\n    {\r\n      \"category\": \"Eggatarian\",\r\n      \"plan\": [\r\n        {\r\n          \"time\": \"dinner\",\r\n          \"items\": \"5 boiled eggs + salad\",\r\n          \"nutrition\": { \"calories\": 350, \"protein\": \"25g\", \"carbs\": \"8g\", \"fat\": \"15g\" }\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"/admin/dietplan/","urlObject":{"path":["admin","dietplan",""],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"c52a3f4b-f5ab-412e-8351-168b657a1e58"},{"name":"get-diet","id":"485044ca-95bb-4e40-8d24-a53448e4704d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fullName\": \"John Doe Updated\",\r\n    \"membership\": {\r\n        \"planId\": \"66b40b0b5f5b2a1234567890\",\r\n        \"startDate\": \"2025-08-01\",\r\n        \"endDate\": \"2025-09-01\",\r\n        \"status\": \"active\"\r\n    }\r\n}\r\n"},"url":"/dietplan/","urlObject":{"path":["dietplan",""],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"485044ca-95bb-4e40-8d24-a53448e4704d"},{"name":"update-diet","id":"f363bc50-6b33-45d8-89d6-c4db914ae71c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"High Protein Breakfast\",\r\n  \"description\": \"oats, milk\",\r\n  \"calories\": 600\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/dietplan/689cbb312d9045ddaa85ca08","urlObject":{"path":["dietplan","689cbb312d9045ddaa85ca08"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f363bc50-6b33-45d8-89d6-c4db914ae71c"},{"name":"delete-diet","id":"5c63d423-f031-4075-bf0d-71b82d47f7ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fullName\": \"John Doe Updated\",\r\n    \"membership\": {\r\n        \"planId\": \"66b40b0b5f5b2a1234567890\",\r\n        \"startDate\": \"2025-08-01\",\r\n        \"endDate\": \"2025-09-01\",\r\n        \"status\": \"active\"\r\n    }\r\n}\r\n"},"url":"/admin/dietplan/68ea5901f481cb72a56bffb9","urlObject":{"path":["admin","dietplan","68ea5901f481cb72a56bffb9"],"host":[""],"query":[],"variable":[]}},"response":[],"_postman_id":"5c63d423-f031-4075-bf0d-71b82d47f7ce"}],"id":"8bac61a5-b8aa-42b1-a0b5-0a5ee91782d2","_postman_id":"8bac61a5-b8aa-42b1-a0b5-0a5ee91782d2","description":""},{"name":"Workout","item":[{"name":"get-schedule","id":"01f0d951-ed66-4ae4-8b50-01da5040bed6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://uniquefitness.onrender.com/api/v1/workout","urlObject":{"protocol":"https","path":["api","v1","workout"],"host":["uniquefitness","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"01f0d951-ed66-4ae4-8b50-01da5040bed6"},{"name":"create-schedule","id":"419e31d9-abd2-4fe3-a4de-32f86115ee6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"monday\": [\"chest\", \"back\"],\r\n  \"tuesday\": [\"legs\", \"cardio\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:5000/api/v1/workout","urlObject":{"path":["workout"],"host":["https://localhost:5000/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"419e31d9-abd2-4fe3-a4de-32f86115ee6a"}],"id":"98c1b619-bd41-4c64-a1f5-f6e111cdb78c","_postman_id":"98c1b619-bd41-4c64-a1f5-f6e111cdb78c","description":""},{"name":"Notification","item":[{"name":"FCM Token","id":"8cbc08da-72f0-4ff4-9b17-f1d8dc6122b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"fcmToken\": \"test-token-12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5375/api/v1/user/fcm-token","urlObject":{"protocol":"http","port":"5375","path":["api","v1","user","fcm-token"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8cbc08da-72f0-4ff4-9b17-f1d8dc6122b5"},{"name":"Notification Get","id":"fe19a07b-2d21-4442-b6d4-4b0a854ed305","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5375/api/v1/notification/","urlObject":{"protocol":"http","port":"5375","path":["api","v1","notification",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe19a07b-2d21-4442-b6d4-4b0a854ed305"},{"name":"Unread Nofication","id":"e67fa7a2-4a5a-448f-8121-7717f9b4e13d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5375/api/v1/notification/unread/count","urlObject":{"protocol":"http","port":"5375","path":["api","v1","notification","unread","count"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e67fa7a2-4a5a-448f-8121-7717f9b4e13d"}],"id":"bbcc1a84-9c7a-4283-b086-7b83161f2d67","_postman_id":"bbcc1a84-9c7a-4283-b086-7b83161f2d67","description":""}],"variable":[{"key":"{unique}","value":"https://localhost:5000/api/v1","type":"default"},{"key":"unique","value":"https://localhost:5000/api/v1","type":"default"},{"key":"render","value":"","type":"default"}]}