adding documentation to lifecycleViaRest