# Functions
HandleDeleteAnswer godoc
@Summary Delete student questionnare answer @Description Delete student questionnare answer @Tags Questionnare @Tags Student @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /questionnare/answers [delete].
No description provided by the author
HandleDeleteRecommendations godoc
@Summary Delete recommendation for a student @Description Delete recommendation for a student @Tags Recommendations @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param body body schemas.DeleteRecommendationRequest true "Delete student recommendation request body" @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /recommendations [delete].
HandleDeleteStudent godoc
@Summary Delete a student @Description Delete a student from a school @Tags Students @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param body body schemas.DeleteStudentRequest true "Delete student request body" @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /students [delete].
HandleGetAdminProfile godoc
@Summary Get admin profile @Description Get admin profile @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 200 {object} httpx.DataJsonResponse{data=schemas.Admin} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 404 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /admin/profile [get].
HandleGetAlternatives godoc
@Summary Get alternatives @Description Get all alternatives @Tags Common @Accept json @Produce json @Success 200 {object} httpx.DataJsonResponse{data=[]schemas.Alternative} @Failure 500 {object} httpx.ErrorJsonResponse @Router /alternatives [get].
No description provided by the author
No description provided by the author
HandleGetIncompleteQuestionnareSettings godoc
@Summary Get incomplete questionnare settings @Description Get incomplete questionnare settings @Tags Questionnare @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 200 {object} httpx.DataJsonResponse{data=[]schemas.QuestionnareSettingAlternative} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /questionnare/settings/incomplete [get].
HandleGetQuesionnareStatus godoc
@Summary Get questionnare status @Description Get questionnare status @Tags Questionnare @Tags Student @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 200 {object} httpx.DataJsonResponse{data=schemas.QuestionnareStatusResponse} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /questionnare/status [get].
HandleGetQuestionnareSettings godoc
@Summary Get questionnare settings @Description Get questionnare settings @Tags Questionnare @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 200 {object} httpx.DataJsonResponse{data=[]schemas.QuestionnareSettingAlternative} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /questionnare/settings [get].
HandleGetQuestions godoc
@Summary Get Questions @Description Get all available questions @Tags Questionnare @Tags Student @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 200 {object} httpx.DataJsonResponse{data=[]schemas.QuestionResponse} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /questionnare/questions [get].
HandleGetRecommendations godoc
@Summary Get all students recommendations @Description Get all students recommendations @Tags Recommendations @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 200 {object} httpx.DataJsonResponse{data=[]schemas.StudentRecommendation} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /recommendations [get].
HandleGetRecommendationsStudent godoc
@Summary Get recommendations for a student @Description Get recommendations for a student @Tags Recommendations @Tags Student @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 200 {object} httpx.DataJsonResponse{data=schemas.Recommendation} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 404 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /recommendations/student [get].
HandleGetRecommendationStudent godoc
@Summary Get student recommendations details @Description Get student recommendations details @Tags Recommendations @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param studentId path string true "Id student" @Success 200 {object} httpx.DataJsonResponse{data=schemas.Recommendation} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 404 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /recommendations/student/{studentId} [get].
HandleGetSchool godoc
@Summary Get school @Description Get current authenticated user shcool @Tags Common @Tags Student @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 200 {object} httpx.DataJsonResponse{data=schemas.School} @Failure 404 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /school [get].
HandleGetSchools godoc
@Summary Get all schools @Description Get all registered schools @Tags Common @Accept json @Produce json @Success 200 {object} httpx.DataJsonResponse{data=[]schemas.School} @Failure 404 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /schools [get].
HandleGetStatistics godoc
@Summary Get statistic @Description Get statistics @Tags Common @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 200 {object} httpx.DataJsonResponse{data=schemas.Statistic} @Failure 500 {object} httpx.ErrorJsonResponse @Router /statistics [get].
HandleGetStudent godoc
@Summary Get a student @Description Get a student from a school @Tags Students @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param studentId path string true "Id student" @Success 200 {object} httpx.DataJsonResponse{data=schemas.Student} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 404 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /students/{studentId} [get].
HandleGetStudentProfile godoc
@Summary Get a student profile @Description Get a student profile @Tags Students @Tags Student @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 200 {object} httpx.DataJsonResponse{data=schemas.StudentProfile} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /students/profile [get].
HandleStudents godoc
@Summary Get students @Description Get all students from a school @Tags Students @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Success 200 {object} httpx.DataJsonResponse{data=[]schemas.Student} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /students [get].
No description provided by the author
HandlePatchAdminChangePassword godoc
@Summary Change admin password @Description Change admin password @Tags Admin @Tags Auth @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param body body models.ChangePasswordRequest true "Change admin password request body" @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /admin/change-password [patch].
HandlePatchAdminProfile godoc
@Summary Update admin profile @Description Update admin profile @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param body body schemas.UpdateAdminRequest true "Update admin profile request body" @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /admin/profile [patch].
No description provided by the author
HandlePatchStudent godoc
@Summary Update a student @Description Update a student from a school @Tags Students @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param studentId path string true "Update student id" @Param body body schemas.UpdateStudentRequest true "Update student request body" @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /students/{studentId} [patch].
HandlePatchStudentChangePassword godoc
@Summary Change student password @Description Change student password @Tags Student @Tags Auth @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param body body models.ChangePasswordRequest true "Change student password request body" @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /students/change-password [patch].
HandlePatchStudentProfile godoc
@Summary Update a student profile @Description Update a student profile @Tags Students @Tags Student @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param body body schemas.UpdateStudentRequest true "Update student profile body request" @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /students/profile [patch].
HandlePostAnswers godoc
@Summary Submit answer @Description Submit questionnare answers @Tags Questionnare @Tags Student @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param body body []schemas.SubmitAnswerRequest true "Submit answer request body" @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /questionnare/answers [post].
No description provided by the author
HandlePostLogin godoc
@Summary Login authentication @Description Login authentication for student and admin @Tags Auth @Accept json @Produce json @Param body body schemas.LoginRequest true "Login request body" @Success 200 {object} httpx.DataJsonResponse{data=schemas.LoginResponse} @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /auth/login [post].
HandlePostQuestionnareSettings godoc
@Summary Add questionnare setting @Description Add a questionnare setting @Tags Questionnare @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param body body schemas.QuestionnareSettingRequest true "Add questionnare setting request body" @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /questionnare/settings [post].
HandlePostRegisterStudent godoc
@Summary Register student @Description Register student @Tags Student @Accept json @Produce json @Param body body models.StudentRegisterRequest true "Register student request body" @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /register/student [post].
HandlePostStudent godoc
@Summary Add a student @Description Add a student from a school @Tags Students @Tags Admin @Accept json @Produce json @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>) @Param body body schemas.AddStudentRequest true "Add student request body" @Success 201 {object} httpx.MessageJsonResponse @Failure 400 {object} httpx.ErrorJsonResponse @Failure 500 {object} httpx.ErrorJsonResponse @Router /students [post].
# Variables
No description provided by the author