Class Vres
- java.lang.Object
-
- org.gcube.social_networking.rest.collections.Collection
-
- org.gcube.social_networking.rest.collections.Vres
-
@Path("vres") public class Vres extends Collection
-
-
Constructor Summary
Constructors Constructor Description Vres()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsedeleteHashTags(@NotNull String id, @NotNull String postid, @NotNull List<org.gcube.social_networking.socialnetworking.model.shared.Hashtag> hashtags)jakarta.ws.rs.core.ResponsedeleteHashTagsComment(@NotNull String id, @NotNull String commentid, @NotNull List<org.gcube.social_networking.socialnetworking.model.shared.Hashtag> hashtags)jakarta.ws.rs.core.ResponsegetAllVreIds()jakarta.ws.rs.core.ResponsegetInvitedEmailsByVRE(@NotNull String id, @NotNull org.gcube.social_networking.socialnetworking.model.shared.InviteStatus... status)jakarta.ws.rs.core.ResponsegetRecentPostsByVre(@NotNull String id, Integer limit)jakarta.ws.rs.core.ResponsegetVREHashtagsWithOccurrenceFilteredByTime(@NotNull String id, Long timestamp)jakarta.ws.rs.core.ResponsegetVREPostsByHashtag(@NotNull String id, @NotNull String hashtag)jakarta.ws.rs.core.ResponseisExistingInvite(@NotNull String id, @NotNull String email)jakarta.ws.rs.core.ResponsesaveHashTags(@NotNull String id, @NotNull String postid, @NotNull List<org.gcube.social_networking.socialnetworking.model.shared.Hashtag> hashtags)jakarta.ws.rs.core.ResponsesaveHashTagsComment(@NotNull String id, @NotNull String commentid, @NotNull List<org.gcube.social_networking.socialnetworking.model.shared.Hashtag> hashtags)jakarta.ws.rs.core.ResponsesavePostToVRETimeline(@NotNull String id, @NotNull org.gcube.social_networking.socialnetworking.model.shared.Post post)jakarta.ws.rs.core.ResponsesetInviteStatus(@NotNull String id, @NotNull String email, @NotNull org.gcube.social_networking.socialnetworking.model.shared.InviteStatus inviteStatus)-
Methods inherited from class org.gcube.social_networking.rest.collections.Collection
BatchCreateChildOfWithParameter, BatchDeleteChildOfWithParameter, BatchUpdateChildOf, check, checkChildOf, create, createChildOf, delete, deleteChildOf, deleteChildOfWithParameter, deleteWithParameter, read, readAll, readChildOf, readChildOfWithParameter, readWithParameter, update, updateChildOf, updateChildOfWithParameter, updateWithParameter
-
-
-
-
Method Detail
-
getAllVreIds
@GET @Path("/") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response getAllVreIds()
-
getRecentPostsByVre
@GET @Path("/{id}/posts") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response getRecentPostsByVre(@NotNull @PathParam("id") @NotNull String id, @QueryParam("limit") Integer limit)
-
savePostToVRETimeline
@POST @Path("/{id}/posts") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) @Consumes({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response savePostToVRETimeline(@NotNull @PathParam("id") @NotNull String id, @NotNull @NotNull org.gcube.social_networking.socialnetworking.model.shared.Post post)
-
getVREHashtagsWithOccurrenceFilteredByTime
@GET @Path("/{id}/hashtags") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response getVREHashtagsWithOccurrenceFilteredByTime(@NotNull @PathParam("id") @NotNull String id, @QueryParam("time") Long timestamp)
-
getVREPostsByHashtag
@GET @Path("/{id}/hashtags/{hashtag}/posts") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response getVREPostsByHashtag(@NotNull @PathParam("id") @NotNull String id, @NotNull @PathParam("hashtag") @NotNull String hashtag)
-
getInvitedEmailsByVRE
@GET @Path("/{id}/invites/") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) @Consumes({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response getInvitedEmailsByVRE(@NotNull @PathParam("id") @NotNull String id, @NotNull @NotNull org.gcube.social_networking.socialnetworking.model.shared.InviteStatus... status)
-
isExistingInvite
@GET @Path("/{id}/invites/{email}") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response isExistingInvite(@NotNull @PathParam("id") @NotNull String id, @NotNull @PathParam("email") @NotNull String email)
-
setInviteStatus
@PUT @Path("/{id}/invites/{email}") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) @Consumes({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response setInviteStatus(@NotNull @PathParam("id") @NotNull String id, @NotNull @PathParam("email") @NotNull String email, @NotNull @NotNull org.gcube.social_networking.socialnetworking.model.shared.InviteStatus inviteStatus)
-
saveHashTags
@POST @Path("/{id}/posts/{postid}/hashtags") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) @Consumes({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response saveHashTags(@NotNull @PathParam("id") @NotNull String id, @NotNull @PathParam("postid") @NotNull String postid, @NotNull @NotNull List<org.gcube.social_networking.socialnetworking.model.shared.Hashtag> hashtags)
-
deleteHashTags
@DELETE @Path("/{id}/posts/{postid}/hashtags") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) @Consumes({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response deleteHashTags(@NotNull @PathParam("id") @NotNull String id, @NotNull @PathParam("postid") @NotNull String postid, @NotNull @NotNull List<org.gcube.social_networking.socialnetworking.model.shared.Hashtag> hashtags)
-
saveHashTagsComment
@POST @Path("/{id}/comments/{commentid}/hashtags") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) @Consumes({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response saveHashTagsComment(@NotNull @PathParam("id") @NotNull String id, @NotNull @PathParam("commentid") @NotNull String commentid, @NotNull @NotNull List<org.gcube.social_networking.socialnetworking.model.shared.Hashtag> hashtags)
-
deleteHashTagsComment
@DELETE @Path("/{id}/comments/{commentid}/hashtags") @Produces({"application/json;charset=UTF-8","application/vnd.api+json"}) @Consumes({"application/json;charset=UTF-8","application/vnd.api+json"}) public jakarta.ws.rs.core.Response deleteHashTagsComment(@NotNull @PathParam("id") @NotNull String id, @NotNull @PathParam("commentid") @NotNull String commentid, @NotNull @NotNull List<org.gcube.social_networking.socialnetworking.model.shared.Hashtag> hashtags)
-
-