3. API Mapping - edubrite/javaapi GitHub Wiki

Service Operations
UserApiService
[connector.userSvc()]
  • list : List the users based on given criteria from given group
  • create : Creates a new user
  • get : Get a specific user by user name
  • update : Updates user details
  • deactivate : Deactivates user from the site
  • activate : Activates deactivated user from the site
  • addToGroups : Adds a user to group(s) with given role
  • removeFromGroups : Removes a user from group(s)
  • getSession : Gets all user sessions
GroupApiService
[connector.groupSvc()]
  • get : Fetches a group by given id
  • list: Fetches groups of the site
  • update: Updates group details
  • changeParentGroup: Change/Update group's parent
  • getMyGroupList : Fetches user's groups
  • create : Creates a new group
  • removeByIds : Removes group(s) by given id(s)
  • removeByNames : Removes group(s) by name(s)
  • addRemoveGroupAndMembers : Adds/removes user into/from given group(s)
TestApiService
[connector.testSvc()]
  • getTest
  • getTestInstance
  • getTestCollections
  • getSubscribedExamsList
  • getNotSubscribedExamsList
  • subscribe
  • getTestInstanceList
  • getTestStats
  • getTestQuestionStats
  • getTestAttempts
  • getAllTestAttempts
CourseApiService
[connector.courseSvc()]
  • getCourseList
  • getCourseSessionList
  • getUsersCourseSessionList
  • getSubscribedExamsList
  • enrollCourseSession
ReportApiService
[connector.reportSvc(siteDateFormat)]
  • listProgramMembers
  • listCourseSessionMembers
⚠️ **GitHub.com Fallback** ⚠️