# - - path: messages/{message_id}/read_by/ method: get # - - path: messages/{message_id}/tree/{node_id}/ method: get # - - path: messages/{message_id}/tree/{node_id}/updates/ method: get version_used: v2 # - - path: messages/{message_id}/tree/{node_id}/updates/ method: get version_used: v1 v1: query: limit: int after: str? response: items: array[comment] search_metadata: search_metadata? # - - path: messages method: get query: limit: int after: str? response: items: array[message] after: str? # - - path: messages method: post body: text: str receiver_id: str response: 200: message 4xx: err: str 401: code: int # - - path: messages/{message_id} method: delete # - - path: messages/search/{user_id} method: get # - - path: messages/read method: post body: message_id: str