add api call to set/unset repo public