Issue Creating CRON via REST not showing in Plesk UI

stehos

New Pleskian
Server operating system version
Ubuntu (not sure)
Plesk version and microupdate number
18.0.60
Hello, we are managing crons via REST and since the cron is created or updated successfully, it is not shown on the overview cronjob page in the Plesk UI. But at the same time it is possible to open and manage the cronjob via specific URL and ID of cronjob like: /smb/scheduler/edit-task/id/55 (And then when I click Save or Apply, it is magically showed in the overview page.

I tried to add hidden attribute but I got the following error:

PHP:
      object(PleskX\Api\XmlResponse)#5111 (1) {
        ["error"]=>
        object(PleskX\Api\XmlResponse)#5112 (4) {
          ["code"]=>
          string(4) "2002"
          ["slug"]=>
          string(23) "schema_validation_error"
          ["message"]=>
          string(72) "Validation of the ScheduledTasks schema failed for the create operation."
          ["attributes"]=>
          object(PleskX\Api\XmlResponse)#5119 (1) {
            ["hidden"]=>
            string(31) ""hidden" is no valid attribute!"

Can you help me?

Also, is there a way how can I see all available parameters for specific commands? We do not have swagger installed. I can use only postman.

Thank you.
 
Back
Top