Forum Discussion
You either need to allow public read access to the API (configured through Community Admin), or use token-based authentication when making API calls.
If you have SSO turned on, you need to use the link in HaidongG's post.
If you are not using SSO, you'll need to make a separate call to the API passing the username and password. More details can be found here:
http://community.lithium.com/t5/Community-API/bd-p/developers-rest-api?page=authentication
thanks nathan fruitful elaboration, I didn't get my answer clear.
just to add on a bit, even you have SSO turn on, you still can create a special non-SSO account with Lithium Support, and use that non-SSO account for REST API calls only, as long as the REST result is not user specified, i.e. different user sees different result.
- shridharmishra11 years agoAdept
First of all thanks to nathan and @HaidongG
According to above post it is very clear that before calling the REST API we will need to establish a session if API's dont have the public read access.
According to the documentation i have found also that access can also be given to the calls coming from specific domain also.
As well as we can give the read write access to a given user also.
Do we have any search API's also which gives the result of the articles (best answers) and also it includes the employee generated content? And also like api by which we can also exclude the employee generated content?