Class Attachments


  • @Path("attachments")
    public class Attachments
    extends Collection
    • Constructor Detail

      • Attachments

        public Attachments()
    • Method Detail

      • createAttachment

        @POST
        @Path("")
        @Consumes("application/json")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response createAttachment​(org.gcube.social_networking.socialnetworking.model.shared.Attachment attachment)
      • readAttachment

        @GET
        @Path("/{id}")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response readAttachment​(@NotNull @PathParam("id")
                                                          @NotNull String id)
      • deleteAttachment

        @DELETE
        @Path("/{id}")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response deleteAttachment​(@NotNull @PathParam("id")
                                                            @NotNull String id)
      • updateAttachment

        @PUT
        @Path("/{id}")
        @Consumes("application/json")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response updateAttachment​(@NotNull @PathParam("id")
                                                            @NotNull String id,
                                                            @NotNull
                                                            @NotNull org.gcube.social_networking.socialnetworking.model.shared.Attachment attachment)