Hi,

In what format POST the policy throught  /bitstreams/{bitstream 
id}/policy/????

I'm trying to post by json but I don't result.

thanks

El miércoles, 31 de mayo de 2017, 15:19:41 (UTC+2), Sebastijan Elbl 
escribió:
>
> By using: 
>
>  
>
> REST API method GET /bitstreams/{bitstream id}/policy,
>
> I get the following error: HTTP Status 500 - Internal Server Error.
>
>  
>
> The methods POST /bitstreams/{bitstream id}/policy work fine
>
> and in DSpace I can see the policy, which was added to the bitstream. 
>
> When I check, if the bitstream really has a policy, by using the methods 
> GET /bitstreams/{bitstream id}, 
>
> the attribute policies is null.
>
>  
>
> I have tried the fix  for DS-3397 : 
>
> https://github.com/DSpace/DSpace/pull/1729
>
> but I still have the same problem.
>
>  
>
> If someone has a solution to my problem, please help.
>

-- 
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 https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to