Professional Documents
Culture Documents
API
API
app/
Backend URL https://api-mentorship-shecodesvietnam.herokuapp.com/
Routes Endpoint
/api/mentees
/api/mentees/me
/api/mentees/me
/api/mentees/me/avatar
/api/mentees/auth
Authentication
/api/mentees/auth/token_refresh
/api/mentees/auth/email_confirmation/<token>
/api/mentees/auth/password_reset_request
/api/mentees/auth/password_reset/<token>
/api/mentees/auth/password_change
Request /api/requests
/api/mentors
/api/mentors/<int:id>
Mentor /api/mentors
/api/mentors/<int:id>
/api/mentors/<int:id>/avatar
Method Headers
Content-Type: application/json
POST Authorization: Bearer <JWT: Access Token>
Content-Type: application/json
GET Authorization: Bearer <JWT: Access Token>
Content-Type: application/json
PUT Authorization:
Authorization: Bearer
Bearer <JWT:
<JWT: Access
Access Token>
Token>
PUT Enctype: multipart/form-data
POST Content-Type:
Content-Type: application/json
application/json
POST Authorization: Bearer <JWT: Refresh Token>
GET Content-Type: application/json
POST Content-Type: application/json
GET Content-Type: application/json
Content-Type: application/json
POST Authorization: Bearer <JWT: Access Token>
Content-Type: application/json
POST Authorization: Bearer <JWT: Access Token>
Content-Type: application/json
GET Authorization: Bearer <JWT: Access Token>
Content-Type: application/json
GET Authorization: Bearer <JWT: Access Token>
POST Content-Type: application/json
PUT Content-Type:
Content-Type: application/json
application/json
PUT Enctype: multipart/form-data
Body
password: String(min=6, max=128)
name: String(min=2, max=40)
school: Array(JSON(name: String(50), major: String(50)))
exp: Array(JSON(name: String(50), position: String(50), start_date: Date, end_date: Date))
avatar: LargeBinary max=50)
email: String(min=6,
password: String(min=6, max-128)
mentor_id: Integer
Booking Request