I am trying to update metadata of bitstreams using REST API but seems like it does not accept/update metadata for format or mimeType, even though it updates the description field. I am posting a JSON-LD file, for which DSpace does not auto detect those two fields leaving the format as "unknown" and mimeType as "application/octet-stream". Below is a sample curl command-
curl -X PUT -H "Content-type:application/json" -H "rest-dspace-token: received token" -d '{"id":12345,"name":"test.jsonld","handle":null,"type":"bitstream","link":"/rest/bitstreams/12345","expand":["parent","policies","all"],"bundleName":"ORIGINAL","description":"OAI:ORE ReM","format":"JSON-LD","mimeType":"application/ld+json","sizeBytes":5790,"parentObject":null,"retrieveLink":"/bitstreams/12345/retrieve","checkSum":{"value":"2eac981bb98faf04b4bc77ec1e9eccc4","checkSumAlgorithm":"MD5"},"sequenceId":-1,"policies":null}' https://testsite.edu/rest/bitstreams/12345 Are these fields restricted? Any suggestions would be much appreciated. Thank you in advance. -- 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 dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at http://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.