@Path(value="marketplace/apps")
public class OfficialAppResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private OfficialAppService |
service |
Constructor and Description |
---|
OfficialAppResource(OfficialAppService service) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createApp(OfficialApp app) |
javax.ws.rs.core.Response |
getApps(java.lang.String shopType,
java.util.Locale locale,
int page,
int limit) |
private final OfficialAppService service
@Inject public OfficialAppResource(OfficialAppService service)
@GET @Produces(value="application/json") public javax.ws.rs.core.Response getApps(@NotNull@QueryParam(value="shopType") java.lang.String shopType, @NotNull@QueryParam(value="locale") java.util.Locale locale, @NotNull@QueryParam(value="page") int page, @NotNull@QueryParam(value="limit") int limit)
@POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response createApp(@NotNull OfficialApp app)