contents search api (pyramid)