Recherches récentes


Pas de recherche récente

Get Community Posts



Publication le 24 févr. 2020

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 commentaire

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


Vous devez vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication