'operation':fields.String(description='Currently commit is the only operation.'),
upload_command_model=api.model('UploadCommand',{
'command':fields.String(description='Currently commit is the only command.'),
'metadata':fields.Nested(model=upload_metadata_model,description='Additional upload and calculation meta data. Will replace previously given metadata.')
})
...
...
@@ -313,13 +313,13 @@ class UploadResource(Resource):
@api.doc('exec_upload_command')
@api.response(404,'Upload does not exist or not in staging')
@api.response(400,'Operation is not supported or the upload is still/already processed')
@api.response(401,'If the operation is not allowed for the current user')
@api.response(401,'If the command is not allowed for the current user')