@Path(value="/apis/widgets") public class WidgetInfoProviderAPI extends Object implements org.wso2.msf4j.Microservice
| Constructor and Description |
|---|
WidgetInfoProviderAPI() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getThumbnail(String widgetId)
This method provides thumbnail of given widget.
|
javax.ws.rs.core.Response |
getWidgetConf(String widgetId)
This method return the configuration of given widget.
|
javax.ws.rs.core.Response |
getWidgetsMetaInfo()
This method returns a list of meta information of widgets.
|
@GET @Path(value="/") @Produces(value="application/json") public javax.ws.rs.core.Response getWidgetsMetaInfo()
@GET
@Path(value="/{id}/conf")
@Produces(value="application/json")
public javax.ws.rs.core.Response getWidgetConf(@PathParam(value="id")
String widgetId)
widgetId - widget id@GET
@Path(value="/{id}/thumbnail")
public javax.ws.rs.core.Response getThumbnail(@PathParam(value="id")
String widgetId)
widgetId - widget idCopyright © 2017 WSO2. All rights reserved.