add api for upload-webapp