Interface SearchApi
-
@Path("/api/search") @Consumes("application/json") public interface SearchApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AQLResultaql(String query)List<SearchResult>buildArtifacts(SearchBuildArtifacts searchBuildArtifacts)List<SearchResult>gavcSearch(String groupId, String artifactId, String version, String classifier, List<String> repos)StringlatestVersionWithLayout(String groupId, String artifactId, String version, String remote, List<String> repos)List<SearchResult>notDownloadedSince(long notUsedSince_ISO8601, Long createdBefore_ISO8601, List<String> repos)List<SearchResult>propertySearch(Map<String,List<String>> properties, List<String> repos)
-
-
-
Method Detail
-
buildArtifacts
@Named("search:error-artifacts") @Path("/buildArtifacts") @Produces("application/json") @POST List<SearchResult> buildArtifacts(SearchBuildArtifacts searchBuildArtifacts)
-
gavcSearch
@Named("search:gavc-search") @Path("/gavc") @Produces("application/json") @GET List<SearchResult> gavcSearch(@Nullable @QueryParam("g") String groupId, @Nullable @QueryParam("a") String artifactId, @Nullable @QueryParam("v") String version, @Nullable @QueryParam("c") String classifier, @Nullable List<String> repos)
-
latestVersionWithLayout
@Named("search:latest-version-with-layout") @Path("/latestVersion") @Consumes("text/plain") @GET String latestVersionWithLayout(@Nullable @QueryParam("g") String groupId, @Nullable @QueryParam("a") String artifactId, @Nullable @QueryParam("v") String version, @Nullable @QueryParam("remote") String remote, @Nullable List<String> repos)
-
propertySearch
@Named("search:property-search") @Path("/prop") @Produces("application/json") @GET List<SearchResult> propertySearch(Map<String,List<String>> properties, @Nullable List<String> repos)
-
-