A system for displaying and modifying meeting room reservations via wall mounted terminals at each room, a web interface, and Outlook/Google calendar.
GET
/room
POST
/room
name
GET
/room/:id
PUT
/room/:id
name
DELETE
/room/:id
POST
/reservation/
GET
/reservation/:id
PUT
/reservation/:id
DELETE
/reservation/:id
The _id
field is returned for referencing objects but is never needed in POST
or PUT
bodies. This is the ID used in the REST path.
GET
requests return the requested objectPOST
and PUT
requests return the created or updated objectDELETE
requests returns a message{
_id: String,
name: String,
reservations: Array<String>
}
The reservations
array is an array of reservation _id
values.
{
_id: String,
meetingName: String,
owner: String,
ownerEmail: String,
start: Date,
end: Date
}
Message objects are sent as the body of any request that does not return a room
or reservation
.
{
message: String
}