Raindrop/WebApis: Difference between revisions

(describe a little about the api mechanics)
Line 75: Line 75:


=== Specific API calls ===
=== Specific API calls ===
* '''/raindrop/_api/inflow/conversations/home''': Gives most recent direct and group messages as specified by the rd.msg.recip-target schema. If the message is just to you or you are included in a message with other people it will show up in this list.
* '''/raindrop/_api/inflow/conversations/personal''': Gives most recent "direct" and "group" messages as specified by the rd.msg.recip-target schema. If the message is just to you or you are included in a message with other people it will show up in this list.
* '''/raindrop/_api/inflow/conversations/broadcast''': Gives most recent direct and group messages as specified by the rd.msg.recip-target schema. If it is a mailing list, or some email from a machine instead of a person it will show up in this list.
* '''/raindrop/_api/inflow/conversations/impersonal''': Gives most recent "broadcast" and "notification" messages as specified by the rd.msg.recip-target schema. If it is a mailing list, or some email from a machine instead of a person it will show up in this list.
* '''/raindrop/_api/inflow/conversations/by_id''' Gives all messages for a given conversation_id. Takes these parameters:
* '''/raindrop/_api/inflow/conversations/by_id''' Gives all messages for a given conversation_id. Takes these parameters:
** '''key''': The conversation_id from a rd.msg.conversation schema. It should be formated as valid JSON (so surrounded by double-quotes) and URL encoded. For instance: %224AF4ABED.1050204%40example.com%22
** '''key''': The conversation_id from a rd.msg.conversation schema. It should be formated as valid JSON (so surrounded by double-quotes) and URL encoded. For instance: %224AF4ABED.1050204%40example.com%22
109

edits