 |
WindowsMediaStats

WindowsMediaStats
WebSERVICE is a Windows Service that
provides web services to retrieve critical
statistics about the Windows Media server.
This would allow data warehouse, and instant
reporting.
|
|
 |
|
XML and JSON are supported by our APIs. For JSON response, simply append '?type=json' on the URL. The following APIs are available right out of the box:
- http://server:7070/
- http://server:7070/full
- http://server:7070/publishingpoints
- http://server:7070/publishingpoints/detailed
- http://server:7070/server
- http://server:7070/server/detailed
Some examples below:
| http://server:7070/server |
<?xml version="1.0" encoding="utf-16"?>
<Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Server>
<AllowClientsToConnect>true</AllowClientsToConnect>
<CPUUtilization>1</CPUUtilization>
<DefaultPath>C:\WMPub\WMRoot</DefaultPath>
<EnableReverseProxyMode>false</EnableReverseProxyMode>
<MonikerName>WMSServer:UOWJE-6446F45DD</MonikerName>
<Name>UOWJE-6446F45DD</Name>
<OSProductType>WMS_OS_PRODUCT_ADVANCED</OSProductType>
<StartTime>2009-09-03T12:18:04</StartTime>
<Status>WMS_SERVER_RUNNING</Status>
<Version>9.01.01.5000</Version>
</Server>
</Response>
|
| http://server:7070/server?type=json |
{
"Server":
{
"AllowClientsToConnect" : true,
"CPUUtilization" : 4,
"DefaultPath" : "C:\\WMPub\\WMRoot",
"EnableReverseProxyMode" : false,
"MonikerName" : "WMSServer:UOWJE-6446F45DD",
"Name" : "UOWJE-6446F45DD",
"OSProductType" : "WMS_OS_PRODUCT_ADVANCED",
"StartTime" : "\/Date(1252540366000-0400)\/",
"Status" : "WMS_SERVER_RUNNING",
"Version" : "9.01.01.5000"
}
}
|
| http://server:7070/server/detailed |
<?xml version="1.0" encoding="utf-16"?>
<Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Server>
<AllowClientsToConnect>true</AllowClientsToConnect>
<CPUUtilization>1</CPUUtilization>
<CurrentCounters>
<CacheDownloads>0</CacheDownloads>
<ConnectedPlayers>0</ConnectedPlayers>
<ConnectionQueue>0</ConnectionQueue>
<ConnectionRate>0</ConnectionRate>
<FileReadRate>0</FileReadRate>
<IncomingBandwidth>0</IncomingBandwidth>
<LateReadRate>0</LateReadRate>
<LateSendRate>0</LateSendRate>
<OutgoingDistributionAllocatedBandwidth>
0
</OutgoingDistributionAllocatedBandwidth>
<OutgoingDistributionConnections>0</OutgoingDistributionConnections>
<OutgoingDistributionSendRate>0</OutgoingDistributionSendRate>
<PlayerAllocatedBandwidth>0</PlayerAllocatedBandwidth>
<PlayerSendRate>0</PlayerSendRate>
<StreamErrorRate>0</StreamErrorRate>
<StreamingHTTPPlayers>0</StreamingHTTPPlayers>
<StreamingMMSPlayers>0</StreamingMMSPlayers>
<StreamingPlayers>0</StreamingPlayers>
<StreamingRTSPPlayers>0</StreamingRTSPPlayers>
<UDPResendRequestsRate>0</UDPResendRequestsRate>
<UDPResendsSentRate>0</UDPResendsSentRate>
</CurrentCounters>
<DefaultPath>C:\WMPub\WMRoot</DefaultPath>
<EnableReverseProxyMode>false</EnableReverseProxyMode>
<Limits>
<ConnectedPlayers>-1</ConnectedPlayers>
<ConnectionRate>50</ConnectionRate>
<CPUUtilizationDuringConnection>100</CPUUtilizationDuringConnection>
<DiagnosticEvents>0</DiagnosticEvents>
<IncomingBandwidth>-1</IncomingBandwidth>
<OutgoingDistributionBandwidth>-1</OutgoingDistributionBandwidth>
<OutgoingDistributionConnections>-1</OutgoingDistributionConnections>
<PerOutgoingDistributionConnectionBandwidth>
-1
</PerOutgoingDistributionConnectionBandwidth>
<PerPlayerConnectionBandwidth>-1</PerPlayerConnectionBandwidth>
<PlayerAcknowledgementTimeout>60</PlayerAcknowledgementTimeout>
<PlayerBandwidth>-1</PlayerBandwidth>
<PlayerInactivityTimeout>3600</PlayerInactivityTimeout>
</Limits>
<MonikerName>WMSServer:UOWJE-6446F45DD</MonikerName>
<Name>UOWJE-6446F45DD</Name>
<OSProductType>WMS_OS_PRODUCT_ADVANCED</OSProductType>
<PeakCounters>
<ConnectedPlayers>0</ConnectedPlayers>
<CountersStartTime>2009-09-03T12:18:04</CountersStartTime>
<OutgoingDistributionAllocatedBandwidth>0</OutgoingDistributionAllocatedBandwidth>
<OutgoingDistributionConnections>0</OutgoingDistributionConnections>
<OutgoingDistributionSendRate>0</OutgoingDistributionSendRate>
<PlayerAllocatedBandwidth>0</PlayerAllocatedBandwidth>
<PlayerSendRate>0</PlayerSendRate>
<StreamingPlayers>0</StreamingPlayers>
</PeakCounters>
<StartTime>2009-09-03T12:18:04</StartTime>
<Status>WMS_SERVER_RUNNING</Status>
<TotalCounters>
<Advertisements>0</Advertisements>
<ConnectedPlayers>0</ConnectedPlayers>
<CountersStartTime>2009-09-03T12:18:04</CountersStartTime>
<LateReads>0</LateReads>
<LateSends>0</LateSends>
<OutgoingDistributionBytesSent xsi:type="xsd:decimal">0</OutgoingDistributionBytesSent>
<OutgoingDistributionConnections>0</OutgoingDistributionConnections>
<PlayersBytesSent xsi:type="xsd:decimal">0</PlayersBytesSent>
<StreamDenials>0</StreamDenials>
<StreamErrors>0</StreamErrors>
<StreamingPlayers>0</StreamingPlayers>
<StreamTerminations>0</StreamTerminations>
<UDPResendRequests>0</UDPResendRequests>
<UDPResendsSent>0</UDPResendsSent>
</TotalCounters>
<Version>9.01.01.5000</Version>
</Server>
</Response>
|
| http://server:7070/publishingpoints |
<?xml version="1.0" encoding="utf-16"?>
<Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Points>
<PublishingPoint>
<AllowClientsToConnect>true</AllowClientsToConnect>
<AllowPlayerSideDiskCaching>true</AllowPlayerSideDiskCaching>
<CacheProxyExpiration>86400</CacheProxyExpiration>
<EnableFEC>false</EnableFEC>
<ID>{19D740D4-0E27-4775-B449-64EB668F4718}</ID>
<IsDistributionPasswordSet>false</IsDistributionPasswordSet>
<MonikerName>WMSServer:UOWJE-6446F45DD\Publishing Points\Cache/Proxy On-Demand</MonikerName>
<Name>Cache/Proxy On-Demand</Name>
<Status>WMS_PUBLISHING_POINT_RUNNING</Status>
<Type>WMS_PUBLISHING_POINT_TYPE_CACHE_PROXY_ON_DEMAND</Type>
</PublishingPoint>
</Points>
</Response>
|
| http://server:7070/publishingpoints/detailed |
<?xml version="1.0" encoding="utf-16"?>
<Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Points>
<PublishingPoint>
<AllowClientsToConnect>true</AllowClientsToConnect>
<AllowPlayerSideDiskCaching>true</AllowPlayerSideDiskCaching>
<CacheProxyExpiration>86400</CacheProxyExpiration>
<CurrentCounters>
<ConnectedPlayers>0</ConnectedPlayers>
<OutgoingDistributionAllocatedBandwidth>0</OutgoingDistributionAllocatedBandwidth>
<OutgoingDistributionConnections>0</OutgoingDistributionConnections>
<PlayerAllocatedBandwidth>0</PlayerAllocatedBandwidth>
<StreamingHTTPPlayers>0</StreamingHTTPPlayers>
<StreamingMMSPlayers>0</StreamingMMSPlayers>
<StreamingPlayers>0</StreamingPlayers>
<StreamingRTSPPlayers>0</StreamingRTSPPlayers>
</CurrentCounters>
<EnableFEC>false</EnableFEC>
<ID>{19D740D4-0E27-4775-B449-64EB668F4718}</ID>
<IsDistributionPasswordSet>false</IsDistributionPasswordSet>
<Limits>
<ConnectedPlayers>-1</ConnectedPlayers>
<FECPacketSpan>24</FECPacketSpan>
<OutgoingDistributionBandwidth>-1</OutgoingDistributionBandwidth>
<OutgoingDistributionConnections>-1</OutgoingDistributionConnections>
<PerOutgoingDistributionConnectionBandwidth>
-1
</PerOutgoingDistributionConnectionBandwidth>
<PerPlayerConnectionBandwidth>-1</PerPlayerConnectionBandwidth>
<PerPlayerRapidStartBandwidth>3500</PerPlayerRapidStartBandwidth>
<PlayerBandwidth>-1</PlayerBandwidth>
<PlayerCacheDeliveryRate>5000</PlayerCacheDeliveryRate>
</Limits>
<MonikerName>WMSServer:UOWJE-6446F45DD\Publishing Points\Cache/Proxy On-Demand</MonikerName>
<Name>Cache/Proxy On-Demand</Name>
<PeakCounters>
<ConnectedPlayers>0</ConnectedPlayers>
<CountersStartTime>2009-09-03T12:18:04</CountersStartTime>
<OutgoingDistributionAllocatedBandwidth>0</OutgoingDistributionAllocatedBandwidth>
<OutgoingDistributionConnections>0</OutgoingDistributionConnections>
<PlayerAllocatedBandwidth>0</PlayerAllocatedBandwidth>
<StreamingPlayers>0</StreamingPlayers>
</PeakCounters>
<Status>WMS_PUBLISHING_POINT_RUNNING</Status>
<TotalCounters>
<Advertisements>0</Advertisements>
<ConnectedPlayers>0</ConnectedPlayers>
<CountersStartTime>2009-09-03T12:18:04</CountersStartTime>
<FileBytesRead xsi:type="xsd:decimal">0</FileBytesRead>
<LateReads>0</LateReads>
<OutgoingDistributionBytesSent xsi:type="xsd:decimal">0</OutgoingDistributionBytesSent>
<OutgoingDistributionConnections>0</OutgoingDistributionConnections>
<PlayerBytesSent xsi:type="xsd:decimal">0</PlayerBytesSent>
<StreamDenials>0</StreamDenials>
<StreamErrors>0</StreamErrors>
<StreamingPlayers>0</StreamingPlayers>
<StreamTerminations>0</StreamTerminations>
</TotalCounters>
<Type>WMS_PUBLISHING_POINT_TYPE_CACHE_PROXY_ON_DEMAND</Type>
</PublishingPoint>
</Points>
</Response>
|
|
|