You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Atsushi Sasaki <at...@gmail.com> on 2015/02/11 07:18:43 UTC
details parameter of registerTemplate API
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
Re: details parameter of registerTemplate API
Posted by Atsushi Sasaki <sa...@gmail.com>.
Hi, Ilya
I will post this question Dev CloudStack Mailing List.
Thanks
On Thu, Feb 12, 2015 at 5:36 AM, ilya musayev <il...@gmail.com>
wrote:
> Atsushi
>
> Please post this question in Dev CloudStack Mailing List - if you haven't
> already done so.
>
> Regards
> ilya
>
>
> On 2/10/15 10:18 PM, Atsushi Sasaki wrote:
>
>> 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
>>
>>
>
Re: details parameter of registerTemplate API
Posted by ilya musayev <il...@gmail.com>.
Atsushi
Please post this question in Dev CloudStack Mailing List - if you haven't already done so.
Regards
ilya
On 2/10/15 10:18 PM, Atsushi Sasaki wrote:
> 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
>