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-progresstrue if not final; false when final request.

Status Codes