Skip to content

Instantly share code, notes, and snippets.

@zubairov
Created July 31, 2015 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zubairov/cad0c4adcbf911b4a11f to your computer and use it in GitHub Desktop.
Save zubairov/cad0c4adcbf911b4a11f to your computer and use it in GitHub Desktop.
"actions":{
"send":{
"main":"./send.js",
"title":"Send Mail",
"metadata": {
"in": {
"type": "object",
"properties": {
"to": {
"title":"To",
"type": "string",
"required": true
},
"subject": {
"title":"Subject",
"type": "string",
"required": true
},
"textBody": {
"title": "Body",
"type": "string",
"required": true,
"maxLength": 1000
}
}
},
"out" : {
"type" : "object",
"properties": {
"MessageID": {
"type": "string"
},
"SubmittedAt": {
"type": "string"
},
"To": {
"type": "string"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment