lundi 29 janvier 2018

House rental service endpoints

I am developing a site for a house rental service The owner will have access to an admin panel at /owner, and list of their houses at /owner/houses and a view of a specific house on /owner/houses/:id.

Since the owner has access to a calendar for each house showing when it is rented, should the calendar be on /owner/houses/:id/calendar or have its own endpoint /owner/calendar/:id or is there a third better option?




Aucun commentaire:

Enregistrer un commentaire