Class RemoteLinkConversationResource

java.lang.Object
com.atlassian.greenhopper.web.AbstractResource
com.atlassian.greenhopper.web.remote.RemoteLinkConversationResource

@Path("remoteLinkConversation") public class RemoteLinkConversationResource extends AbstractResource
Remote create link creation resource for our internal use only.
  • Constructor Details

  • Method Details

    • getNewConversationToken

      @GET @Produces("text/plain") public jakarta.ws.rs.core.Response getNewConversationToken()
      Starts a conversation and return the token associated with it.
      Returns:
      the response with the token in plain text
    • listConversationsStatuses

      @GET @Produces("application/json") @Path("statuses") public jakarta.ws.rs.core.Response listConversationsStatuses(@QueryParam("token") List<String> tokens)
      Tries the return a list of RemoteLinkConversationResource.TokenStatus matching the given conversation tokens.

      If a given token does not match any existing conversation it is silently ignored.

      Parameters:
      tokens - the list of tokens to look for
      Returns:
      the reponse with a JSON list of RemoteLinkConversationResource.TokenStatus as payload