Forum Discussion
amuthan
Adept
Thanks for the reply.
I need it as single endpoint that should give root message topic,replies count,solution there or not,timestamp,author id with image.
Performance based approach is needed.
cike
8 years agoChampion
Regarding to your requirement to get all those information from only one endpoint, I would recommend developing a custom endpoint by yourself. Within the endpoint you can request the Lithium API resources an concat them to a response object which fits in your requirements.
So, components in your frontend will only need one AJAX request to this endpoint (which does the "expensive" API calls on the server side). For example you can build a JSON-Object which is returned by this endpoint and can be processed in other components.
Best regards,
Christian
Related Content
- 9 months ago
- 8 months ago
- 3 years ago
- 3 years ago