Class ThemeResource

java.lang.Object
com.atlassian.confluence.functest.rest.admin.ThemeResource

@Consumes("application/json") @Produces("application/json") @Path("/admin/theme") public class ThemeResource extends Object
Gets and sets global and space themes. Called by ThemeRpc.
  • Constructor Details

    • ThemeResource

      @Inject public ThemeResource(ThemeManager themeManager)
  • Method Details

    • getGlobalTheme

      @GET public String getGlobalTheme()
    • setGlobalTheme

      @PUT public void setGlobalTheme(String themeKey)
    • getSpaceTheme

      @GET @Path("/space/{spaceKey}") public String getSpaceTheme(@PathParam("spaceKey") String spaceKey)
    • setSpaceTheme

      @PUT @Path("/space/{spaceKey}") public void setSpaceTheme(@PathParam("spaceKey") String spaceKey, String themeKey)