Skip to content

BusyBeaver API

Patricia edited this page Nov 9, 2019 · 3 revisions

Run in Postman

/events

/events GET

Get all events that are currently in the DB

/events POST

Add an event to the table.

Body

{
    eventTitle: { type: String, required: true },
    eventStartTime: Date,
    eventStartDate: Date,
    eventEndTime: Date,
    eventEndDate: Date,
    location: String,
    recurring: Boolean,
}

/users

/users GET

Get all users that are currently in the DB

Clone this wiki locally