-
Notifications
You must be signed in to change notification settings - Fork 3
Records
William Calderipe edited this page Jun 29, 2016
·
1 revision
{
geolocation: {
type: [Number],
index: '2d'
},
category: String,
date: Date,
createdAt: {
type: Date,
default: Date.now
}
}
GET /reports/:lat,:long
Get reports from an specific point.
Optional querystring parameters.
Parameter | Description |
---|---|
radius | Get all reports inside a radius where the center point is the latitude and longitude specified. |
group | TODO |
POST /reports
Create a new report.