admin
POST /api/v2/admin/events/
Changed onStaff viewset for managing events.
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or API key in cookie sessionid
Request body
Event Request required
Staff serializer for events.
name, string required
tag, string nullable
date, string date required
archived, boolean
hidden, boolean
mainurl, union
Response
Event required
Staff serializer for events.
id, integer required
name, string required
tag, string nullable
date, string date required
archived, boolean
hidden, boolean
mainurl, union
Changes
- breaking
the
mainurlrequest property type changed fromstringto no type, and format fromurito no format (media type: application/json) - breaking
the
mainurlresponse property's maxLength was unset from200for the response status - breaking
added
subschema #1subschema #2to themainurlresponse propertyoneOflist for the response status
6 more changes in this revision
- breaking