Add v1 shortener: Bearer API, public 302, landing, and CI.
CI / test (pull_request) Successful in 6s
CI / test (pull_request) Successful in 6s
Standalone Django service so callers can mint links and phones get a 302. Closes #1.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from django.urls import path
|
||||
|
||||
from links import api
|
||||
|
||||
urlpatterns = [
|
||||
path("", api.links_collection, name="links-collection"),
|
||||
path("<str:code>/", api.link_detail, name="links-detail"),
|
||||
path("<str:code>/disable/", api.link_disable, name="links-disable"),
|
||||
]
|
||||
Reference in New Issue
Block a user