Ansible-with-OnCommand-API-Services
Ansible-with-OnCommand-API-Services copied to clipboard
SnapshotPolicyModule post() and put() submits parameters as JSON payload when the API requires them to be query strings
The API-S specification requires parameters count, prefix, job_schedule_key and snap_mirror_label to be submitted as query strings for POST & PUT (see swagger doc) - not within the payload as the SnapshotPolicyModule currently does. This causes the API to fail with HTTP 500.
This may be the case for other modules as well, I haven't checked yet.