最近搜索


没有最近搜索

Get Community Posts



已于 2020年2月24日 发布

Hi All,

 

So I've been trying to create some very basic reporting for our Community but unfortunately I'm stuck at this point. The report I want for starters is very basic, Get Posts created on <Date>

Purpose: I want to see the activity level on our forum.

The query available for this purpose is:

https://megascans.zendesk.com/api/v2/help_center/community_posts/search.json?query="The"created_at=2020-02-18

Problem: search string is mandatory in this query. It doesn't take "" as input. You have to give it a string which skews the data set.

Can we have a better solution?


0

1

1 条评论

image avatar

Kasper Sørensen

Zendesk Product Manager

I would not recommend using search for this. An easier approach seems to me to be to use the posts endpoint and sort by date:

/api/v2/community/posts.json?sort_by=created_at

Of course that gives you posts from multiple days so you'll have to do some manual filtering afterwards.

0


请先登录再写评论。

找不到所需的内容?

新建帖子