rest command