rest build