rest ws