onlineUserCount


URI

<portalStatistics_uri>/user/onlinelist/count[.<format>]

Supported methods

GET, HEAD

Parent resource

onlineUserList

Introduction

onlineUserCount resource is the resource about number of online users. Gets the number of iPortal online users by sending GET request.

Supported Methods:

Supported output formats: rjson, json, html, xml.

Resource hierarchy

HTTP request methods

Implement the HTTP request on the following URI, where supermapiportal is the server name, with rjson being the output format.

http://supermapiportal:8090/iportal/manager/portalstatistics/user/onlinelist/count.rjson

GET request

Gets the online user number of iPortal.

Response example

The returned rjson format representation after implementing the GET request on the onlineUserCount resource http://localhost:8090/iportal/manager/portalstatistics/user/onlinelist/count.rjson is as follows:

2

HEAD request

Asks for the response identical to the one that would correspond to a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content. The meta-information includes the media-type, content-encoding, transfer-encoding, content-length, etc.

HEAD request can be used to check if the onlineUserCount resource exists, or if the onlineUserCount resource can be accessed by clients. It can also determine if the onlineUserCount resource supports an output format <format> if performed on a URI with <format> included.

See