<filename>django_xsede_warehouse/glue2_views_api/urls.py
from django.conf.urls import include, url
from glue2_views_api.views import *

# Define our custom URLs
# Additionally, we include login URLs for the browseable API.
urlpatterns = [
#    url(r'^applicationenvironment/$',
#        ApplicationEnvironment_List.as_view(),
#        name='applicationenvironment-list'),
    url(r'^software/$', Software_List.as_view(), name='software-list'),
    url(r'^software/ID/(?P<id>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),
    url(r'^software/ResourceID/(?P<resourceid>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),
    url(r'^software/AppName/(?P<appname>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),
               
    url(r'^software-spf/$', Software_List.as_view(), name='software-list'),
    url(r'^software-spf/ID/(?P<id>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),
    url(r'^software-spf/ResourceID/(?P<resourceid>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),
    url(r'^software-spf/AppName/(?P<appname>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),

    url(r'^services/$', Services_List.as_view(), name='services-list'),
    url(r'^services/ID/(?P<id>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services/ResourceID/(?P<resourceid>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services/InterfaceName/(?P<interfacename>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services/ServiceType/(?P<servicetype>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),

    url(r'^services-spf/$', Services_List.as_view(), name='services-list'),
    url(r'^services-spf/ID/(?P<id>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services-spf/ResourceID/(?P<resourceid>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services-spf/InterfaceName/(?P<interfacename>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services-spf/ServiceType/(?P<servicetype>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),

    url(r'^jobqueue/$', Jobqueue_List.as_view(), name='jobsqueue-list'),
    url(r'^jobqueue/ResourceID/(?P<resourceid>[^/]+)/$', Jobqueue_List.as_view(), name='jobsqueue-list'),
    url(r'^jobs/$', Jobqueue_List.as_view(), name='jobsqueue-list'),
    url(r'^jobs/ResourceID/(?P<resourceid>[^/]+)/$', Jobqueue_List.as_view(), name='jobsqueue-list'),
    url(r'^jobs2/ID/(?P<id>[^/]+)/$', Job_Detail.as_view(), name='jobs-detail'),
    url(r'^jobs2/ResourceID/(?P<resourceid>[^/]+)/$', Job_List.as_view(), name='jobs-list'),
    url(r'^userjobs/ResourceID/(?P<resourceid>[^/]+)/$', Jobs_per_Resource_by_ProfileID.as_view(), name='jobs-profileid'),
    url(r'^userjobs/$', Jobs_by_ProfileID.as_view(), name='jobs-profileid'),
    url(r'^jobs2/ResourceID/(?P<resourceid>[^/]+)/Queue/(?P<queue>[^/]+)/$', Job_List.as_view(), name='jobs-list'),
    url(r'^jobs2/ResourceID/(?P<resourceid>[^/]+)/LocalAccount/(?P<localaccount>[^/]+)/$', Job_List.as_view(), name='jobs-list'),
]

<filename>django_xsede_warehouse/glue2_views_api/urls.py
from django.conf.urls import include, url
from glue2_views_api.views import *

# Define our custom URLs
# Additionally, we include login URLs for the browseable API.
urlpatterns = [
#    url(r'^applicationenvironment/$',
#        ApplicationEnvironment_List.as_view(),
#        name='applicationenvironment-list'),
    url(r'^software/$', Software_List.as_view(), name='software-list'),
    url(r'^software/ID/(?P<id>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),
    url(r'^software/ResourceID/(?P<resourceid>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),
    url(r'^software/AppName/(?P<appname>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),
               
    url(r'^software-spf/$', Software_List.as_view(), name='software-list'),
    url(r'^software-spf/ID/(?P<id>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),
    url(r'^software-spf/ResourceID/(?P<resourceid>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),
    url(r'^software-spf/AppName/(?P<appname>[^/]+)/$', Software_Detail.as_view(), name='software-detail'),

    url(r'^services/$', Services_List.as_view(), name='services-list'),
    url(r'^services/ID/(?P<id>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services/ResourceID/(?P<resourceid>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services/InterfaceName/(?P<interfacename>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services/ServiceType/(?P<servicetype>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),

    url(r'^services-spf/$', Services_List.as_view(), name='services-list'),
    url(r'^services-spf/ID/(?P<id>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services-spf/ResourceID/(?P<resourceid>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services-spf/InterfaceName/(?P<interfacename>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),
    url(r'^services-spf/ServiceType/(?P<servicetype>[^/]+)/$', Services_Detail.as_view(), name='services-detail'),

    url(r'^jobqueue/$', Jobqueue_List.as_view(), name='jobsqueue-list'),
    url(r'^jobqueue/ResourceID/(?P<resourceid>[^/]+)/$', Jobqueue_List.as_view(), name='jobsqueue-list'),
    url(r'^jobs/$', Jobqueue_List.as_view(), name='jobsqueue-list'),
    url(r'^jobs/ResourceID/(?P<resourceid>[^/]+)/$', Jobqueue_List.as_view(), name='jobsqueue-list'),
    url(r'^jobs2/ID/(?P<id>[^/]+)/$', Job_Detail.as_view(), name='jobs-detail'),
    url(r'^jobs2/ResourceID/(?P<resourceid>[^/]+)/$', Job_List.as_view(), name='jobs-list'),
    url(r'^userjobs/ResourceID/(?P<resourceid>[^/]+)/$', Jobs_per_Resource_by_ProfileID.as_view(), name='jobs-profileid'),
    url(r'^userjobs/$', Jobs_by_ProfileID.as_view(), name='jobs-profileid'),
    url(r'^jobs2/ResourceID/(?P<resourceid>[^/]+)/Queue/(?P<queue>[^/]+)/$', Job_List.as_view(), name='jobs-list'),
    url(r'^jobs2/ResourceID/(?P<resourceid>[^/]+)/LocalAccount/(?P<localaccount>[^/]+)/$', Job_List.as_view(), name='jobs-list'),
]

# Define our custom URLs # Additionally, we include login URLs for the browseable API. #    url(r'^applicationenvironment/$', #        ApplicationEnvironment_List.as_view(), #        name='applicationenvironment-list'),