Interface StorageApi


  • @Path("/api")
    @Consumes("application/json")
    public interface StorageApi
    • 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()
      • fileInfo

        @Named("storage:file-info")
        @Path("/storage/{repoKey}/{itemPath}")
        @GET
        Artifact fileInfo​(@PathParam("repoKey")
                          String repoKey,
                          @PathParam("itemPath")
                          String itemPath)