× Requests and support related to jBackend.

Question about functionality

  • gigi75
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 6 months ago #4408 by gigi75
Question about functionality was created by gigi75
Hi,
content module apis "Get the list of articles" and "Get the list of articles by tag id" have two following parameters:
limit=<L> (optional)
offset=<O> (optional)
Which is their use? How do they work together?

Second question. Is it possible to limit fields in the json response file? I mean, If I request 10 articles with a query, I don't want in the response the content of the article, but I want only for example title and image. Because I have to show only a list of articles. In a second moment if user click over an article I will request the content of this article. Is it possible?

Thanks
gg

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #4410 by admin
Replied by admin on topic Question about functionality
Hi,
limit and offset are used for pagination. They are exactly the same as Joomla params for pagination.

About the second question, in the new content module (which will be release soon) there will be a plugin option to include or not the content in the response (reducing the data returned in lists).

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.101 seconds