Schedules
Body
Schema for creating a new schedule
namestring · max: 50Required
descriptionstring · max: 255 · nullableOptional
imagestring · uri · nullableOptional
themestring · enum · nullableOptionalPossible values:
backgroundstring[]Optional
activebooleanOptionalDefault:
trueactive_sincestring · date-timeRequired
active_untilstring · date-timeRequired
Responses
200
Schedule created successfully
application/json
okbooleanOptionalExample:
true400
Bad request - invalid parameters or body
application/json
401
Unauthorized - authentication required
application/json
403
Forbidden - insufficient permissions
application/json
500
Internal server error
application/json
post/schedules
Path parameters
schedule_idstring · uuidRequired
Schedule UUID
Body
Schema for updating a schedule (all fields optional)
namestring · max: 50Optional
descriptionstring · max: 255 · nullableOptional
imagestring · uri · nullableOptional
themestring · enum · nullableOptionalPossible values:
backgroundstring[]Optional
activebooleanOptional
active_sincestring · date-timeOptional
active_untilstring · date-timeOptional
Responses
200
Schedule updated successfully
application/json
okbooleanOptionalExample:
true400
Bad request - invalid parameters or body
application/json
401
Unauthorized - authentication required
application/json
403
Forbidden - insufficient permissions
application/json
404
Not found - resource doesn't exist
application/json
500
Internal server error
application/json
patch/schedules/{schedule_id}
Last updated