LawinenMetor API description

URL Method Parameters Description
/register POST name, surname, email, password Creates a new user.
/users GET Fetches all the users.
/users/:id GET Fetches a single user.
/create_observation POST latitude, longitude, location, elevation, description, danger_id, user_id Creates a new observation.
/observations GET Fetches all the observations.
/danger_levels GET Fetches all the danger levels.