× Requests and support related to jBackend.

List of article without the content of the article

  • francoisbp
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 weeks ago #3880 by francoisbp
Hey, very nice feature which integrates quite nicely with angularJS, great job. I have 2 small FR that i'll break down.
Can we have the list of articles but without the content, images, ?

so basically have this json output, the rationale behind is that if you have a lot of articles and just want to provide menu points it might be easier without the content


{
"status": "ok",
"total": 3,
"limit": 3,
"offset": 0,
"pages_current": 1,
"pages_total": 1,
"articles": [
{
"id": "1",
"title": "title",
"alias": "alias",
"featured": "0",
"category_title": "cattitle",
"author": "Super User",
"published_date": "date"
},
{
"id": "2",
"title": "title",
"alias": "alias",
"featured": "0",
"category_title": "cattitle",
"author": "Super User",
"published_date": "date"
}
]
}

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

More
9 years 3 weeks ago #3883 by admin
Hi,
it seems a good idea and can be easily accomplished adding an option to the content module. I will add in the next version.

Kind regards,
Luigi

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

More
8 years 6 months ago #4313 by solon.caceres
Replied by solon.caceres on topic List of article without the content of the article
Regards.

How discard the contents to retrieve the items from one category ?.

We have an android based APP and we want get only the titles of articles from a category.

sample: https://xxxxxx/api/get/content/articles?catid=46

Thanks in advance for your reply,

Solón Cáceres
Project Manager
xynco.com Ltd.

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

More
8 years 6 months ago #4314 by admin
Hi Solón,
I will answer at your email.

Kind regards,
Luigi

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

Time to create page: 0.099 seconds