diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ef8f8b26..02b973c0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,10 @@ - Create wrapper in frontend for all API requests [#1061](https://github.com/nextcloud/cookbook/pull/1061) @christianlupus +### Removed +- Remove deprecated and no longer functional API routes from app + [#1065](https://github.com/nextcloud/cookbook/pull/1065) @christianlupus + ### Codebase maintenance - Removed codecov.io upload of intermediate merge commits during pull requests [#1028](https://github.com/nextcloud/cookbook/issues/1028) diff --git a/appinfo/routes.php b/appinfo/routes.php index 8a4bf1f32..6243f4c7f 100755 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -11,7 +11,7 @@ 'routes' => [ /* * Very important: Do not change anything here without updating the api version in MainController. - * If you add new features here, invrese the minor version of the API. + * If you add new features here, increase the minor version of the API. * If you change the behavior or remove functionality, increase the major version there. */ ['name' => 'main#getApiVersion', 'url' => '/api/version', 'verb' => 'GET'], @@ -28,10 +28,6 @@ ['name' => 'main#categoryUpdate', 'url' => '/api/category/{category}', 'verb' => 'PUT'], ['name' => 'main#tags', 'url' => '/api/tags/{keywords}', 'verb' => 'GET'], ['name' => 'main#search', 'url' => '/api/search/{query}', 'verb' => 'GET'], - /* Unknown usage */ - /* Deprecated routes */ - ['name' => 'main#new', 'url' => '/recipes/create', 'verb' => 'POST'], - ['name' => 'main#update', 'url' => '/recipes/{id}/edit', 'verb' => 'PUT', 'requirements' => ['id' => '\d+']], ], /* API resources */ diff --git a/docs/dev/api/0.0.2/index.html b/docs/dev/api/0.0.2/index.html index f22ad2818..6dd41b004 100644 --- a/docs/dev/api/0.0.2/index.html +++ b/docs/dev/api/0.0.2/index.html @@ -4,9 +4,9 @@