public interface SearchService
| Modifier and Type | Method and Description |
|---|---|
List<SearchResult> |
idSearch(IdType idType,
String id) |
List<SearchResult> |
idSearch(IdType idType,
String id,
Integer page,
Integer limit) |
List<SearchResult> |
textSearch(String query,
SearchType type,
Integer year) |
List<SearchResult> |
textSearch(String query,
SearchType type,
Integer year,
Integer page,
Integer limit) |
@GET(value="/search") List<SearchResult> textSearch(@Query(value="query") String query, @Query(value="type") SearchType type, @Query(value="year") Integer year)
@GET(value="/search") List<SearchResult> textSearch(@Query(value="query") String query, @Query(value="type") SearchType type, @Query(value="year") Integer year, @Query(value="page") Integer page, @Query(value="limit") Integer limit)
@GET(value="/search") List<SearchResult> idSearch(@Query(value="id_type",encodeValue=false) IdType idType, @Query(value="id",encodeValue=false) String id)
Copyright © 2016-2017. All Rights Reserved.