launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #03271
Re: Launchpad's service WADL clarification
On Sun, 25 Apr 2010 19:13:57 +0530, Manish Sinha <mail@xxxxxxxxxxxxxxx> wrote:
> On 4/25/2010 6:25 PM, James Westby wrote:
> > No, it means that the method takes any/all of the union of the
> > parameters defined directly with param or as part of a
> > representation. Meaning in this case the method signature would be
> >
> > methodname(foo, bar, baz)
> >
>
> From WADL submission
>
> 1. Zero or more |representation| elements - see section 2.11
> <http://www.w3.org/Submission/wadl/#x3-210002.11>. Note that use
> of |representation| elements is confined to HTTP methods that
> accept an entity body in the request (e.g., PUT or POST). Sibling
> |representation| elements represent logically equivalent
> alternatives, e.g., a particular resource might support multiple
> XML grammars for a particular request.
>
Ok, so it seems you have a grasp on what is legal in the WADL and not
now? Taking in to account that rule and the previous discussion would
suggest a complete description of what is allowed by the spec.
Thanks,
James
Follow ups
References