Skip to content

Latest commit

 

History

History
113 lines (71 loc) · 2.67 KB

message.md

File metadata and controls

113 lines (71 loc) · 2.67 KB

Message

Get a Message

GET /posts/{message_id}.json

tw.messages.get(message_id)

Update a Message

PUT /posts/{message_id}.json

tw.messages.update(message_id, body)

Archive a Message

PUT /messages/{message_id}/archive.json

tw.messages.archive(message_id)

Unarchive a message

PUT /messages/{message_id}/unarchive.json

tw.messages.unArchive(message_id)

Delete a Message

DELETE /posts/{message_id}.json

tw.messages.delete(message_id)

Mark a Message as Read

PUT /messages/{message_id}/markread.json

tw.messages.read(message_id)

Create a Message Reply

POST /messages/{message_id}/messageReplies.json

tw.messages.createReply(message_id, body)

Get a Message Reply

GET /messageReplies/{message_id}.json

tw.messages.getReply(message_id)

Get Replies from a Message

GET /messages/{message_id}/replies.json

tw.messages.getReplies(message_id, query_string)

Update a Message Reply

PUT /messageReplies/{message_id}.json

tw.messages.updateReply(message_id, body)

Delete a Reply

DELETE /messageReplies/{message_id}.json

tw.messages.deleteReply(message_id)

Mark Reply as Read

PUT /messageReplies/{message_id}/markread.json

tw.messages.readReply(message_id)

Get Tags from a Message

GET /messages/{message_id}/tags.json

tw.messages.getTags(message_id, query_string)

Update a Tag on a Message

PUT /messages/{message_id}/tags.json

tw.messages.updateTag(message_id, body)