+ Start a Discussion

Apex REST on Unauthenticated Sites Counts as API hit, Page View, both?

How are requests to http://mycompany.force.com/services/apexrest counted (or not counted) as page views? These are calls to Apex REST services made available via a Site. These DO take an API call, but do they take a Sites page view too?

Can someone from Salesforce please help get this answered for me? It's an answer that belongs on the help article linked in this post.

https://help.salesforce.com/HTViewHelpDoc?id=sites_limits.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=sites_limits.htm&language=en_US)
Pradeep Kumar L.GPradeep Kumar L.G
Site view as an unauthenticated user just have the count on number hits on the sites and you don't have any limit on how many unauthenticated user can see the site for authenticated user there will not be any count on site visit. But on the other hand if you are running webservice call(SOAP/REST) on everything the authenticated/unauthenticated user visit the page that will count against your daily API counts.

Hope this helps.


Mark this answer solved if it resolve your problem.