Never mind, I see you can:

   - POST /bitstreams/{bitstream id}/policy - Add policy to item. You must
   post a ResourcePolicy


On Mon, Dec 7, 2015 at 1:49 PM, Jose Blanco <[email protected]> wrote:

> Thanks Tim, this is very helpful.  I can't tell from the doc if the REST
> API allows you to change access rights for bitstreams. Does it?
>
> Thank you!
> Jose
>
> On Mon, Dec 7, 2015 at 12:18 PM, Tim Donohue <[email protected]>
> wrote:
>
>> Hi Jose,
>>
>> SWORD v1.3 is only able to send content to a repository, and does not
>> have any update capabilities
>>
>> However, SWORD v2 (which DSpace also supports) does have update
>> capabilities. You might want to investigate instead using the DSpace
>> SWORDv2 interface for these purposes. However, SWORDv2 won't be able to
>> update access rights, as it's a generic protocol that isn't DSpace specific
>>
>> More on SWORDv2 at:
>> http://swordapp.org/sword-v2/
>>
>> Specifically see:
>> * Specification: http://swordapp.org/sword-v2/sword-v2-specifications/
>> * Presentations: http://swordapp.org/sword-v2/sword-v2-presentations/
>> * Implementations / Tools:
>> http://swordapp.org/sword-v2/sword-v2-implementations/
>>
>> If you are planning on doing a lot of remote item manipulation, you also
>> may wish to look at what is offered by the DSpace REST API. As of DSpace 5,
>> it's now a read/write API...it doesn't allow editing of *all* settings in
>> DSpace quite yet, but it does allow for basic editing/changes to Items,
>> Collections, Communities.
>> https://wiki.duraspace.org/display/DSDOC5x/REST+API
>>
>> Good luck. If you have more specific questions, feel free to ask them on
>> this list, and hopefully we can help.
>>
>> - Tim
>>
>>
>> On 12/4/2015 10:25 AM, Jose Blanco wrote:
>>
>> I have DSpace 4.2 running SWORD v1.3 and I have a few questions:
>>
>> Can Sword be used to update an item's metadata and bitstreams? For
>> example, add bitstreams to an already existing item, or update the
>> description of an existing bitstream.  And for the item metadata, we may
>> want to delete, add, or update a metadata field for an existing item.
>>
>> I also don't know if you can indicate or change access limitations when
>> using sword - say this bitstream is limited to this group. And can sword
>> update access - say this bitstream that was restricted to this group is now
>> restricted to this other group.
>>
>> If these things are possible, is there documentation on it?
>>
>> Thank you!
>> Jose
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> Tim Donohue
>> Technical Lead for DSpace & DSpaceDirect
>> DuraSpace.org | DSpace.org | DSpaceDirect.org
>>
>>
>> <https://www.avast.com/?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>  This
>> email has been sent from a virus-free computer protected by Avast.
>> www.avast.com
>> <https://www.avast.com/?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to