Base URL: http://localhost:3000
GET /organizations- List all organizationsPOST /organizations- Create an organizationGET /organizations/{orgId}- Get an organizationPATCH /organizations/{orgId}- Update an organizationDELETE /organizations/{orgId}- Delete an organization
GET /courses- List courses in an organizationPOST /courses- Create a course in an organizationGET /courses/{courseId}- Get course detailsPATCH /courses/{courseId}- Update a courseDELETE /courses/{courseId}- Delete a course
GET /auth/me- Get profileDELETE /auth/{subId}- Delete a user by IDPOST /auth/invite-learner- Invite learnerPOST /auth/invite-instructor- Invite instructor
GET /materials/{materialId}- Get material detailsPATCH /materials/{materialId}- Update a materialDELETE /materials/{materialId}- Delete a materialGET /courses/{courseId}/materials- List materials for a coursePOST /courses/{courseId}/materials- Create a material for a course
GET /flashcards/{flashcardId}- Get a flashcardPATCH /flashcards/{flashcardId}- Update a flashcardDELETE /flashcards/{flashcardId}- Delete a flashcardPOST /flashcards- Create a flashcardGET /courses/{courseId}/flashcards- List flashcards for a coursePOST /courses/{courseId}/flashcards- Create a flashcard for a course
GET /quizzes/{quizId}- Get quiz detailsPATCH /quizzes/{quizId}- Update a quizDELETE /quizzes/{quizId}- Delete a quizGET /courses/{courseId}/quizzes- List quizzes for a coursePOST /courses/{courseId}/quizzes- Create a quiz
GET /questions/{questionId}- Get a questionPATCH /questions/{questionId}- Update a questionDELETE /questions/{questionId}- Delete a questionPOST /quizzes/{quizId}/questions- Create a question
GET /chats/{chatId}- Get a chatDELETE /chats/{chatId}- Delete a chatGET /chats/{chatId}/messages- List chat messagesPATCH /chat/{chatId}- Update a chat title
GET /messages/{messageId}- Get a messagePOST /chats/{chatId}/messages- Send a messagePATCH /messages/{messageId}- Update a messageDELETE /messages/{messageId}- Delete a message