From b647ef78ef3185c65644dfa82f2465f45004b5ce Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Jun 04 2018 12:27:12 +0000 Subject: Add back API docs for /api/v1.0/version endpoint Fixes Sphinx warning (treated as error in CI) for a missing link to the removed documentation. --- diff --git a/greenwave/api_v1.py b/greenwave/api_v1.py index 1b5da5c..28a9913 100644 --- a/greenwave/api_v1.py +++ b/greenwave/api_v1.py @@ -12,6 +12,9 @@ api = (Blueprint('api_v1', __name__)) @api.route('/version', methods=['GET']) def version(): + """ + Deprecated in favour of (and redirected to) :http:get:`/api/v1.0/about`. + """ return redirect(url_for('api_v1.about'))