recurring-slots

POST /api/recurring-slots

Changed on

Every recurring slot. Public, like the schedule it produces; staff create them.

Request

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

Request body

organizationinteger nullable required

Who gets the airtime. Unowned slots issue grants to the station.

frequency'daily' | 'weekly' | 'monthly'
  • daily - Daily
  • weekly - Weekly
  • monthly - Monthly
intervalinteger
weekdaysinteger[]

0 is Monday. Required for weekly and monthly slots; for daily slots, empty means every day.

monthWeeksinteger[]

Monthly slots: which occurrence of the weekday in the month, 1-5, or -1 for the last.

startTimestring time required

Wall-clock time in Europe/Oslo.

durationstring required
startsOnstring date required
endsOnstring date nullable

Response

idinteger required
organizationinteger nullable required

Who gets the airtime. Unowned slots issue grants to the station.

organizationNamestring nullable required
frequency'daily' | 'weekly' | 'monthly'
  • daily - Daily
  • weekly - Weekly
  • monthly - Monthly
intervalinteger
weekdaysinteger[]

0 is Monday. Required for weekly and monthly slots; for daily slots, empty means every day.

monthWeeksinteger[]

Monthly slots: which occurrence of the weekday in the month, 1-5, or -1 for the last.

startTimestring time required

Wall-clock time in Europe/Oslo.

durationstring required
startsOnstring date required
endsOnstring date nullable
descriptionstring required

Changes

    • breaking

      added to the oneOf[#/components/schemas/RecurringSlotsCreateValidationError]/errors/items response property oneOf list for the response status

    • breaking

      removed the required property defaultFillRule from the response with the status

    • warning

      removed the request property defaultFillRuleId

    6 more changes in this revision