From 42cfe8e600ecb7f75c746f0b4aac100d6cefae3e Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Fri, 31 Mar 2023 15:56:40 +0200 Subject: [PATCH] Only updated the DOC --- .../geoportal/service/rest/ProfiledDocuments.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/ProfiledDocuments.java b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/ProfiledDocuments.java index fa3dfc3..acaa286 100644 --- a/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/ProfiledDocuments.java +++ b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/ProfiledDocuments.java @@ -124,6 +124,20 @@ public class ProfiledDocuments { }.execute().getResult(); } + + /** + * Delete file set. + * the Authorization must be a VRE token + * + * @param id the id + * @param force the force + * @param path the path must be passed as text in the body + * @return the project + */ + @RequestHeaders({ + @RequestHeader( name = "Authorization", description = "VRE Bearer token, see https://dev.d4science.org/how-to-access-resources"), + @RequestHeader( name = "Content-Type", description = "application/json") + }) @POST @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)