Skip to content

API Manual

Min Kuk Jo edited this page Aug 19, 2018 · 1 revision

Common

기능 요청 url
회원가입 /users/sign_up
로그인 /users/sign_in
로그아웃 /users/sign_out
회원 정보 수정 /users/edit

General User (authorization == '2')

기능 요청 url
공지 조회(R) /notices/index (전체)
/notices/show/:notice_id (개별)
멘토 신청(C) /students/applyMentorGet
/students/applyMentorPost
멘토 신청 수정(U) /students/applyMentorEdit
/students/applyMentorUpdate
멘토 신청 취소(D) /students/applyMentorDelete
멘토방 조회(R) /students/findAllRooms (전체)
/students/findOneRoom/:mentor_room_id (개별)
멘토방 멘티 신청(C) /students/applyMentee/:mentor_room_id
멘토방 멘티 신청 취소(D) /students/deleteApplyMentee/:user_id
소속된 멘토방 조회(R) /students/myMentorRoom
시간표 등록/조회/수정(CRU) /time/timeTableGet
/time/timeTablePost

Mentor User (authorization == '1')

기능 요청 url
멘토방 멘티 삭제(D) /mentors/deleteMyMentee/:user_id
보고서 등록/수정(CU) /mentors/midReportUpdate (중간보고서)
/mentors/finalReportUpdate (최종보고서)

Admin User (authorization == '0')

기능 요청 url
사용자 등록(C) /admin/import
사용자 조회(R) /admin/findAllUsers(전체)
사용자 권한 변경(U) /admin/userAuthChange
사용자 삭제(D) /admin/userDelete/:user_id
멘토 신청자 조회(R) /admin/mentorApplyUsers (전체)
/admin/mentorApplyFindOne/:mentor_apply_id (개별)
멘토 신청 승인(CU) /admin/mentorApplyConfirm
사용자 권한 변경 + 멘토방 개설
사용자 멘토 신청 삭제(D) /admin/deleteMentorApply/:mentor_apply_id
멘토방 삭제(D) /admin/mentorRoomDelete/:mentor_room_id
학기 등록/조회(CR) /admin/semesterGet
/admin/semesterCreate
학기 상태 수정(U) /admin/semesterUpdate
학기 삭제(D) /admin/semesterDelete
멘토 신청 활성화/비활성화(U) /admin/mentorOption
멘티 신청 활성화/비활성화(U) /admin/menteeOption
멘토방 최대 인원 설정(U) /admin/roomOption
보고서 전체 조회(R) /admin/reportAll

Clone this wiki locally