admin

PUT /api/v2/admin/events/{id}/

Changed on

Staff 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

EventRequest 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 mainurl request property type changed from string to no type, and format from uri to no format (media type: application/json)

    • breaking

      the mainurl response property's maxLength was unset from 200 for the response status

    • breaking

      added subschema #1 subschema #2 to the mainurl response property oneOf list for the response status

    6 more changes in this revision