{% extends "default.html" %} {% block body %}
A REST API that allows queries against the crumby database.
Queries that require a date range will default to the last 30 days. Provide days or from and to for a custom date range.
int: number of consecutive days to retrieve before today.
Example: {{ config.DOMAIN }}/api/{{collection}}/locations?days=60
str in form YYY-MM-DD: start and end date of date range.
Example: {{ config.DOMAIN }}/api/{{collection}}/locations?from=2016-09-01&to=2017-02-20
{% endif %}