feat: add legacy device migration flow
This commit is contained in:
@@ -12,6 +12,8 @@ from .views import (
|
||||
GenerateImageView,
|
||||
GenerateTitleView,
|
||||
ModelsView,
|
||||
MigrationRequestCreateView,
|
||||
MigrationRequestDetailView,
|
||||
RechargeCreateView,
|
||||
RechargeStatusView,
|
||||
WechatRechargeCallbackView,
|
||||
@@ -30,6 +32,16 @@ urlpatterns = [
|
||||
DeviceHeartbeatView.as_view(),
|
||||
name="api-client-device-heartbeat",
|
||||
),
|
||||
path(
|
||||
"v1/client/migration-requests",
|
||||
MigrationRequestCreateView.as_view(),
|
||||
name="api-client-migration-request-create",
|
||||
),
|
||||
path(
|
||||
"v1/client/migration-requests/<uuid:request_id>",
|
||||
MigrationRequestDetailView.as_view(),
|
||||
name="api-client-migration-request-detail",
|
||||
),
|
||||
path(
|
||||
"v1/client/releases/latest",
|
||||
ClientLatestReleaseView.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user