update rest spec to be consistent with recent changes

see issue #4071