cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atsushi Sasaki <sasa.a...@gmail.com>
Subject details parameter of registerTemplate API
Date Wed, 11 Feb 2015 23:50:22 GMT
Hi,

I used details parameter of registerTemplate API to set keyboard=jp.

I use following format to pass argument as CLOUDSTACK-4719 says.

details[0].keyboard=jp

https://issues.apache.org/jira/browse/CLOUDSTACK-4719

Most of API parameters that accept map type seems to accept like following
format, although details of registerTemplate can't accept it as expected

detais[0].key=keyboard&details[0].value=jp

Why details parameter of registerTemplate uses different format from most
of the other parameters?

It is hard to use API and make library correctly because we can't check
which format is used in advance.
If possible, I want to use same format in all case.

Atsushi Sasaki

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message