API Endpoints - minute-tutor/back-end GitHub Wiki
/getUserByID/<id>
Will return the Google user with the ID <id>
inside the User schema
/findUsersBySkill/<skill>
Will return an array of all the Google users with skill <skill>
.
/newUser/
With body fields as x-www-form-urlencoded
:
-
id
(From Google) -
email
(From Google) -
name
(From Google) description
skills
rate
skypeID
/addReview/
With body fields as x-www-form-urlencoded
:
-
id
(From Google) -
review
Stars to rate
/updateLogin/
With body fields as x-www-form-urlencoded
:
-
id
(From Google) -
timestamp
Current time in milliseconds
/updateDescription/
With body fields as x-www-form-urlencoded
:
-
id
(From Google) description
/updateRate/
With body fields as x-www-form-urlencoded
:
-
id
(From Google) rate
/updateSkypeID/
With body fields as x-www-form-urlencoded
:
-
id
(From Google) skypeID
/addSkill/
With body fields as x-www-form-urlencoded
:
-
id
(From Google) skill