-
Notifications
You must be signed in to change notification settings - Fork 1
Service APi
John Gardner edited this page Feb 8, 2017
·
2 revisions
GET /api/article?
where[feedname]=ABC+LOCAL&
- filter
- []
{
id: 12321
feedname: "WTTW",
url: "http://something.com"
}
GET /api/article/count?
where[feedname]=ABC+LOCAL&
groupBy[][created]=day&groupBy[]=category
where: {
feedname: "ABC LOCAL",
created: {gt: 0129219129, lt: 1929312932},
},
groupBy: ["created day", "category"],
sortBy: ["created asc"]
-
where[PROP_NAME]
String|{gt,lt,gteq, ltel}
- groupBy `Array<>
[{
created: "Nov 12",
count: 57,
category: "homicide"
}, {
created: "Nov 12",
count: 24,
category: "fraud"
}, {
created: "Nov 13",
count: 16,
category: "homicide"
}]