I have a public Force.com site without any pages. I have created a APEX REST service and added it to the force.com site. So the APEX REST service will be accessible public without authentication. All of these developed in a developer org.
I am looking for the following confirmation:
-
As there are no pages in the site and only APEX REST API, will the page view limit for a force.com site still apply? Or is the response (JSON) considered as a page view
-
How do I calculate the bandwidth & Request time estimates for the API?
-
As the force.com site is accessed using guest user license and the APEX REST service is public, does the concurrent API request limit (25) still apply? I guess not.
-
There are daily API limits on an organization. Does the API requests on the public Force.com site hosted REST Service get included under this?
-
I used Force.com REST API to get an attachment over 5 MB and it returned the response without error. Is the 3 MB request/response limit not applicable to Salesforce REST API? Is it then applicable for the public APEX REST Service exposed via the public force.com site?
Appreciate any input/direction in this regard to clarify/confirm my above understanding/query.
Best Answer
I built a similar service some time ago, and made some similar verifications and tests, I can provide some answers as follows: