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
Paul Dilyard edited this page Sep 29, 2015
·
2 revisions
*Create a new email (and send it)
POST/emailsAuth->admin{"subject": String,"body": String,// markdown formatted"recipients": {"nickname": String,// optional, a nickname for this group of people"emails": [String]}}HTTP/1.1201Created{"_id": String"subject": String,"body": String,// markdown formatted"recipients": {"nickname": String,// optional, a nickname for this group of people"emails": [String]}}
Get a list of sent emails
GET/emailsAuth->admin,staffHTTP/1.1200OK{"emails": [{"_id": String,"subject": String,"sent": Date,"body": String,// markdown formatted"recipients": {"nickname": String,// if a nickname was provided"emails": [String]// if a nickname was not provided}}]}