-
Notifications
You must be signed in to change notification settings - Fork 3
Protocol Message Draft
Kim Rostgaard Christensen edited this page Apr 16, 2014
·
2 revisions
The draft system is very simple. It merely stores, retrieves and deletes non-constrained objects (JSON fomatted) on the server. In contrast to the message API, draft visibility and operations are restricted to the owner.
POST /message/draft
With a <draft_object>
in the body of the request.
Pushes a the supplied <draft_object>
into draft list of the client.
PUT /message/draft/<draft_id>/
With a <draft_object>
in the body of the request.
Pushes a new version of the <draft_object>
into draft list of the client.
GET /message/draft/list
Returns the draft list associated with current the client.
DELETE /message/draft/<draft_id>/
Deletes the draft list associated with current the client.