json/v1.0/email.json in sk_api_schema-0.7.7 vs json/v1.0/email.json in sk_api_schema-0.7.8

- old
+ new

@@ -112,18 +112,15 @@ "filter[q]":{ "title" : "Search", "description": "Search in body and subject", "type":"string" }, - "filter[sent]":{ - "title" : "Sent emails", - "description": "Show only sent emails" + "filter[status]":{ + "title" : "Emails by status", + "description": "Show only sent, draft or emails in progress. The status is virtual and checks the delivered_at and in_progress field values.", + "enum":["draft", "sent", "in_progress" ] }, - "filter[draft]":{ - "title" : "Draft emails", - "description": "Show only draft emails" - }, "filter[address]":{ "title" : "Search in address", "description": "Searches in all address fields: bcc, cc, to, from" }, "filter[from]":{ @@ -138,10 +135,10 @@ "format" : "date", "type" : "string" }, "sort_by":{ "title" : "Sort by", - "description": "Sort the results by the given field => number", + "description": "Sort the results by the given field", "enum":["created_at", "updated_at"], "type": "string" }, "sort":{ "title" : "Sort", \ No newline at end of file