Forum Discussion
i do a search like search/messages/?q=test
in the xml result, the <board> is not developped i need to do a second rest api call for getting the content of board element. There is an option for getting the content of the board in only one call ?
What information about the board are you looking for?
If you are just looking for the URL to the board then you can get that by including the restapi.response_style=view query parameter in you REST call (from the view_href attribute on the board node which gets added when you add the restapi.response_style=view query parameter to your REST call).
Otherwise you are going to have to make a separate call to get the board info you need (using the href attribute).
- sylvain_mouquet13 years agoGuide
yes but i wish to limiting the api calls. i need to get the title of the board
- DougS13 years agoKhoros OracleWe do have some functionality called "endpoints" that you might want to look into as a way to create a custom call that can combine REST calls to get you the response that you needs in a single request. This post has more information:
http://lithosphere.lithium.com/t5/Developers/where-is-the-documentation-for-endpoints/m-p/60236#M2016
Open a ticket with support if you would like to turn endpoints on.
Related Content
- 5 years ago
- 6 years ago