GET analytics/community/{communityid}

Used to get the analytics of the communities in your Private Media Channel

Request Information

URI Parameters

NameDescriptionTypeAdditional information
communityid

string

Required

Body Parameters

None.

Response Information

Resource Description

Analytics
NameDescriptionTypeAdditional information
Playcount

integer

None.

HoursWatched

decimal number

None.

NumberOfVideos

integer

None.

Engagement

decimal number

None.

Visitors

Collection of Visitor

None.

Response Formats

application/json, text/json

Sample:
{
  "Playcount": 1,
  "HoursWatched": 2.1,
  "NumberOfVideos": 3,
  "Engagement": 4.1,
  "Visitors": [
    {
      "Email": "sample string 1",
      "IP": "sample string 2",
      "LocationInfo": {
        "CountryCode": "sample string 1",
        "CountryName": "sample string 2",
        "RegionName": "sample string 3",
        "CityName": "sample string 4"
      },
      "IsUnknown": true
    },
    {
      "Email": "sample string 1",
      "IP": "sample string 2",
      "LocationInfo": {
        "CountryCode": "sample string 1",
        "CountryName": "sample string 2",
        "RegionName": "sample string 3",
        "CityName": "sample string 4"
      },
      "IsUnknown": true
    }
  ]
}

application/xml, text/xml

Sample:
<Analytics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.nichevid.com.Models">
  <Engagement>4.1</Engagement>
  <HoursWatched>2.1</HoursWatched>
  <NumberOfVideos>3</NumberOfVideos>
  <Playcount>1</Playcount>
  <Visitors>
    <Visitor>
      <Email>sample string 1</Email>
      <IP>sample string 2</IP>
      <IsUnknown>true</IsUnknown>
      <LocationInfo>
        <CityName>sample string 4</CityName>
        <CountryCode>sample string 1</CountryCode>
        <CountryName>sample string 2</CountryName>
        <RegionName>sample string 3</RegionName>
      </LocationInfo>
    </Visitor>
    <Visitor>
      <Email>sample string 1</Email>
      <IP>sample string 2</IP>
      <IsUnknown>true</IsUnknown>
      <LocationInfo>
        <CityName>sample string 4</CityName>
        <CountryCode>sample string 1</CountryCode>
        <CountryName>sample string 2</CountryName>
        <RegionName>sample string 3</RegionName>
      </LocationInfo>
    </Visitor>
  </Visitors>
</Analytics>