Get multiple posts or pages
-
I love this plugin and will start using it to feed content to an iOS/Android app we have in the store for a big company here across Europe.
Still missing one thing which is that of getting multiple posts/pages/custom_post type back just based on their ID. We are aiming to use WP as the backend to feed installation or setup instructions into an app. Every step will be an individual posts, but towards the app we need to feed the complete sequence. Creating an extensive taxonomy / tag structure won’t be sufficient as we would still need to be able to control the order in which the posts are displayed.
If I could get a results for something like:
https://example.org/api/get_posts/?post_ids=1,3,4,6,2
that would be the bomb. That way you could just get about everything combined in one response. Of course we can build some custom code that will hit the API for every post ID, but performance-wize that’s terrible practice and we would like to build this as backward compatible as possible.
- The topic ‘Get multiple posts or pages’ is closed to new replies.