2023-03-19 20:47:15 +08:00
|
|
|
from django.conf.urls import url
|
2023-04-23 12:00:59 +08:00
|
|
|
from .apis import SeadocAccessToken, SeadocUploadLink, SeadocDownloadLink, SeadocUploadFile
|
2023-03-19 20:47:15 +08:00
|
|
|
|
|
|
|
urlpatterns = [
|
2023-04-23 12:00:59 +08:00
|
|
|
url(r'^access-token/(?P<repo_id>[-0-9a-f]{36})/$', SeadocAccessToken.as_view(), name='seadoc_access_token'),
|
|
|
|
url(r'^upload-file/(?P<file_uuid>[-0-9a-f]{36})/$', SeadocUploadFile.as_view(), name='seadoc_upload_file'),
|
2023-03-19 20:47:15 +08:00
|
|
|
url(r'^upload-link/(?P<file_uuid>[-0-9a-f]{36})/$', SeadocUploadLink.as_view(), name='seadoc_upload_link'),
|
|
|
|
url(r'^download-link/(?P<file_uuid>[-0-9a-f]{36})/$', SeadocDownloadLink.as_view(), name='seadoc_download_link'),
|
|
|
|
]
|