robosats/api/urls.py

17 lines
506 B
Python
Raw Normal View History

from django.urls import path
from .views import MakerView, OrderView, UserView, BookView, InfoView, RewardView
urlpatterns = [
2022-02-17 19:50:10 +00:00
path("make/", MakerView.as_view()),
path("order/",OrderView.as_view({
2022-02-17 19:50:10 +00:00
"get": "get",
"post": "take_update_confirm_dispute_cancel"
}),
),
path("user/", UserView.as_view()),
path("book/", BookView.as_view()),
# path('robot/') # Profile Info
2022-02-17 19:50:10 +00:00
path("info/", InfoView.as_view()),
path("reward/", RewardView.as_view()),
2022-02-17 19:50:10 +00:00
]