Update content#
- POST /1/(str:collection-name)/(int:deposit-id)/media/#
- Add archive(s) to a deposit. Only possible if the deposit’s status is partial. 
- PUT /1/(str:collection-name)/(int:deposit-id)/media/#
- Replace all content by submitting a new archive. Only possible if the deposit’s status is partial. - Also known as: update iri (EM-IRI) - Request Headers:
- Authorization – Basic authentication token 
- Content-Type – accepted mimetype 
- Content-Length – tarball size 
- Content-MD5 – md5 checksum hex encoded of the tarball 
- Content-Disposition – attachment; filename=[filename] ; the filename parameter must be text (ascii) 
- In-progress – - trueif not final;- falsewhen final request.
 
- Status Codes:
- 204 No Content – success without payload on PUT 
- 201 Created – success for deposit on POST 
- 401 Unauthorized – Unauthorized 
- 415 Unsupported Media Type – unsupported media type