/schedulers/{id} [ POST ]

Modifies an existing micro service scheduler.

URL Parameters

Name Optional Valid values
id No Identifier of an existing scheduler

Body Parameters

Same as in create schedulers except of service_id. Once created, a scheduler may not be associated with another service.

Name Optional Valid values
start No Integer (search schedulers from a start position where last created scheduler is 0, the default)
limit No Integer (max schedulers to fetch in each call, default is 100)
filter Yes Filter may include the following parameters:
  • generic : string, free search pattern (checks in service name, description and properties)
  • time_qualifier : any of the following: [minutes, hours, days, weeks, months, years]
  • time_counter : integer, relates to the time_qualifier
  • from : date of the format YYYY-MM-DD (e.g. 2014-07-10)
  • to : date of the format YYYY-MM-DD (e.g. 2014-07-10)

Request Examples      

curl -k -u admin:admin -X POST -H "Content-Type: application/json" -d '{
    "name": "my new scheduler",
    "cron" : "* * * 5 *",
    "active": false
}' https://OPERETOHOST/schedulers/jmIRFJ5c0uy 



Response Example     

{"status": "success", "data": "jmIRFJ5c0uy"}