Class WikiItemRest

java.lang.Object
fr.paris.lutece.plugins.wiki.rs.WikiItemRest

@ApplicationScoped @Path("wiki/item") public class WikiItemRest extends Object
  • Constructor Details

    • WikiItemRest

      public WikiItemRest()
  • Method Details

    • getItemByCode

      @GET @Path("/{code}") @Produces("application/json") public jakarta.ws.rs.core.Response getItemByCode(@PathParam("code") String strCode)
    • searchDestinations

      @GET @Path("/destinations/{code}") @Produces("application/json") public jakarta.ws.rs.core.Response searchDestinations(@PathParam("code") String strCode, @QueryParam("search") String strSearch, @QueryParam("limit") Integer nLimit)
      Search for valid move destinations for an item
      Parameters:
      strCode - the code of the item to move
      strSearch - the search term (optional)
      nLimit - the maximum number of results (default 20)
      Returns:
      list of destination options