Forum Discussion

fuenteso's avatar
fuenteso
Leader
8 years ago

Is thread/board/category Read Only?

Hi,   Is there a way to know if a category/board/thread is read only using lithium contexual objects? I want to disable the "Post new message" on threads or boards marked as Read Only   Thanks!
  • VarunGrazitti's avatar
    8 years ago

    fuenteso - There aren't any context objects, however, you can check the read-only categories/ boards using this API -

     

    http://community.lithium.com/community-name/restapi/vc/boards/id/[id]/settings/name/config.read_only

     

    I hope this helps.