json/v1.0/recurring.json in sk_api_schema-0.0.18 vs json/v1.0/recurring.json in sk_api_schema-0.1.0
- old
+ new
@@ -86,11 +86,11 @@
"type":"string"
},
"line_items":{
"description": "Line items for the document",
"type":"array",
- "properties":{"$ref":"./address.json#properties"}
+ "properties":{"$ref":"./line_item.json#properties"}
},
"created_at":{
"description": "Date the object was created in SK. Never changes afterwards.",
"format":"date-time",
"readonly":true,
@@ -142,10 +142,15 @@
"page":{
"title" : "Page",
"description": "In paginated results set the page to look for",
"type":"number"
},
+ "per_page":{
+ "title" : "Per page",
+ "description": "Results per page. Default is 10, max is 100",
+ "type":"number"
+ },
"filter[q]":{
"title" : "Search",
"description": "Search in title, number, addressfield",
"type":"string"
},
@@ -154,14 +159,16 @@
"description": "Filter by a space delimited list of tags",
"type":"string"
},
"filter[from]":{
"title" : "From date",
- "description": "All objects with a date after the date"
+ "description": "All objects with a date after the date",
+ "type" : "date"
},
"filter[to]":{
"title" : "To date",
- "description": "All objects with date before the date"
+ "description": "All objects with date before the date",
+ "type" : "date"
},
"sort_by":{
"title" : "Sort by",
"description": "Sort the results by the given field => number",
"enum":["title", "number", "created_at", "updated_at", "client_id", "price_total"],