add public/api to cap shared dir