Select range of articles from one category
-
sandi66b
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
8 years 9 months ago #5045
by sandi66b
Hello, I was just wondering if it's possible to retrive with a get call articles from one categoriy with limit 10, and in another call another 10 articles.
Now I am using /rest/get/content/articles?catid=9&limit=10&orderby=id&orderdir=desc and I want to receive another 10.
Will I need to create a custom module for that? Or how can i achieve this?
Thank you.
Regards!
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 9 months ago #5056
by admin
The following user(s) said Thank You: sandi66b
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
8 years 9 months ago #5062
by happyxinqiang
HI, I want to know , does zoo have this feature ? I use ZOO as my content manager, for example , I want to load 10 posts from api , when I scroll to bottom , I want to load another 10 posts , Is it possible now ?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 9 months ago #5067
by admin
Hi,
I just realized that the online documentation for Zoo is not updated (I will do ASAP). Yes, the params are:
// Get the list of items
/* PARAMS:
action=get
module=zoo
resource=items
category=<C>
limit=<L> (optional)
page=<P> (optional)
app=<app id>
*/
Kind regards,
Luigi
The following user(s) said Thank You: happyxinqiang
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
8 years 9 months ago #5068
by happyxinqiang
Thanks for your replay, really amazing product, jBackend save me a lot of time to make a Mobile app with Joomla as a backservice , thanks a lot again
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 9 months ago #5070
by admin
You are welcome, and don't miss the update I will release in a couple of days...
Please Log in or Create an account to join the conversation.
Time to create page: 0.164 seconds