json/v1.0/estimate.json in sk_api_schema-0.7.8 vs json/v1.0/estimate.json in sk_api_schema-0.7.9
- old
+ new
@@ -284,9 +284,30 @@
"href": "estimates/{id}/comments"
},
{ "rel": "emails",
"href": "estimates/{id}/emails"
},
+ { "rel": "emails create",
+ "href": "estimates/{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)."
+ }
+ }
+ },
{ "rel": "print",
"href": "estimates/{id}/print",
"method": "POST",
"properties" : {
"template_id" : {