robosats/api/urls.py
ShatteredBunny eff58dc91d
Add stealth invoices (#210)
* Add stealth invoice switch to profile

* Add stealth invoice including only order uuid

* Add explanatory tooltip for stealth invoices and fix code smells
2022-08-12 17:41:06 +00:00

21 lines
750 B
Python

from django.urls import path
from .views import MakerView, OrderView, UserView, BookView, InfoView, RewardView, PriceView, LimitView, HistoricalView, TickView, StealthView
urlpatterns = [
path("make/", MakerView.as_view()),
path("order/",OrderView.as_view({
"get": "get",
"post": "take_update_confirm_dispute_cancel"
}),
),
path("user/", UserView.as_view()),
path("book/", BookView.as_view()),
path("info/", InfoView.as_view()),
path("price/", PriceView.as_view()),
path("limits/", LimitView.as_view()),
path("reward/", RewardView.as_view()),
path("historical/", HistoricalView.as_view()),
path("ticks/", TickView.as_view()),
path("stealth/", StealthView.as_view()),
]