Min Chen created CLOUDSTACK-3685:
------------------------------------
Summary: APIServer should have a better way for user to pass
Map-like parameter
Key: CLOUDSTACK-3685
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3685
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API
Affects Versions: pre-4.0.0
Reporter: Min Chen
Fix For: Future
Currently to pass a Map parameter to api command, we have to pass it like this:
details[0].key=key1_name&details[0].value=key1_value&details[1].key=key2_name&details[1].value=key2_value...
Furthermore, ".key" and ".value" are not in our convention at all, so api
writer can choose different modifier. This input is very hard to read. We need
to have a better way to input Map-like parameter, either json or simple
key=value structure.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira