upload docAPI