sorting topics by participation does not return any value
Am I missing something here? It seems I can't get any topic result if I try to sort it with the
"participated_at" parameter.
Example:
http://api.getsatisfaction.com/topics...
"participated_at" parameter.
Example:
http://api.getsatisfaction.com/topics...
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Hi david,
Sorry for the frustration. I'm going to pull in someone from our technical side to help you out with this. -
Inappropriate?Looks like that is an error in the documentation; the participated_at sort never got fully baked. I'll try to get it finished with the next round of API development.
Besides that, it makes sense to point out that the query you specified (sorting by participation on the root 'topics' resource) won't work, even when this is implemented. participated_at requires a person to determine what topics to show, if you were to describe this sort you would say "Order this list of topics in the order that Person X participated in them"
Most likely, this will get exposed as an additional resource, representing all of the topics that a person is participating in, for example, it would be:
/people/scott/participating/topics
which would then allow you to sort by participated_at.
Hope that makes sense and sorry for the frustration,
Scott
1 person says
this answers the question
-
Inappropriate?Okay, I understand. Too bad, though, because there is no way to get to know what topics have been recently answered to / commented (excluding those that have just been marked as answered for instance).
It's pretty hard to build a notification system in those conditions since you don't know what really happened to a topic (ie what caused its latest activity).
But I guess that's another problem, more related to the API design in general.
I’m frustrated
-
Inappropriate?We do have a data field on topics that describe the most recent activity. That is easy to expose through the api.
Then, you can simply sort by "last_activity_at" and inquire on the "most_recent_activity" field to get the data i think you are requesting.
Does that make sense?
This addition to the api should get pushed live tonight.
-Scott
1 person says
this answers the question
-
Inappropriate?My mistake ! I guess had I just missed the "most_recent_activity" field.
Thanks !
I’m happy
-
happy to help
Loading Profile...



EMPLOYEE
EMPLOYEE
