¿Qué es un Post? (Pregunta sobre la API de Discourse)

First, thank you for your help.

Using the /user_actions.json?offset=0&username=USERNAME&filter=5, I do not seem to be getting a post counted if it was the first post of a topic.

I may be using the API wrong.

I have a test account with 7 activities.

  • 3 topics, each with a post
  • 4 replies to existing topics.

When I filter for “posts”, I get a count of 4, not the expected 7.

to get the expected post count of 7, I think I need to add “replies” and “topics”.

from what I understand, I think the filter" of 5` should return both the posts that are the first post of a topic as well as the replies, right?

I’d love to get some help trying to understand how to pull the posts count for specific users with the API.

 query = {'username': username, 'filter': '5'};

  var response = await getRequest(
      path: '/user_actions.json',
      queryParameters: query);