Skip to content

Commit

Permalink
Get rid of unused apis
Browse files Browse the repository at this point in the history
  • Loading branch information
btb committed Dec 7, 2018
1 parent afc201f commit e79cfb5
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 124 deletions.
13 changes: 1 addition & 12 deletions ems_wheniwork/urls.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
from django.conf.urls import include, url
from django.views.defaults import page_not_found
from django.conf.urls import url

from .views import serviceorders
from .views.api.booking import Booking
from .views.api.building import Building
from .views.api.schedule import Schedule
from .views.api.serviceorder import ServiceOrder
from .views.api.shift import Shift
from .views.api.status import Status

urlpatterns = [
url(r'^$', serviceorders.index, name='ems_wheniwork'),

# Basic EMS data
url(r'^api/v1/booking/$', Booking().run),
url(r'^api/v1/building/$', Building().run),
url(r'^api/v1/serviceorder/$', ServiceOrder().run),
url(r'^api/v1/status/$', Status().run),

url(r'^api/v1/shift/(?P<shift_id>\d+)?$', Shift().run),
url(r'^api/v1/schedule/$', Schedule().run),
]
36 changes: 0 additions & 36 deletions ems_wheniwork/views/api/booking.py

This file was deleted.

23 changes: 0 additions & 23 deletions ems_wheniwork/views/api/building.py

This file was deleted.

25 changes: 0 additions & 25 deletions ems_wheniwork/views/api/serviceorder.py

This file was deleted.

28 changes: 0 additions & 28 deletions ems_wheniwork/views/api/status.py

This file was deleted.

0 comments on commit e79cfb5

Please sign in to comment.