s1 API Host

<back to all web services

GetCacheServerInfoRequest

The following routes are available for this service:
GET, OPTIONS/api/admin/cache-management/serverGet the first x number of keys that contain the given searchkeyUser has to be authenticated and admin to retrieve the information.

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/GetCacheServerInfoRequest HTTP/1.1 
Host: s1-api.fource.nl 
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String
			}
		]
	},
	server: 
	{
		version: String,
		operatingSystem: String,
		bitsArchitecture: String,
		host: String,
		port: 0,
		role: String,
		uptimeInSeconds: 0,
		uptimeInDays: 0,
		usedMemory: String,
		usedCpuSys: String,
		usedCpuUser: String,
		connectedClients: 0,
		keysHit: 0,
		keysMissed: 0,
		keyCount: 0
	}
}