| GET | /devops/api/diagnostics/server |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class ServerInfoRq
{
}
open class ServerInfoRs
{
var Server:ServerInfo? = null
}
open class ServerInfo
{
var NumOfProcessors:Int? = null
var MachineName:String? = null
var Os:String? = null
var Is64BitProcess:Boolean? = null
var Is64BitOperatingSystem:Boolean? = null
var SystemPageSize:Int? = null
var UptimeTicks:Int? = null
var ClrVersion:String? = null
var MappedProcessMemory:Long? = null
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /devops/api/diagnostics/server HTTP/1.1 Host: devapi.billhighway.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Server:
{
NumOfProcessors: 0,
MachineName: String,
Os: String,
Is64BitProcess: False,
Is64BitOperatingSystem: False,
SystemPageSize: 0,
UptimeTicks: 0,
ClrVersion: String,
MappedProcessMemory: 0
}
}