Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 765 Bytes

routes.md

File metadata and controls

36 lines (29 loc) · 765 Bytes

Auth Routes:

  • POST : /api/signup
  • GET : /api/lognin

Profile Routes:

  • POST :
    • /api/profile
  • GET :
    • /api/profile/:id
  • PUT :
    • /api/profile/:profID

Profile / Photo Routes:

  • POST :
    • /api/profile/:profID/photo
  • PUT :
    • /api/profile/:profID/photo/:photoID
  • DELETE :
    • /api/profile/:profID/photo/:photoID

Residence Routes:

  • POST : /api/profile/:profileID/residence
  • GET : /api/profile/:profileID/residence/:resid
  • DELETE : /api/profile/:profileID/residence/:resid

Residence / Bedroom Routes:

  • GET : /api/residence/:resID/bedroom/:bedID
  • POST : /api/residence/:resID/bedroom
  • PUT : /api/residence/:resID/bedroom/:bedID
  • DELETE : /api/residence/:resID/bedroom/:bedID