Post Comments API

Répondu

1 Commentaires

  • Charles Nadeau
    Zendesk Documentation Team

    Hi David, you can't currently get all the post comments in one call but you could build a relatively short script that uses the List Posts and List Comments endpoints to get the same results. The logic would go something like this:

    all_posts = get('/api/v2/community/posts')
    for post in all_posts:
    post_comments = get('/api/v2/community/posts/{post['id']}/comments')
    all_comments.append(post_comments)
    1

Vous devezvous connecter把联合国commentaire自由。

Réalisé par Zendesk