Forum Discussion

PerBonomi's avatar
9 years ago

Un/read status for boards

I'm looking at the board resource with API 2 and in user_context I'm missing its read/unread status.

 

Would it be possible to add that?

  • YuriK's avatar
    YuriK
    Khoros Expert

    Hey PerBonomi,

     

    Un/read status is currently only available on the message resource under user_context.read.

     

    What information are you looking to get at the board level?

     

    Thank you,

     

    Yuri

  • Hey! Mainly for our super users. With the old design they got used to having read or marked as read entire boards, so they could log in later and see what boards have new content. Could have sworn boards would be not bold if I marked the community as read.
    Any tips?
    • NaokiT's avatar
      NaokiT
      Lithium Alumni (Retired)

      PerBonomi Thanks for the clarification.  Yes the UI does allow for bold and unbold at the board level for unread boards and I can see how that would be a useful API to your superusers.  Unfortunately an API for this is not currently on our near term roadmap.  I would suggest you post this in the Ideas board.  If there is a lot of demand for this API that will help push it up on our backlog.  

  • Ah I see. I will so that.
    Wondering if I could do a select count (*) from messages where board.id and status = unread kind of call and check if it's 0?
    Either way, thanks for your responses :)