Hi i see we can tag people in the comments by add the @ symbol, but is it possible to do the same using the rest api ?
Mentioning users, versions or tasks are done using special markdown syntax. That means the mentioning is baked into the body itself without any extra data required.
The server parses the mentions to create reference activities and notifications.
The frontend reads the body and renders the mentions as those little tags.
Here is an example activity.body
with the different mention types.
User tag: [Alta Gracia Martínez](user:demouser39)
Version tag: [v005](version:8cb742e21f4011efb2760242ac180005)
Task tag: [compositing](task:80822f001dab11ef95ad0242ac180005)
So the answer is yes, you can use the restAPI to do this, the web frontend uses the restAPI as well.
2 Likes
hi @Innders this works perfectly, thanks for the solution.