Refactor API specs
Add specs for PrivatePub