{"info":{"_postman_id":"531b8776-5553-4701-9d16-e43dd6127be2","name":"Chapter Performance Dashboard API","description":"<html><head></head><body><p>API collection for managing chapters with progress tracking and question statistics</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"45603720","collectionId":"531b8776-5553-4701-9d16-e43dd6127be2","publishedId":"2sB2x2KEg8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-06-05T16:14:45.000Z"},"item":[{"name":"Get All Chapters","id":"52b82702-45cd-46ee-873a-537d8988dfe7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://mathongo.manantechnosurge.tech/api/v1/chapters","description":"<p>Retrieve all chapters with optional filtering and pagination. Returns chapters with complete progress tracking data.EndFragment</p>\n","urlObject":{"path":["api","v1","chapters"],"host":["https://mathongo.manantechnosurge.tech"],"query":[{"disabled":true,"description":{"content":"<p>Filter chapters by class (e.g., 'Class 11', 'Class 12')</p>\n","type":"text/plain"},"key":"class","value":""},{"disabled":true,"description":{"content":"<p>Filter chapters by subject name (e.g., Physics, Mathematics, Chemistry)</p>\n","type":"text/plain"},"key":"subject","value":""},{"disabled":true,"description":{"content":"<p>Filter chapters by unit name (e.g., 'Mechanics 1', 'Organic Chemistry')</p>\n","type":"text/plain"},"key":"unit","value":""},{"disabled":true,"description":{"content":"<p>Filter chapters by progress status (e.g., 'Not Started', 'In Progress', 'Completed')</p>\n","type":"text/plain"},"key":"status","value":""},{"disabled":true,"description":{"content":"<p>Filter weak chapters: true (only weak), false (exclude weak), omit (all)</p>\n","type":"text/plain"},"key":"weakChapters","value":""},{"disabled":true,"description":{"content":"<p>Page number for pagination (minimum: 1, default: 1)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Items per page (minimum: 1, maximum: 1000, default: 10)</p>\n","type":"text/plain"},"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"52b82702-45cd-46ee-873a-537d8988dfe7"},{"name":"Get Chapter by ID","id":"1d5a4858-790b-4303-a986-800d0d74891a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://mathongo.manantechnosurge.tech/api/v1/chapters/:id","description":"<p>Retrieve a specific chapter by its MongoDB ObjectId. Returns complete chapter details including year-wise question counts and progress status.EndFragment</p>\n","urlObject":{"path":["api","v1","chapters",":id"],"host":["https://mathongo.manantechnosurge.tech"],"query":[],"variable":[{"description":{"content":"<p>Mongo DB Id of the chapter</p>\n","type":"text/plain"},"type":"any","value":"684182ccacf21a14eb13f861","key":"id"}]}},"response":[],"_postman_id":"1d5a4858-790b-4303-a986-800d0d74891a"},{"name":"Upload Chapters (JSON Body)","id":"4acb896d-6f3d-4177-a977-13eaf90bb66e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"subject\": \"Physics\",\n    \"chapter\": \"Mathematics in Physics\",\n    \"class\": \"Class 11\",\n    \"unit\": \"Mechanics 1\",\n    \"yearWiseQuestionCount\": {\n      \"2019\": 0,\n      \"2020\": 2,\n      \"2021\": 5,\n      \"2022\": 5,\n      \"2023\": 3,\n      \"2024\": 7,\n      \"2025\": 6\n    },\n    \"questionSolved\": 0,\n    \"status\": \"Not Started\",\n    \"isWeakChapter\": false\n  },\n  {\n    \"subject\": \"Mathematics\",\n    \"chapter\": \"Limits and Derivatives\",\n    \"class\": \"Class 11\",\n    \"unit\": \"Calculus\",\n    \"yearWiseQuestionCount\": {\n      \"2019\": 3,\n      \"2020\": 4,\n      \"2021\": 6,\n      \"2022\": 8,\n      \"2023\": 5,\n      \"2024\": 9,\n      \"2025\": 7\n    },\n    \"questionSolved\": 15,\n    \"status\": \"In Progress\",\n    \"isWeakChapter\": true\n  }\n]"},"url":"https://mathongo.manantechnosurge.tech/api/v1/chapters?user=admin","description":"<p>Upload multiple chapters using a JSON Body. Body should contain an array of complete chapter objectsEndFragment</p>\n","urlObject":{"path":["api","v1","chapters"],"host":["https://mathongo.manantechnosurge.tech"],"query":[{"description":{"content":"<p>Must be 'admin' for authorization (required)</p>\n","type":"text/plain"},"key":"user","value":"admin"}],"variable":[]}},"response":[],"_postman_id":"4acb896d-6f3d-4177-a977-13eaf90bb66e"},{"name":"Upload Chapters (File Upload)","id":"eb0b3b7f-d85f-4c14-95a0-3e36a04537a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"chapters","description":"<p>JSON file containing array of chapter objects with complete structure including yearWiseQuestionCount, questionSolved, status, and isWeakChapter fields</p>\n","type":"file","uuid":"9d2f7465-ee9f-475e-88fb-424e15b32d15","src":"postman-cloud:///1f0413f5-5551-45f0-9ecc-c42aa5c9869e"}]},"url":"https://mathongo.manantechnosurge.tech/chapters?user=admin","description":"<p>Upload multiple chapters using a JSON file. File should contain an array of complete chapter objectsEndFragment</p>\n","urlObject":{"path":["chapters"],"host":["https://mathongo.manantechnosurge.tech"],"query":[{"description":{"content":"<p>Must be 'admin' for authorization (required)</p>\n","type":"text/plain"},"key":"user","value":"admin"}],"variable":[]}},"response":[],"_postman_id":"eb0b3b7f-d85f-4c14-95a0-3e36a04537a5"}],"event":[{"listen":"prerequest","script":{"id":"81010c77-c752-40f1-a743-a86f1e2f9636","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"bfb57e70-a8f2-42bf-9883-ab6658318e45","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://mathongo.manantechnosurge.tech","type":"string"}]}