← Back to team overview

launchpad-dev team mailing list archive

Re: Launchpad's service WADL clarification

 

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.





Follow ups

References