2024-12-02 13:24:34 +00:00
|
|
|
|
{
|
|
|
|
|
|
"Routes": [
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
// APIS FOR AN ADMIN
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
{
|
|
|
|
|
|
"DownstreamPathTemplate": "/{url}",
|
|
|
|
|
|
"DownstreamScheme": "http",
|
|
|
|
|
|
"DownstreamHostAndPorts": [
|
|
|
|
|
|
{
|
2025-10-31 06:15:13 +00:00
|
|
|
|
"Host": "api-admin.practicekea.com",
|
2024-12-02 13:24:34 +00:00
|
|
|
|
"Port": 80
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
"UpstreamPathTemplate": "/api-admin/{url}",
|
|
|
|
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete", "Options" ],
|
|
|
|
|
|
"Priority": 1,
|
|
|
|
|
|
|
2025-10-31 06:15:13 +00:00
|
|
|
|
"<22>AuthenticationOptions<6E>": {
|
|
|
|
|
|
"<22>AuthenticationProviderKey<65>": "IdentityApiKey",
|
|
|
|
|
|
"<22>AllowedScopes<65>": []
|
2024-12-02 13:24:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
// APIS FOR AN INSTITUTE
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
{
|
|
|
|
|
|
"DownstreamPathTemplate": "/{url}",
|
|
|
|
|
|
"DownstreamScheme": "http",
|
|
|
|
|
|
"DownstreamHostAndPorts": [
|
|
|
|
|
|
{
|
2025-10-31 06:15:13 +00:00
|
|
|
|
"Host": "api-institute.practicekea.com",
|
2024-12-02 13:24:34 +00:00
|
|
|
|
"Port": 80
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
"UpstreamPathTemplate": "/api-institute/{url}",
|
|
|
|
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete", "Options" ],
|
|
|
|
|
|
"Priority": 1
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
// APIS FOR TEACHER
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
{
|
|
|
|
|
|
"DownstreamPathTemplate": "/{url}",
|
|
|
|
|
|
"DownstreamScheme": "http",
|
|
|
|
|
|
"DownstreamHostAndPorts": [
|
|
|
|
|
|
{
|
2025-10-31 06:15:13 +00:00
|
|
|
|
"Host": "api-teacher.practicekea.com",
|
2024-12-02 13:24:34 +00:00
|
|
|
|
"Port": 80
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
"UpstreamPathTemplate": "/api-teacher/{url}",
|
|
|
|
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete", "Options" ],
|
|
|
|
|
|
"Priority": 1
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
// APIS FOR AN USERS
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
{
|
|
|
|
|
|
"DownstreamPathTemplate": "/{url}",
|
|
|
|
|
|
"DownstreamScheme": "http",
|
|
|
|
|
|
"DownstreamHostAndPorts": [
|
|
|
|
|
|
{
|
2025-10-31 06:15:13 +00:00
|
|
|
|
"Host": "api-user.practicekea.com",
|
2024-12-02 13:24:34 +00:00
|
|
|
|
"Port": 80
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
"UpstreamPathTemplate": "/api-user/{url}",
|
|
|
|
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete", "Options" ],
|
|
|
|
|
|
"Priority": 1
|
|
|
|
|
|
},
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
// APIS FOR S3BUCKET
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
{
|
|
|
|
|
|
"DownstreamPathTemplate": "/{url}",
|
|
|
|
|
|
"DownstreamScheme": "http",
|
|
|
|
|
|
"DownstreamHostAndPorts": [
|
|
|
|
|
|
{
|
2025-10-31 06:15:13 +00:00
|
|
|
|
"Host": "api-bucket.practicekea.com",
|
2024-12-02 13:24:34 +00:00
|
|
|
|
"Port": 80
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
"UpstreamPathTemplate": "/api-bucket/{url}",
|
|
|
|
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete", "Options" ],
|
|
|
|
|
|
"Priority": 1
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
// APIS FOR STUDENT
|
|
|
|
|
|
//====================================================
|
|
|
|
|
|
{
|
|
|
|
|
|
"DownstreamPathTemplate": "/{url}",
|
|
|
|
|
|
"DownstreamScheme": "http",
|
|
|
|
|
|
"DownstreamHostAndPorts": [
|
|
|
|
|
|
{
|
2025-10-31 06:15:13 +00:00
|
|
|
|
"Host": "api-student.practicekea.com",
|
2024-12-02 13:24:34 +00:00
|
|
|
|
"Port": 80
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
"UpstreamPathTemplate": "/api-student/{url}",
|
|
|
|
|
|
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete", "Options" ],
|
|
|
|
|
|
"Priority": 1
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
"GlobalConfiguration": {
|
2025-10-31 06:15:13 +00:00
|
|
|
|
"BaseUrl": "http://api.practicekea.com"
|
2024-12-02 13:24:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|