How to filter and get only published articles using GET call of article API



已于 2022年5月05日 发布

How to apply filters in a GET call to article API to get the list of all published articles , draft field false implies article is published?


1

1

1 条评论

      Hey, Bruce!
       
      There isn't a specific filter for article publication status similar to the filters you'd see here, but one way you could go about this is looping over the results from your GET request and extracting the articles with a property draft="false" and save the articles to a new array.
       
      I hope this helps! Feel free to reach out with any questions.
       
      Tipene

      0


      登录以发表评论。

      找不到所需的内容?

      新建帖子