v2

Swagger 2.0raw.githubusercontent.com2022-07-13005.1 KB
prescalingevent

Create a prescaling Event

Create a prescaling Event

post/api/v1/events/

Request body

datestring
descriptionstring
end_timestring
multiplierinteger
namestring
start_timestring

Example request

{
  "date": "2022-05-25",
  "description": "a good description",
  "end_time": "23:59:59",
  "multiplier": 2,
  "name": "prescaling-event-1",
  "start_time": "20:00:00"
}

Response

OK

datestring
descriptionstring
end_timestring
multiplierinteger
namestring
start_timestring

Example response

{
  "date": "2022-05-25",
  "description": "a good description",
  "end_time": "23:59:59",
  "multiplier": 2,
  "start_time": "20:00:00"
}