Skip to content

Instantly share code, notes, and snippets.

@fillerwriter
Forked from grayside/timeline.json
Created March 30, 2015 13:14
Show Gist options
  • Save fillerwriter/e6208e2f9047767c632e to your computer and use it in GitHub Desktop.
Save fillerwriter/e6208e2f9047767c632e to your computer and use it in GitHub Desktop.
{
"emptyImage": "http://crisis.rwdev.org/img/overview-map.jpg",
"items": {
"type": "request",
"source": "reliefweb",
"method": "POST",
"path": "v1/reports?limit=50&fields[include][0]=date&fields[include][1]=headline&fields[include][2]=primary_country&fields[include][3]=url",
"payload": {
"filter": {
"operator": "AND",
"conditions": [
{
"field": "headline.featured"
},
{
"field": "date.original",
"value": {
"from": "2011-04-25T07:00:00+00:00"
}
},
{
"field": "country",
"value": ["Iraq", "Syria"],
"operator": "OR"
},
{
"field": "primary_country.name",
"value": "World",
"negate": true
}
]
},
"sort": [ "date.original:desc" ]
},
"selector": "$.data",
"fallback": []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment