Setting Item to private using REST or Database updates

15 views
Skip to first unread message

Christoph Weber

unread,
Dec 18, 2019, 6:45:56 AM12/18/19
to DSpace Technical Support
Hello DSpace Community,

I upload items to DSpace using a self-written production tool for our publications which compiles TeX files and uploads the pdf to DSpace using the REST API.

These publications should be private at first until the TeX file authors have approved the publication.
This works perfectly by making the item "private" using the webinterface.

But I need to integrate this functionality to our production tool.

Is this possible with the REST API? I haven't found anything in the REST API docs.

Alternatively, I could modify some flags directly in the postgresql database.

I've found out that the "discoverable" flag changes when making an item privat, but the item does not become private when setting the flag manually. 
Are there some other flags I need to set or do I need to trigger some function to hide the item in the collection?

Best regards,
Christoph
Reply all
Reply to author
Forward
0 new messages