change clock REST API to better follow REST recommendations