replaced type specific endpoints
1. with apache conf
2. with type query param on resources