New REST-based samples for the Search API