Endpoint accessibility - ita-social-projects/WhatBackend Wiki


accounts

Student Mentor Secretary Admin NotAssigned
POST /api/v2/accounts/auth + + + + +
PUT /api/v2/accounts/role/grant +
PUT /api/v2/accounts/role/revoke +
POST /api/v2/accounts/reg + + + + +
GET /api/v2/accounts +
GET /api/v2/accounts/NotAssigned + +
PUT /api/v2/accounts/password + + + +
POST /api/v2/accounts/password/forgot + + + + +
POST /api/v2/accounts/password/reset/{guid} + + + + +

attachments

Student Mentor Secretary Admin NotAssigned
POST /api/v2/attachments + + + +
POST /api/v2/attachments/avatar + + + +
GET /api/v2/attachments/avatar/url + + + +
POST /api/v2/attachments/attachments + + + +
GET /api/v2/attachments/{attachmentId} + + + +
DELETE /api/v2/attachments/{attachmentId} + + + +

courses

Student Mentor Secretary Admin NotAssigned
POST /api/v2/courses + +
GET /api/v2/courses + + + +
PUT /api/v2/courses/{id} + +
DELETE /api/v2/courses/{id} + +
PATCH /api/v2/courses/{id} + +

dashboard

Student Mentor Secretary Admin NotAssigned
POST /api/v2/dashboard/studentsClassbook + + +
POST /api/v2/dashboard/studentsResults + + +
POST /api/v2/dashboard/studentClassbook/{studentId} + + + +
POST /api/v2/dashboard/studentResults/{studentId} + + + +
POST /api/v2/dashboard/studentGroupResults/{courseId} + + +

events

Student Mentor Secretary Admin NotAssigned
GET /api/v2/events/{id} + +
PUT /api/v2/events/{id} + +
DELETE /api/v2/events/{id} + +
Putch /api/v2/events/{id} + + +

export

Student Mentor Secretary Admin NotAssigned
POST /api/v2/exports/studentsClassbook + + +
POST /api/v2/exports/studentsResults + + +
POST /api/v2/exports/studentsClassbook/{studentId} + + +
POST /api/v2/exports/studentsResults/{studentId} + + + +
POST /api/v2/exports/studentGroupResult/{courseId} + + +

homeworks

Student Mentor Secretary Admin NotAssigned
GET /api/v2/homeworks + +
POST /api/v2/homeworks + +
GET /api/v2/homeworks/{id} + + + +
PUT /api/v2/homeworks/{id} + +
GET /api/v2/homeworks/notdonehomework/{studentGroupId} +
POST /api/v2/homeworks/getHomeworks + + +

homeworkstudent

Student Mentor Secretary Admin NotAssigned
POST /api/v2/homeworkstudent +
GET /api/v2/homeworkstudent +
GET /api/v2/homeworkstudent/done +
GET /api/v2/homeworkstudent/{homeworkId} +
GET /api/v2/homeworkstudent/history/{homeworkStudentId} + + +
PUT /api/v2/homeworkstudent/{id} +
PUT /api/v2/homeworkstudent/updatemark + + +

imports

Student Mentor Secretary Admin NotAssigned
POST /api/v2/imports/group/{courseId} + + +
POST /api/v2/imports/themes + + +

lessons

Student Mentor Secretary Admin NotAssigned
POST /api/v2/lessons + +
GET /api/v2/lessons + + +
POST /api/v2/lessons/assign + +
PUT /api/v2/lessons/{id} + +
GET /api/v2/lessons/{id} + + + +
GET /api/v2/lessons/{id}/isdone + + + +

mentors

Student Mentor Secretary Admin NotAssigned
POST /api/v2/mentors/{accountId} + +
POST /api/v2/mentors/lessons +
GET /api/v2/mentors/active + + +
GET /api/v2/mentors/{id} + + +
DELETE /api/v2/mentors/{id} + +
PATCH /api/v2/mentors/{id} + +
GET /api/v2/mentors + +
PUT /api/v2/mentors/{mentorId} + +
GET /api/v2/mentors/{id}/groups + + +
GET /api/v2/mentors/{id}/courses + + +
GET /api/v2/mentors/{id}/lessons + + +

schedules

Student Mentor Secretary Admin NotAssigned
POST /api/v2/schedules + +
GET /api/v2/schedules/{id} + +
GET /api/v2/schedules/detailed/{id} + +
POST /api/v2/schedules/events + + + +
PUT /api/v2/schedules/events/updateRange + +
PUT /api/v2/schedules/eventOccurrences/{eventOccurrenceID} + +
GET /api/v2/schedules/event-occurrences + +
DELETE /api/v2/schedules/{eventOccurrenceID} + +

secretaries

Student Mentor Secretary Admin NotAssigned
POST /api/v2/secretaries/{accountId} +
GET /api/v2/secretaries + +
GET /api/v2/secretaries/active + +
PUT /api/v2/secretaries/{secretaryId} +
DELETE /api/v2/secretaries/{secretaryId} +
PATCH /api/v2/secretaries/{secretaryId} +

student_groups

Student Mentor Secretary Admin NotAssigned
DELETE /api/v2/student_groups/{id} + + +
PUT /api/v2/student_groups/{id} + + +
GET /api/v2/student_groups/{id} + + +
GET /api/v2/student_groups/{id}/lessons + + + +
POST /api/v2/student_groups + + +
GET /api/v2/student_groups + + +
GET /api/v2/student_groups/{id}/homeworks + +
POST /api/v2/student_groups/merge + + +

students

Student Mentor Secretary Admin NotAssigned
POST /api/v2/students/{accountId} + +
GET /api/v2/students/{id} + + +
DELETE /api/v2/students/{id} + + +
PATCH /api/v2/students/{id} + + +
GET /api/v2/students + + +
GET /api/v2/students/{id}/lessons + + + +
GET /api/v2/students/active + + +
GET /api/v2/students/{id}/groups + + + +
PUT /api/v2/students/{studentId} + +
POST /api/v2/students/lessons +

themes

Student Mentor Secretary Admin NotAssigned
GET /api/v2/themes + + +
POST /api/v2/themes + +
PUT /api/v2/themes/{themeId} + +
DELETE /api/v2/themes/{themeId} + +