|
|
@@ -16,7 +16,8 @@ import javax.ws.rs.core.Response; |
|
|
|
|
|
|
|
import static bubble.ApiConstants.*; |
|
|
|
import static org.cobbzilla.util.http.HttpContentTypes.APPLICATION_JSON; |
|
|
|
import static org.cobbzilla.wizard.resources.ResourceUtil.*; |
|
|
|
import static org.cobbzilla.wizard.resources.ResourceUtil.forbiddenEx; |
|
|
|
import static org.cobbzilla.wizard.resources.ResourceUtil.ok; |
|
|
|
|
|
|
|
@Consumes(APPLICATION_JSON) |
|
|
|
@Produces(APPLICATION_JSON) |
|
|
@@ -30,7 +31,7 @@ public class LogsResource { |
|
|
|
this.account = account; |
|
|
|
} |
|
|
|
|
|
|
|
@Path(EP_STATUS) |
|
|
|
@GET @Path(EP_STATUS) |
|
|
|
@NonNull public Response getLoggingStatus(@NonNull @Context final ContainerRequest ctx) { |
|
|
|
return ok(selfNodeService.getLogFlag()); |
|
|
|
} |
|
|
|