Interface StorageApi
-
@Path("/api") @Consumes("application/json") public interface StorageApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandeleteItemProperties(String repoKey, String itemPath, List<String> properties)ArtifactfileInfo(String repoKey, String itemPath)FileListfileList(String repoKey, String itemPath, Integer deep, Integer depth, Integer listFolders, Integer includeRootPath)Map<String,List<String>>getItemProperties(String repoKey, String itemPath)booleansetItemProperties(String repoKey, String itemPath, Map<String,List<String>> properties)StorageInfostorageInfo()
-
-
-
Method Detail
-
setItemProperties
@Named("storage:set-item-properties") @Path("/storage/{repoKey}/{itemPath}") @PUT boolean setItemProperties(@PathParam("repoKey") String repoKey, @PathParam("itemPath") String itemPath, Map<String,List<String>> properties)
-
getItemProperties
@Named("storage:get-item-properties") @Path("/storage/{repoKey}/{itemPath}") @GET Map<String,List<String>> getItemProperties(@PathParam("repoKey") String repoKey, @PathParam("itemPath") String itemPath)
-
deleteItemProperties
@Named("storage:delete-item-properties") @Path("/storage/{repoKey}/{itemPath}") @DELETE boolean deleteItemProperties(@PathParam("repoKey") String repoKey, @PathParam("itemPath") String itemPath, List<String> properties)
-
storageInfo
@Named("storage:info") @Path("/storageinfo") @GET StorageInfo storageInfo()
-
fileList
@Named("storage:file-list") @Path("/storage/{repoKey}/{itemPath}") @GET FileList fileList(@PathParam("repoKey") String repoKey, @PathParam("itemPath") String itemPath, @Nullable @QueryParam("deep") Integer deep, @Nullable @QueryParam("depth") Integer depth, @Nullable @QueryParam("listFolders") Integer listFolders, @Nullable @QueryParam("includeRootPath") Integer includeRootPath)
-
-