GET /v2/locations/graph(/on/:field(/by/:interval))
Return grouped temporal data on locations


GET /v2/locations
Return all the locations

GET /v2/users/:user_id/locations
Return all the locations of the given User

GET /v2/campus/:campus_id/locations
Return all the locations of the given Campus



POST /v2/locations
Create a location

POST /v2/users/:user_id/locations
Create a location for the given User


PATCH /v2/locations/:id
Update a location

PUT /v2/locations/:id
Update a location

PATCH /v2/users/:user_id/locations/:id
Update a location for the given Id, associated with the given User

PUT /v2/users/:user_id/locations/:id
Update a location for the given Id, associated with the given User


DELETE /v2/locations/:id
Destroy a location