Skip to main content
21-Topaz I
May 21, 2019

Using a REST API call to get public view count

  • May 21, 2019
  • 0 replies
  • 603 views

You can get the view count for all public experiences by using the below REST API call.

 

GET <your ES URL>/compliance/views

 

This will return a JSON object with a views and billables field where:

views = the download number of publicly accessible projects &

billables = how many downloads are counted towards billable tokens

 

You can also specify the startDate and endDate in your request. These parameters can be defined by a UTC date string, JSON date string, or time in milliseconds since a specified date.