json/v1.0/contact.json in sk_api_schema-0.7.8 vs json/v1.0/contact.json in sk_api_schema-0.7.9
- old
+ new
@@ -353,8 +353,29 @@
{ "rel": "comments",
"href": "contacts/{id}/comments"
},
{ "rel": "emails",
"href": "contacts/{id}/emails"
+ },
+ { "rel": "emails create",
+ "href": "contacts/{id}/emails",
+ "method": "POST",
+ "properties" : {
+ "template_id":{
+ "title" : "Template",
+ "description": "UUID of an email template to use. If present template fields like subject, body, attachments are used for the current email.",
+ "type":"string",
+ "maxLength": 22,
+ "minLength":22
+ },
+ "send":{
+ "title" : "Send email",
+ "description": "Schedule email for sending. Omit this parameter or set value to 0 or false(String or Integer) to keep email as draft."
+ },
+ "archived_pdf":{
+ "title" : "Attach archived pdf",
+ "description": "Adds the archived pdf from the related resource(if it has one)."
+ }
+ }
}
]
}
\ No newline at end of file