On Aug 22, 2013, at 7:57 AM, Harikrishna Patnala 
<harikrishna.patn...@citrix.com> wrote:

> We generate docs based on the response object. Since we use the same response 
> object for create/register ssh key pair APIs, doc shows same return values.
> We follow this for all API responses. Say list virtual machine API response 
> does not include all the fields that are in api doc.
> 

I understand, but that's a case where it's misleading. Maybe the response 
objects should not be the same after all.

> -Harikrishna
> 
> On 22-Aug-2013, at 4:34 PM, Sebastien Goasguen <run...@gmail.com> wrote:
> 
>> it's not returned at all..
>> 
>> so even if it's stored as null in the db, the apidoc should not say it 
>> returns 'privatkey'
>> 
>> thoughts ?
>> 
>> On Aug 22, 2013, at 5:31 AM, Wei ZHOU <ustcweiz...@gmail.com> wrote:
>> 
>>> *privatekey is set to null if registerSSHKeyPair
>>> *
>>> 
>>> 
>>> 2013/8/22 Sebastien Goasguen <run...@gmail.com>
>>> 
>>>> Hi folks,
>>>> 
>>>> I am troubled by:
>>>> 
>>>> http://cloudstack.apache.org/docs/api/apidocs-4.1/user/registerSSHKeyPair.html
>>>> 
>>>> It says that it returns the private key . This can't be right.
>>>> 
>>>> I tried it with cloudmonkey and it does not return the private key (does
>>>> not know it..)
>>>> 
>>>> Unless I am missing something with what this api is supposed to do, I will
>>>> file an apidoc bug.
>>>> 
>>>> -Sebastien
>> 
> 

Reply via email to