Going through the API list

Adrian Likins alikins at redhat.com
Fri Jun 4 14:42:41 UTC 2010


On 06/04/2010 09:28 AM, Justin Harris wrote:
> ----- "Bryan Kearney"<bkearney at 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




More information about the candlepin mailing list