Page MenuHomec4science

urls.py
No OneTemporary

File Metadata

Created
Wed, May 1, 02:28
"""
This is the Open Access Check Tool (OACT).
The publication of scientific articles as Open Access (OA), usually in the variants "Green OA" and "Gold OA", allows free access to scientific research results and their largely unhindered dissemination. Often, however, the multitude of available publication conditions makes the decision in favor of a particular journal difficult: requirements of the funding agencies and publication guidelines of the universities and colleges must be carefully compared with the offers of the publishing houses, and separately concluded publication agreements can also offer additional benefits. The "OA Compliance Check Tool" provides a comprehensive overview of the possible publication conditions for a large number of journals, especially for the Swiss university landscape, and thus supports the decision-making process.
© All rights reserved. ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, Scientific Information and Libraries, 2022
See LICENSE.TXT for more details.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see
<https://www.gnu.org/licenses/>.
"""
from django.urls import path, re_path, include
from django.conf.urls.static import static
from django.conf import settings
from .views import *
from rest_framework import routers
from rest_framework.schemas import get_schema_view
router = routers.DefaultRouter()
router.register(r'journal', JournalViewSet)
router.register(r'journal_light', JournalLightViewSet)
router.register(r'organization', OrgaViewSet)
router.register(r'funder', FunderViewSet)
router.register(r'conditionset', ConditionSetViewSet)
router.register(r'conditionset_light', ConditionSetLightViewSet)
router.register(r'term', TermViewSet)
# show table details in the API
router.register(r'country', CountryViewSet)
router.register(r'language', LanguageViewSet)
router.register(r'issn', IssnViewSet)
router.register(r'oa', OaViewSet)
router.register(r'publisher', PublisherViewSet)
router.register(r'version', VersionViewSet)
router.register(r'licence', LicenceViewSet)
router.register(r'cost_factor_type', Cost_factor_typeViewSet)
router.register(r'cost_factor', Cost_factorViewSet)
router.register(r'conditiontype', ConditionTypeViewSet)
router.register(r'JournalCondition', JournalConditionViewSet)
router.register(r'organizationCondition', OrganizationConditionViewSet)
router.register(r'organizationConditionBasic', OrganizationConditionBasicViewSet)
router.register(r'journalConditionBasic', JournalConditionBasicViewSet)
urlpatterns = [
path('', include(router.urls)),
path('openapi', get_schema_view(
title="OACT API",
description="API of the Open Access Check Tool (OACT)",
version ="1.0"
), name='openapi-schema'),
]

Event Timeline