Inactive User
12 years agoNot applicable
How to tell if a post has comments disabled via Rest API?
Is this possible? I don't see anything immediately through the REST API but is there another way? Thanks
Sign in to react to this post
Hi jlutterloh,
You're correct, each message returned via the REST API has a "read_only" element which corresponds to whether the message has had "Block New Replies/Comments" set for it. When you select "Block New Replies" in the UI, each message in the discussion will have their "read_only" property set to true.
You can also get this value directly for a message:
/messages/id/4811/read_only