Topic
Topic management endpoints. A topic groups subtopics and is associated with one or more subjects via a many-to-many relationship. Hierarchy: Subject β Topic β Subtopic β Exercise/Video.
List topics
Returns a paginated list of topics with optional filtering by name and subject. Each topic includes its associated subjects and subtopics. Public endpoint: no authentication required.
Create topic
Creates a new topic and associates it with the specified subjects. Admin only.
View topic
Returns details of a single topic, including its associated subjects and subtopics. Public endpoint: no authentication required.
Delete topic
Performs a soft-delete of the topic. The record is not removed from the database but marked with a deletion timestamp. Admin only.
Update topic
Updates fields of an existing topic. Only provided fields are modified. Admin only.
List subjects associated with a topic
List subjects associated with a topic
Add a subject to a topic (admin only)
Add a subject to a topic (admin only)
Remove a subject from a topic (admin only)
Remove a subject from a topic (admin only)