Forum Discussion

Yossis's avatar
Yossis
Guide
10 years ago

Set message as viewed in REST API

Hi,

 

We've found that REST API can mark a message "read" for a user. How can we mark it (or an entire thread) "viewed" for a user?

2 Replies

  • DougS's avatar
    DougS
    Khoros Oracle
    10 years ago

    Hi Yossis,

     

    I believe marking a message as "read" is the same thing as marking the message as "viewed", but I might not be understanding your use-case.  If the "read" call is not what you are looking for, please let me know why and what your use-case is.

     

    Thanks,

     

    -Doug

  • Yossis's avatar
    Yossis
    Guide
    10 years ago
    There is a "viewed" metric which counts message views.
    There is a "read" flag per user, indicating if a specific user has read a specific message.

    Setting the "read" flag to true for a user who hasn't previously read the message does not increase the "viewed" count.
    I am looking for the way to increase the "viewed" count.