api document renew