add peer.status documentation and split the two APIs