v2

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

Update a prescaling Event by name

Update a prescaling Event by name

put/api/v1/events/{name}

Path parameters

namestring required

event-name-1

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"
}