File upload API documented