if anyone has any api questions i gocha

theres also github.com/wulliy/wasteof2-docs

github.com/wulliy/wasteof-docs

May 11, 2023, 2:51 PM
7 2 14

comments (single view)

How do you mark a message as read (what’s the request schema)? Thanks!

POST /messages/mark/read

i think the body is like

{  message: "MESSAGE_ID" } 

but i cant verify

you get MESSAGE_ID by GET /messages/unread

I think there may be a way to mark multiple messages as read, but i forget and dont have the code i normally reference on hand

Thank you! Someone should write a documentation that includes the request bodies.

maybe ill pr them

oh, update, the body is

{
    messages: ["MESSAGEID1", "MESSAGEID2"]
}
View all comments