Stability patterns for REST services