Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion submissionuploads.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Provide detailed information about a specific input-form. The JSON response docu
{
"id": "default",
"required": true,
"max-size": 536870912,
"maxSize": 536870912,
"accessConditionOptions": [
{
"name": "openaccess"
Expand Down Expand Up @@ -50,6 +50,8 @@ The attributes of the objects in the accessConditionOptions arrays are as follow

A null value for the accessConditionOptions attribute means that the upload step doesn't allow the user to set a policy for the file. The file will get only the policies inherited from the collection.

The *maxSize* attribute is the largest file, in bytes, that this upload step accepts: the `maxSize` configured for the upload configuration (or `upload.max`), capped by the REST server's multipart limit (`spring.servlet.multipart.max-file-size`). It is absent when no limit applies. Clients should check a file against it before sending any data; the backend also rejects a larger file with the section error `error.validation.filesize`.

Exposed links:
* metadata: it is a link to the submission-form to use for the files metadata

Expand Down