Beispiel #1
0
     LocationTypeAllowedGeometryDetail.as_view()),
 url(r'^api/location-site/cluster/$', LocationSiteClusterList.as_view()),
 url(r'^api/location-site/$', LocationSiteList.as_view()),
 url(r'^api/location-site-detail/$',
     LocationSiteDetail.as_view(),
     name='location-site-detail'),
 url(r'^api/taxon/(?P<pk>[0-9]+)/$',
     TaxonDetail.as_view()),
 url(r'^api/cluster/(?P<administrative_level>\w+)/$',
     ClusterList.as_view()),
 url(r'^api/collection/extent/$',
     GetCollectionExtent.as_view()),
 url(r'^api/collection/cluster/$',
     ClusterCollection.as_view()),
 url(r'^api/collection/download/$',
     CollectionDownloader.as_view()),
 url(r'^collection/check_process/$',
     CollectionDownloader.as_view()),
 url(r'^api/search/$',
     SearchObjects.as_view(), name='search-api'),
 url(r'^api/boundary/geojson$',
     BoundaryGeojson.as_view(), name='boundary-geojson'),
 url(r'^api/list-boundary/$',
     BoundaryList.as_view(), name='list-boundary'),
 url(r'^api/list-user-boundary/$',
     UserBoundaryList.as_view(), name='list-user-boundary'),
 url(r'^api/list-collector/$',
     CollectorList.as_view(), name='list-collector'),
 url(r'^api/list-category/$',
     CategoryList.as_view(), name='list-date-category'),
 url(r'^api/list-reference/$',
Beispiel #2
0
from bims.views.collection_upload import CollectionUploadView

api_urls = [
    url(r'^api/location-type/(?P<pk>[0-9]+)/allowed-geometry/$',
        LocationTypeAllowedGeometryDetail.as_view()),
    url(r'^api/location-site/cluster/$', LocationSiteClusterList.as_view()),
    url(r'^api/location-site/$', LocationSiteList.as_view()),
    url(r'^api/location-site/(?P<pk>[0-9]+)/$',
        LocationSiteDetail.as_view(),
        name='location-site-detail'),
    url(r'^api/taxon/(?P<pk>[0-9]+)/$', TaxonDetail.as_view()),
    url(r'^api/cluster/(?P<administrative_level>\w+)/$',
        ClusterList.as_view()),
    url(r'^api/collection/extent/$', GetCollectionExtent.as_view()),
    url(r'^api/collection/cluster/$', ClusterCollection.as_view()),
    url(r'^api/collection/download/$', CollectionDownloader.as_view()),
    url(r'^collection/check_process/$', CollectionDownloader.as_view()),
    url(r'^api/search/$', SearchObjects.as_view(), name='search-api'),
    url(r'^api/list-collector/$',
        CollectorList.as_view(),
        name='list-collector'),
    url(r'^api/list-category/$',
        CategoryList.as_view(),
        name='list-date-category'),
    url(r'^api/list-non-biodiversity/$',
        NonBiodiversityLayerList.as_view(),
        name='list-non-biodiversity-layer'),
    url(r'^api/validate-object/$',
        ValidateObject.as_view(),
        name='validate-object'),
    url(r'^api/get-bio-object/$',
Beispiel #3
0
     name='location-sites-endemism-chart-data'),
 url(r'^location-sites-occurrences-chart-data/$',
     OccurrencesChartData.as_view(),
     name='location-sites-occurrences-chart-data'),
 url(r'^location-sites-cons-chart-data/$',
     LocationSitesConservationChartData.as_view(),
     name='location-sites-cons-chart-data'),
 url(r'^location-sites-taxa-chart-data/$',
     LocationSitesTaxaChartData.as_view(),
     name='location-sites-taxa-chart-data'),
 url(r'^location-sites-coordinate/$',
     LocationSitesCoordinate.as_view(),
     name='location-sites-coordinate'),
 url(r'^taxon/(?P<pk>[0-9]+)/$', TaxonDetail.as_view()),
 url(r'^cluster/(?P<administrative_level>\w+)/$', ClusterList.as_view()),
 url(r'^collection/download/$', CollectionDownloader.as_view()),
 url(r'^chemical-record/download/$', ChemicalRecordDownloader.as_view()),
 url(r'^collection-search/$',
     CollectionSearchAPIView.as_view(),
     name='collection-search'),
 url(r'^boundary/geojson$',
     BoundaryGeojson.as_view(),
     name='boundary-geojson'),
 url(r'^list-boundary/$', BoundaryList.as_view(), name='list-boundary'),
 url(r'^list-user-boundary/$',
     UserBoundaryList.as_view(),
     name='list-user-boundary'),
 url(r'^list-collector/$', CollectorList.as_view(), name='list-collector'),
 url(r'^list-category/$', CategoryList.as_view(),
     name='list-date-category'),
 url(r'^list-reference/$', ReferenceList.as_view(), name='list-reference'),