Forum Discussion

james_scee's avatar
11 years ago

Getting mentions via API

Hi

 

I'd like to be able to get mentions in the same way we can currently get messages. Is this possible?

 

There is some mention of it here,

 

and a reference to it being added, but I can't seem to find it in the API docs I have.

 

cheers

  • There indeed seems to be no dedicated get REST API call to conveniently pull all mentions from a message. Even adding a mention to a message as described in the article above is mainly using the default message write functionality.

     

    A workaround might be manually inspecting the message body ( http://community.lithium.com/lithiumc/restapi/vc/messages/id/[id]/body ) for occurances of the substring "/t5/user/viewprofilepage/user-id/". I admit it's Hack factor "120+", but well...

  • There indeed seems to be no dedicated get REST API call to conveniently pull all mentions from a message. Even adding a mention to a message as described in the article above is mainly using the default message write functionality.

     

    A workaround might be manually inspecting the message body ( http://community.lithium.com/lithiumc/restapi/vc/messages/id/[id]/body ) for occurances of the substring "/t5/user/viewprofilepage/user-id/". I admit it's Hack factor "120+", but well...