diff --git a/src/api/urls.py b/src/api/urls.py index b5d7f69..8280233 100644 --- a/src/api/urls.py +++ b/src/api/urls.py @@ -9,7 +9,7 @@ from .models import (UserResource, EmailAddressResource, MessageResource, from .views import VoteView -api = Api(api_name='colab') +api = Api(api_name='v1') api.register(UserResource()) api.register(EmailAddressResource()) api.register(MessageResource()) diff --git a/src/templates/open-data.html b/src/templates/open-data.html index f116f49..f6d45b2 100644 --- a/src/templates/open-data.html +++ b/src/templates/open-data.html @@ -4,14 +4,14 @@ {% block main-content %}
{% trans "If you are interested in integrating your system with the Colab environment and requires no other data provided by this API, please contact us via the ticketing system (you must be registered in order to create a ticket)." %}
+{% trans "If you are interested in any other data that is not provided by this API, please contact us via the ticketing system (you must be registered in order to create a ticket)." %}
{% trans "Colab API works through an HTTP/REST always returning JSON objects." %}
+{% trans "Colab API works through HTTP/REST and always returning JSON objects." %}
{% trans "The base API URL is" %}: - {% with "/api/colab/" as BASE_API_URL %} - http://colab.interlegis.leg.br{{ BASE_API_URL }} + {% url 'api_v1_top_level' api_name='v1' as BASE_API_URL %} + {{ BASE_API_URL }}