admin

POST /api/v2/admin/event/{event_pk}/program/events/

Changed on

Staff viewset for managing program events.

Request

  • The document declares no server URL.
  • Auth
    • API key in header Authorization
    • or API key in cookie sessionid

Path parameters

event_pk, integer required

Request body application/x-www-form-urlencoded

ProgramEventRequest required

Staff serializer for programme events.

start, string date-time required
end, string date-time nullable
title, string required
description, string
presenters, string
presenters_titles, string
place, string
icon_original, string binary
icon2_original, string binary
email, union
home_url, union
twitter_url, union
github_url, union
facebook_url, union
linkedin_url, union
wiki_url, union
event_type, 0 | 1
  • 0 - Simple
  • 1 - Detailed
active, boolean

Response

ProgramEvent required

Staff serializer for programme events.

id, integer required
event, integer required
start, string date-time required
end, string date-time nullable
title, string required
description, string
presenters, string
presenters_titles, string
place, string
icon_original, string uri nullable
icon_small_url, string nullable required

Return URL for small icon thumbnail, or None if no icon exists.

icon2_original, string uri nullable
icon2_small_url, string nullable required

Return URL for small icon2 thumbnail, or None if no icon2 exists.

email, union
home_url, union
twitter_url, union
github_url, union
facebook_url, union
linkedin_url, union
wiki_url, union
event_type, 0 | 1
  • 0 - Simple
  • 1 - Detailed
active, boolean

Changes

    • breaking

      the response property icon2_original became nullable for the status

    • breaking

      the response property icon_original became nullable for the status

    • breaking

      the email response property's maxLength was unset from 254 for the response status

    48 more changes in this revision