Hi,

There does seem to be a difference in the API command definition and the actual 
response generated. You may either raise an issue at 
https://github.com/apache/cloudstack/issues or could also contribute towards a 
fix. The issue seems to be at:

https://github.com/apache/cloudstack/blob/main/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/heuristics/RemoveSecondaryStorageSelectorCmd.java#L30
vs
https://github.com/apache/cloudstack/blob/main/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/heuristics/RemoveSecondaryStorageSelectorCmd.java#L43


Thanks,
Pearl

 


________________________________
From: Ahmed Awlaqi <ahmed.awl...@sue.nl.INVALID>
Sent: June 13, 2024 8:04 AM
To: dev@cloudstack.apache.org <dev@cloudstack.apache.org>
Subject: Endpoint response is different than the docs

Hi,

I faced a problem where the endpoint response is different from what is
written in the docs the endpoint is `removeSecondaryStorageSelector` in
here
https://cloudstack.apache.org/api/apidocs-4.19/apis/removeSecondaryStorageSelector.html
we see the response tags but actually non of them are actually returned and
I get `{"success":true}`.

--
 <https://www.multistax.com>

--
The information in this message is confidential, and only intended for the
addressee(s). If you are not the person to whom this message is addressed,
you are hereby notified that any disclosure, reproduction, distribution or
use of this message is strictly prohibited. If you received this in error,
please inform the sender and delete the message without copying or opening
it.

Reply via email to