admin
PATCH /api/v2/admin/events/{id}/
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
Path parameters
id, integer required
A unique integer value identifying this event.
Request body
Patched Event Request required
Staff serializer for events.
name, string
tag, string nullable
date, string date
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