MSP-3106 add new apiPath

This commit is contained in:
mikheykinnv committed 2024-04-24 11:54:18 +08:00
1 parent 204ca6c0d8
commit 1301cfd44e
1 file changed
+31 -1
+31 -1
View File
@@ -28,6 +28,20 @@ type PathKeys =
| 'setList'
| 'setOne'
| 'getAllRoutes'
| 'createUpdateService'
| 'deleteService'
| 'getAllService'
| 'getServiceById'
| 'getServicesByDomainId'
| 'createUpdateApplication'
| 'deleteApplication'
| 'getApplicationById'
| 'getAllApplications'
| 'getApplicationsByServiceId'
| 'createToken'
| 'getTokensByAppId'
| 'revokeTokens'
| 'revokeTokensForApp'
export const apiPaths: Record<PathKeys, string> = {
baseUrl: '/api/kkd-configuration-service',
@@ -62,9 +76,25 @@ export const apiPaths: Record<PathKeys, string> = {
setLogEvents: '/log/set_events',
// ======= APPLICATIONS ======
getSystemTree: '/application/get_system_tree',
getAllApplications: '/application/get_applications',
createUpdateApplication: '/application/create_update_application',
getApplicationsByServiceId: '/application/get_applications_by_service_id',
deleteApplication: '/application/delete_applications',
getApplicationById: '/application/get_application_by_id',
// ======= ACCESS_LIST ======
getById: '/access_list/get_by_id',
setList: '/access_list/set_list',
setOne: '/access_list/set_one',
getAllRoutes: '/routing/get_routes'
getAllRoutes: '/routing/get_routes',
// ======= SERVICE ======
getServiceById: '/service/get_service_by_id',
getAllService: '/service/get_service',
deleteService: '/service/delete_service',
createUpdateService: '/service/create_update_service',
getServicesByDomainId: '/service/get_services_by_domain_id',
// ======= TOKENS ======
createToken: '/token/create_token',
getTokensByAppId: '/token/get_tokens_by_app_id',
revokeTokens: '/token/revoke_tokens',
revokeTokensForApp: '/token/revoke_tokens_for_app'
}