From f564432ac18f55c937b1c7156feea7b890bd51a9 Mon Sep 17 00:00:00 2001 From: mancini <mancini@astron.nl> Date: Thu, 11 Aug 2022 15:10:04 +0200 Subject: [PATCH] Add work-specification --- ldvspec/lofardata/templates/lofardata/index.html | 1 + ldvspec/lofardata/urls.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ldvspec/lofardata/templates/lofardata/index.html b/ldvspec/lofardata/templates/lofardata/index.html index 73d511f6..98e5e9f5 100644 --- a/ldvspec/lofardata/templates/lofardata/index.html +++ b/ldvspec/lofardata/templates/lofardata/index.html @@ -19,6 +19,7 @@ </tr> <tr><td>api data</td><td><a href="{% url 'dataproduct' %}">{% url 'dataproduct' %}</a></td></tr> <tr><td>api data-location</td><td><a href="{% url 'datalocation' %}">{% url 'datalocation' %}</a></td></tr> + <tr><td>api work-specification</td><td><a href="{% url 'workspecification' %}">{% url 'workspecification' %}</a></td></tr> <tr><td>api-schema</td><td><a href="{% url 'openapi-schema' %}">{% url 'openapi-schema' %}</a></td></tr> </tbody> diff --git a/ldvspec/lofardata/urls.py b/ldvspec/lofardata/urls.py index 11c25aab..e322ebe7 100644 --- a/ldvspec/lofardata/urls.py +++ b/ldvspec/lofardata/urls.py @@ -18,7 +18,7 @@ urlpatterns = [ path('api/v1/data-location/', views.DataLocationView.as_view(), name='datalocation'), path('api/v1/data/<int:pk>/', views.DataProductDetailsView.as_view(), name='dataproduct-detail-view-api'), path('api/v1/workspecification/', views.InsertWorkSpecification.as_view(), - name='workspecification-insert-or-list'), + name='workspecification'), path('api/v1/uws/', include('uws.urls')), path('api/v1/openapi/', get_schema_view( -- GitLab