Class DarkFeatureSiteResource
java.lang.Object
com.atlassian.confluence.darkfeatures.rest.DarkFeatureSiteResource
@Path("/site")
@Consumes("application/json")
@Produces("application/json")
public class DarkFeatureSiteResource
extends Object
A REST resource that will enable, disable and report the status of a site/system wide dark feature
in Confluence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
disableFeatures
(String featureKeys) javax.ws.rs.core.Response
enableFeatures
(String featureKeys) Deprecated.since 5.6.javax.ws.rs.core.Response
enableFeatures
(String[] featureKeys) javax.ws.rs.core.Response
getFeature
(String featureKey)
-
Constructor Details
-
DarkFeatureSiteResource
-
-
Method Details
-
enableFeatures
@POST public javax.ws.rs.core.Response enableFeatures(String[] featureKeys) throws UnknownFeatureException - Throws:
UnknownFeatureException
-
enableFeatures
@Deprecated @PUT @Path("/{featureKeys}") public javax.ws.rs.core.Response enableFeatures(@PathParam("featureKeys") String featureKeys) throws UnknownFeatureException Deprecated.since 5.6. Use the POST.- Throws:
UnknownFeatureException
-
disableFeatures
@DELETE @Path("/{featureKeys}") public javax.ws.rs.core.Response disableFeatures(@PathParam("featureKeys") String featureKeys) throws UnknownFeatureException - Throws:
UnknownFeatureException
-
getFeature
@GET @Path("/{featureKey}") public javax.ws.rs.core.Response getFeature(@PathParam("featureKey") String featureKey)
-