that is still the current endpoint and in case it is not working as expected, feel free to open an issue in the github repository:
But to support old clients and not break their behaviour by default we also set the read marker when you poll for new messages.
So in case you donāt want that but set the read-marker yourself, make sure to add setReadMarker=0 to the requests you do to fetch messages.
I am sending a POST request to /ocs/v2.php/apps/spreed/api/v1/chat/rcz2xagq/read, however, according to the response itās not a valid query.
Iām getting the following response
<ocs>
<meta>
<status>failure</status>
<statuscode>404</statuscode>
<message>Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services.
</message>
</meta>
<data/>
</ocs>
Whatās interesting is that this endpoint also doesnāt appear to be called from spreed, or any endpoint with āreadā in the URL for that matter.
It also doesnāt appear to mark the rooms as read when I fetch the messages from /ocs/v2.php/apps/spreed/api/v1/chat/MYROOMTOKEN?lookIntoFuture=0&includeLastKnown=1, although thatās actually fine with me.