latestOpenAPI 3.1.02026-08-08264458.4 KB

5e35babfb8d2

files

Upload and stage a file for an in-progress dataset

Allows uploading a file to be staged for submission to the storage repository. The files will be stored in the storage repository after the dataset is submitted. The body of the request will be the file you are uploading. Set the Content-Type http header to the appropriate mimetype for your file when uploading.

put/datasets/{doi}/files/{filename}

Path parameters

doistring required

DOI like doi:10.1000/18238577 that should be URL encoded (example: <code>doi%3A10.1000%2F18238577</code>)

filenamestring required

The filename is the filename for the file. It should be escaped in the URL (for example 'cat tundra.jpg' would be 'cat%20tundra.jpg'. Your programming language will have a library to encode for you.

Response

File was created on the server.

pathstring
sizeinteger
mimeTypestring
statusstring
digeststring
digestTypestring
descriptionstring
urlstring