Skip to content
Pasindu Dinal Sumanasekara edited this page Apr 16, 2023 · 3 revisions

Event Management

Event Schema

  • _id : objectId | required ( auto-generated )
  • name : String | required
  • description : String | required
  • headerImage : String
  • venue : String | required
  • startTime : Number | required
  • endTime : Number | required
  • status : String
  • category : String | required
  • speakers : [ObjectId]
  • attendeeCount : Number - default: 0
  • attendees : [ObjectId]
  • capacity : Number | required
  • tags : [String]
  • joinLink : String
  • host : String
  • faculty : [String]
  • user : ObjectId | ref: 'User'
  • timestamps

API

Get all Events

Endpoint - GET {url}/api/events

Clone this wiki locally