Forum Discussion
The developer portal is the best entry point into any APIs and customizations you'd like to build: https://developer.khoros.com/khoroscommunitydevdocs
You can either use REST V2 LiQL queries to retrieve messages or you can use REST V1 calls to retrieve messages. REST V1 is deprecated (no new calls are being added), while REST V2 is the currently supported API version.
For REST V2, you probably want to start by learning about how to make a LIQL call: https://developer.khoros.com/khoroscommunitydevdocs/docs/using-liql
After you've learned the basics of the API, you can check out the REST V2 object reference: https://devdocportal.lithium.com/t5/Community-API-v2-Reference/bd-p/restv2docs?section=commv2&v2.main=collections
For getting community posts, you'll want to look specifically at the message object: https://devdocportal.lithium.com/t5/Community-API-v2-Reference/bd-p/restv2docs?section=commv2&collection=messages. The message object page has some good examples of LiQL queries you can make to get messages (posts) from the community.
If you'd like to combine different REST V1 and/or REST V2 calls into a single endpoint, and you have access to your community's stage site (specifically Lithium Studio), you should check out the endpoints section: https://developer.khoros.com/khoroscommunitydevdocs/docs/about-endpoints
-Doug
Related Content
- 9 years ago
- 14 years ago
- 7 years ago