adding rest docs