robosats/api/urls.py
2022-01-08 06:51:55 -05:00

10 lines
407 B
Python

from django.urls import path
from .views import OrderMakerView, OrderView, UserView, BookView, get_currencies_json
urlpatterns = [
path('make/', OrderMakerView.as_view()),
path('order/', OrderView.as_view({'get':'get','post':'take_update_confirm_dispute_cancel'})),
path('usergen/', UserView.as_view()),
path('book/', BookView.as_view()),
path('currencies/', get_currencies_json),
]