Refact Api

- /resource 
- /resource?type=monograph
- integration test coverage 40%