Event

Gets all events

Required role: null

The events returned are filtered based on what the currently authenticated user can access. For example, if the currently authenticated user is not staff, staff events will not be shown.

get/event/

Request

  • Base URL: https://adonix.hackillinois.org
  • URL: https://adonix.hackillinois.org/event/
  • Auth: none declared

Response

The events

Example response

{
  "events": [
    {
      "eventId": "52fdfc072182654f163f5f0f9a621d72",
      "name": "Awesome Event",
      "description": "A really cool event",
      "startTime": 1532202702,
      "endTime": 1532212702,
      "locations": [
        {
          "description": "Siebel Center for CS",
          "latitude": 40.1138,
          "longitude": -88.2249
        }
      ],
      "sponsor": "AwesomeSocks",
      "eventType": "WORKSHOP",
      "points": 10,
      "isStaff": false,
      "isPrivate": false,
      "isAsync": false,
      "isPro": false,
      "isMandatory": false,
      "displayOnStaffCheckIn": true,
      "mapImageUrl": "example.com/image.png",
      "exp": 12393928829,
      "menu": [
        "Pizza",
        "Pizza"
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.