rest spec