API
Documentation and guides for the developers.
Reference
Guides
42 Api 2.0
Locations
Locations
The location of an user in a
campus
GET /v2/locations/graph(/on/:field(/by/:interval))
Return grouped temporal data on locations
See more
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
See more
GET /v2/locations/:id
Get a location
See more
vpn_key
POST /v2/locations
Create a location
POST /v2/users/:user_id/locations
Create a location for the given User
See more
vpn_key
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
See more
vpn_key
DELETE /v2/locations/:id
Destroy a location
See more
vpn_key
DELETE /v2/campus/:campus_id/locations/end_all
End all locations.
See more
↑ Scroll to top
#graph
#index
#show
#create
#update
#destroy
#end_all
Feedback