You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kim Rostgaard Christensen edited this page Apr 16, 2014
·
2 revisions
Drafts
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.
Creating a new draft
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.
Updating an existing draft
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.
Getting a list current drafts
GET /message/draft/list
Returns the draft list associated with current the client.
Delete a draft
DELETE /message/draft/<draft_id>/
Deletes the draft list associated with current the client.