On 06/04/2010 09:28 AM, Justin Harris wrote:
----- "Bryan Kearney"<bkearney(a)redhat.com> wrote:
> * POST /products/{product_uuid}/content/{content_id}
>
> Should this be a put, or shouldd it be POST
> /products/{product_uuid}/contents
>
I think the restafarian way to go about this is have some entity that represents the
relationship
between a product and a content set, and post to that collection (so the ids would not be
in the URL).
I have no idea what this would be called.
That might come as part of the Content changes. There will be a
PackageContent model, so
we can expose a resource for that, and POST to it.
Adrian