| GET | /devops/api/diagnostics/server |
|---|
export class ServerInfo
{
public NumOfProcessors?: number;
public MachineName?: string;
public Os?: string;
public Is64BitProcess?: boolean;
public Is64BitOperatingSystem?: boolean;
public SystemPageSize?: number;
public UptimeTicks?: number;
public ClrVersion?: string;
public MappedProcessMemory?: number;
public constructor(init?: Partial<ServerInfo>) { (Object as any).assign(this, init); }
}
export class ServerInfoRs
{
public Server?: ServerInfo;
public constructor(init?: Partial<ServerInfoRs>) { (Object as any).assign(this, init); }
}
export class ServerInfoRq
{
public constructor(init?: Partial<ServerInfoRq>) { (Object as any).assign(this, init); }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Server":{"NumOfProcessors":0,"MachineName":"String","Os":"String","Is64BitProcess":false,"Is64BitOperatingSystem":false,"SystemPageSize":0,"UptimeTicks":0,"ClrVersion":"String","MappedProcessMemory":0}}