Interface ManageConfigurationApi
-
- All Known Implementing Classes:
GlobalRestService,SwingAppRestService
@Path("/") public interface ManageConfigurationApiWebswing REST APIThe public REST API provided by Webswing Server
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetaObjectgetConfig()Get ConfigMetaObjectgetMeta(Map<String,Object> requestBody)Describe ConfigurationStringresolve(String type, String resolve)Resolve Variables.voidsaveConfig(Map<String,Object> requestBody)Set ConfigMap<String,String>searchVariables(String type, String search)Find Variables
-
-
-
Method Detail
-
getConfig
@GET @Path("/rest/config") @Produces("application/json") MetaObject getConfig() throws RestExceptionGet Config- Throws:
RestException
-
getMeta
@POST @Path("/rest/metaConfig") @Consumes("application/json") @Produces("application/json") MetaObject getMeta(Map<String,Object> requestBody) throws RestExceptionDescribe Configuration- Throws:
RestException
-
resolve
@GET @Path("/rest/variables/resolve/{type}") @Produces("text/plain") String resolve(@PathParam("type") String type, @QueryParam("resolve") @DefaultValue("") String resolve) throws RestExceptionResolve Variables.- Throws:
RestException
-
saveConfig
@POST @Path("/rest/config") @Consumes("application/json") void saveConfig(Map<String,Object> requestBody) throws RestExceptionSet Config- Throws:
RestException
-
searchVariables
@GET @Path("/rest/variables/search/{type}") @Produces("application/json") Map<String,String> searchVariables(@PathParam("type") String type, @QueryParam("search") @DefaultValue("") String search) throws RestExceptionFind Variables- Throws:
RestException
-
-