Forum Discussion

Inactive User's avatar
Inactive User
12 years ago

Time at which the user gave the kudo via rest API.

 

We are trying to get a user's kudos, regardless of a message. (Think a recent activity module.) If you use a call like

users/id/43/kudos/given/messages/recent?restapi.response_style=all

 

, it doesn't return the mixin data with the time the user kudoed, just a list of the message data for the posts the user kudoed. Is there a way to get that timestamp included in this result as well?

7 Replies

  • DougS's avatar
    DougS
    Khoros Oracle
    12 years ago

    For a given message id, you can make a call like the following to get all the users that kudoed the message, along with the time they gave the kudo at:

     

    messages/id/119219/kudos/givers?restapi.response_style=all

     The key is to add the restapi.response_style=all parameter, which will cause the <time> node to be included in the results.

     

    You could use a Studio endpoint to make this call for each of the results of your users/id/43/kudos/given/messages/recent call.

  • DougS's avatar
    DougS
    Khoros Oracle
    12 years ago

    Link editing in the app is weird and needs to be fixed (I will file a bug).  When you edit your message, you need to highlight the link you want to change, then click on the link button and change it in the pop-up.  If you just change the text of the link in the editor and try to save it gives you a strange error about the link already being there or something.  Is this the issue with editing your own message that you were seeing cblown or were you not able to even get to the message editor to edit your message?

  • cblown's avatar
    cblown
    Boss
    12 years ago

    DougS wrote:

      or were you not able to even get to the message editor to edit your message?


    Yeah I'm not seeing Edit in the Options drop down anymore

     

    EDIT: Although this message is ok. :)

  • JulieH's avatar
    JulieH
    Lithium Alumni (Retired)
    12 years ago

    Sorry about that cblown  and thanks for reposting a working link to the idea! There is a limited edit period, which is why you could no longer see the Edit option on the older post. Feel free to reach out to the mods or myself if you encounter any other issues or need assistance!

     

    Cheers,