Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9339736
update-media.rst
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
992 B
Subscribers
None
update-media.rst
View Options
Update content
^^^^^^^^^^^^^^^
..
http:post
::
/1/(str:collection-name)/(int:deposit-id)/media/
Add archive(s) to a deposit. Only possible if the deposit's status
is partial.
..
http: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)
:reqheader Authorization:
Basic authentication token
:reqheader Content-Type:
accepted mimetype
:reqheader Content-Length:
tarball size
:reqheader Content-MD5:
md5 checksum hex encoded of the tarball
:reqheader Content-Disposition:
attachment; filename=[filename] ; the filename
parameter must be text (ascii)
:reqheader In-progress:
`true`
if not final;
`false`
when final request.
:statuscode 204:
success without payload on PUT
:statuscode 201:
success for deposit on POST
:statuscode 401:
Unauthorized
:statuscode 415:
unsupported media type
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 4 2025, 9:52 AM (5 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3448346
Attached To
rDDEP Push deposit
Event Timeline
Log In to Comment