On Mar 5, 2011, at 1:33 AM, David Lutterkort wrote:

> On Fri, 2011-03-04 at 11:47 +0100, Michal Fojtik wrote:
>> What about 'optional' parameters? So we will advertise them somewhere 
>> (except docs) ?
> 
> I don't think it will help clients at all - if we advertise that
> create_image takes an optional 'name' param, what will clients do with
> this ? If they want to take advantage of it, they need to know that
> there is a 'name' param ahead of time, and have a way to populate it
> (e.g., by asking a user)

Yeah, you're completely right. I just realized that for this case we have
OPTIONS /instances/create call, where client can see all parameters for this
action. So advertising them in XML is completely redundant.

  -- Michal

Michal Fojtik
Software Engineer, Deltacloud API project
http://www.deltacloud.org
[email protected]


Reply via email to