Right, to clarify: there's no way to do it without posting FOXML.  The
use case here is just sending a POST to /objects/new.
The default values I mentioned were just a way to ensure that the
introduction of some hypothetical parameters indicating control group
would be backwards-compatible.

On Fri, Jun 22, 2012 at 9:04 AM, Chris Wilper <cwil...@duraspace.org> wrote:
> Hi Ben,
>
> Re: "no way to create an object with managed DC or RELS-EXT", are you
> saying it can't be done in a single request, or that it just can't be
> done at all? What happens if you base64-encode the content of the
> datastreams inside the foxml?
>
> Also, I'm not immediately grokking how default value annotations would
> contribute to a solution...can you connect the dots a bit more?
>
> Thanks,
> Chris
>
> On Tue, Jun 12, 2012 at 2:01 PM, Benjamin Armintor <armin...@gmail.com> wrote:
>> On this week's Hydra committer call, we hit upon a shortcoming of the
>> REST interface: There's no way to create an object with managed DC or
>> RELS-EXT datastreams through it.  It would be really trivial to add
>> such a feature: JAX-RS supports default value annotations for query
>> parms, so it can be invisible to clients, so it's really just making
>> the FOXML template in the objects resource a little bit more flexible.
>>  Thoughts?
>>
>> - Ben
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Fedora-commons-developers mailing list
>> Fedora-commons-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Fedora-commons-developers mailing list
> Fedora-commons-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-developers mailing list
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to