Interface SwaggerFrontEndFeatureResource


@Path("front-end-features") @Consumes("application/json") @Produces("application/vnd.ilandcloud.api.v1.0+json") public interface SwaggerFrontEndFeatureResource
  • Method Details

    • getSessionFeatures

      @GET @Path("session") FeatureList getSessionFeatures()
      Queries for the list of frontend features available to the currently authenticated user.
      Returns:
      the list of features
    • getFeatures

      @GET FeatureList getFeatures()
      Queries for the list of all frontend features.
      Returns:
      the list of features
    • addFeature

      @POST void addFeature(FeatureRequest featureRequest)
      Adds a new frontend feature. Requires system admin access.
      Parameters:
      featureRequest - the payload containing the feature to add
    • getUsersForFeature

      @GET @Path("{featureUuid}/users") List<String> getUsersForFeature(@PathParam("featureUuid") String featureUuid)
      Queries users for which a provided frontend feature is active. An empty list means the feature is active for all users. Requires system admin access.
      Parameters:
      featureUuid - the UUID of the feature to get users for
      Returns:
      the list of users or empty list for global features
    • updateFeature

      @PUT @Path("{featureUuid}") void updateFeature(@PathParam("featureUuid") String featureUuid, FeatureRequest featureRequest)
      Updates an existing frontend feature. Requires system admin access.
      Parameters:
      featureUuid - the UUID of the feature to update
      featureRequest - the payload containing the feature to update
    • deleteFeature

      @DELETE @Path("{featureUuid}") void deleteFeature(@PathParam("featureUuid") String featureUuid)
      Deletes an existing frontend feature. Requires system admin access.
      Parameters:
      featureUuid - the UUID of the feature to delete