CenterAppExportView.as_view()), # 应用导入 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/upload$', CenterAppUploadView.as_view()), # 应用包目录查询 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/dir$', CenterAppTarballDirView.as_view()), # 应用导入记录 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/record$', ImportingRecordView.as_view()), # 正在导入的应用查询 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/importing-apps$', CenterAppImportingAppsView.as_view()), # 应用导入状态查询 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/(?P<event_id>[\w\-]+)$', CenterAppImportView.as_view()), # 应用下载 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/export/down$', ExportFileDownLoadView.as_view()), # 获取自定义角色时可给角色绑定的权限选项 url(r'^teams/operate_options$', PermOptionsView.as_view()), # 获取三方服务自定义角色时可给角色绑定的权限选项 url(r'^teams/three_service/operate_options$', ThreeServicePermOptionsView.as_view()), # 在一个团队中创建一个角色 url(r'^teams/(?P<team_name>[\w\-]+)/add-role$', TeamAddRoleView.as_view()), # 在一个团队中删除一个角色 url(r'^teams/(?P<team_name>[\w\-]+)/del-role$', TeamDelRoleView.as_view()), # 在一个团队中修改角色名称及角色对应的权限 url(r'^teams/(?P<team_name>[\w\-]+)/update_role_perms$',
url(r'^teams/(?P<tenantName>[\w\-]+)/enterprise/active/optimiz$', BindMarketEnterpriseOptimizAccessTokenView.as_view()), # 获取数据中心协议 url(r'^teams/(?P<tenantName>[\w\-]+)/protocols$', RegionProtocolView.as_view()), # 应用导出 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/export$', CenterAppExportView.as_view()), # 应用导入 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/upload$', CenterAppUploadView.as_view()), # 应用包目录查询 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/dir$', CenterAppTarballDirView.as_view()), # 应用导入记录 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/record$', ImportingRecordView.as_view()), # 正在导入的应用查询 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/importing-apps$', CenterAppImportingAppsView.as_view()), # 应用导入状态查询 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/import/(?P<event_id>[\w\-]+)$', CenterAppImportView.as_view()), # 应用下载 url(r'^teams/(?P<tenantName>[\w\-]+)/apps/export/down$', ExportFileDownLoadView.as_view()), # 获取自定义角色时可给角色绑定的权限选项 url(r'^teams/operate_options$', PermOptionsView.as_view()), # 获取第三方组件自定义角色时可给角色绑定的权限选项 url(r'^teams/three_service/operate_options$', ThreeServicePermOptionsView.as_view()), # 在一个团队中创建一个角色 url(r'^teams/(?P<team_name>[\w\-]+)/add-role$', TeamAddRoleView.as_view()), # 在一个团队中删除一个角色 url(r'^teams/(?P<team_name>[\w\-]+)/del-role$', TeamDelRoleView.as_view()), # 在一个团队中修改角色名称及角色对应的权限 url(r'^teams/(?P<team_name>[\w\-]+)/update_role_perms$', UserUpdatePemView.as_view()), # 获取一个团队中所有可展示的的角色及角色对应的权限信息展示(不含owner) url(r'^teams/(?P<team_name>[\w\-]+)/role-list$', UserRoleView.as_view()),