List events from CAMPUSonline.

Fields

id (integer)

Primary key.

course (object)

Course this event is associated with.

category (string)

Category for this event.

title (string)

Title of this event.

date (datetime)

Date of event.

start (datetime)

Start of event.

end (datetime)

End of event.

building (object)

Building this event takes place in.

room (object)

Building this event takes place in.

show_end (datetime)

When to stop showing this event.

Filters

To filter for exact value matches:

?<fieldname>=<value>

For advanced filtering use lookups:

?<fieldname>__<lookup>=<value>

Possible lookups:

  • building__short: exact, startswith, contains
  • room__category__name: exact
  • room__floor__name: exact
  • room__building__name: exact, startswith
  • room__building__short: exact
  • room__building__address: exact, startswith, contains
  • room__title: exact, startswith, contains
  • room__name_full: exact, startswith, contains
  • course__category: exact
  • category: exact
  • date: gt, gte, lt, lte
  • start: gt, gte, lt, lte
  • end: gt, gte, lt, lte
  • show_end: gt, gte, lt, lte
GET /v1/campusonline/event/?format=api
HTTP 200 OK
  Allow: GET, HEAD, OPTIONS
  Content-Type: application/json
  Vary: Accept
  
  {
    "count": 0,
    "next": null,
    "previous": null,
    "results": []
}