diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2020-10-07 20:43:55 +0200 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2020-10-08 12:10:10 +0200 |
commit | a99294cfc05282215470a2ee232f2438cc256c02 (patch) | |
tree | 1cca0e30dde40414d4254c2703fa84c7dad49dcf /apps/weather_status/appinfo | |
parent | ae596362273d9232ee9ef2814a23d738eb68aeb6 (diff) | |
download | nextcloud-server-a99294cfc05282215470a2ee232f2438cc256c02.tar.gz nextcloud-server-a99294cfc05282215470a2ee232f2438cc256c02.zip |
add favorite weather locations
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'apps/weather_status/appinfo')
-rw-r--r-- | apps/weather_status/appinfo/routes.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/weather_status/appinfo/routes.php b/apps/weather_status/appinfo/routes.php index 6218595a381..8737bfd2dc6 100644 --- a/apps/weather_status/appinfo/routes.php +++ b/apps/weather_status/appinfo/routes.php @@ -30,5 +30,7 @@ return [ ['name' => 'WeatherStatus#getLocation', 'url' => '/api/v1/location', 'verb' => 'GET'], ['name' => 'WeatherStatus#setLocation', 'url' => '/api/v1/location', 'verb' => 'PUT'], ['name' => 'WeatherStatus#getForecast', 'url' => '/api/v1/forecast', 'verb' => 'GET'], + ['name' => 'WeatherStatus#getFavorites', 'url' => '/api/v1/favorites', 'verb' => 'GET'], + ['name' => 'WeatherStatus#setFavorites', 'url' => '/api/v1/favorites', 'verb' => 'PUT'], ], ]; |