Files
url_shortening_service/site/links/urls.py
T
westfarn 143ac7c6d0
CI / test (pull_request) Successful in 6s
Add v1 shortener: Bearer API, public 302, landing, and CI.
Standalone Django service so callers can mint links and phones get a 302.
Closes #1.
2026-08-30 06:54:32 -05:00

10 lines
268 B
Python

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"),
]