Jelle_Timmer
Basic Pleskian
Hi all,
While trying to automate some Plesk-actions I ran into some deprecated functions in the old XML api.
When i tried to get come information about, and from, the new Rest api, i ran into some issues. The most irritating is the fact that some actions in the api don't seem to be implemented while the playground (logged in as root) and Swagger say otherwise.
I tried to get some information about the commands in the CLI-endpoint, but when i try /cli/{command}/ref, i always get
501 - Error: Not Implemented
When requesting command-references i would expect this:
200 - OK
This is not the expected response when requesting references for an existing command (retrieved by /cli/commands).
Am i doing something wrong or is there an error in the api itself?
System-info:
CentOS 7.6.1810
Plesk Onyx 17.8.11#66 Web Pro
While trying to automate some Plesk-actions I ran into some deprecated functions in the old XML api.
When i tried to get come information about, and from, the new Rest api, i ran into some issues. The most irritating is the fact that some actions in the api don't seem to be implemented while the playground (logged in as root) and Swagger say otherwise.
I tried to get some information about the commands in the CLI-endpoint, but when i try /cli/{command}/ref, i always get
501 - Error: Not Implemented
Code:
{
"code": 0,
"message": "Since 17.9.5"
}
When requesting command-references i would expect this:
200 - OK
Code:
{
"allowed_commands": {},
"allowed_options": {}
}
This is not the expected response when requesting references for an existing command (retrieved by /cli/commands).
Am i doing something wrong or is there an error in the api itself?
System-info:
CentOS 7.6.1810
Plesk Onyx 17.8.11#66 Web Pro
Last edited: