github.com/mdaxf/iac@v0.0.0-20240519030858-58a061660378/apiconfig.json (about) 1 { 2 "port": 8080, 3 "timeout": 5000, 4 "apikey":"ahbcgj", 5 "openaikey":"sk-1", 6 "controllers": [ 7 {"path": "IACAI", 8 "module": "IACAIController", 9 "endpoints": [ 10 { 11 "method": "POST", 12 "path": "/imagetohtml", 13 "handler": "ImagetoHTML" 14 } 15 ]}, 16 { 17 "path": "IACComponents", 18 "module": "IACComponentController", 19 "endpoints": [ 20 { 21 "method": "POST", 22 "path": "/heartbeat", 23 "handler": "ComponentHeartbeat" 24 }, 25 { 26 "method": "POST", 27 "path": "/close", 28 "handler": "ComponentClose" 29 } 30 ] 31 }, 32 { 33 "path": "user", 34 "module": "UserController", 35 "endpoints": [ 36 { 37 "method": "GET", 38 "path": "/users", 39 "handler": "List" 40 }, 41 { 42 "method": "GET", 43 "path": "/image", 44 "handler": "Image" 45 }, 46 { 47 "method": "GET", 48 "path": "/menus", 49 "handler": "UserMenus" 50 }, 51 { 52 "method": "POST", 53 "path": "/login", 54 "handler": "Login" 55 }, 56 { 57 "method": "POST", 58 "path": "/changepwd", 59 "handler": "ChangePassword" 60 }, 61 { 62 "method": "POST", 63 "path": "/logout", 64 "handler": "Logout" 65 } 66 ] 67 }, 68 { 69 "path": "function", 70 "module": "FunctionController", 71 "endpoints": [ 72 { 73 "method": "POST", 74 "path": "/test", 75 "handler": "TestExecFunction" 76 } 77 ] 78 }, 79 { 80 "path": "sqldata", 81 "module": "DBController", 82 "endpoints": [ 83 { 84 "method": "POST", 85 "path": "/query", 86 "handler": "GetDatabyQuery" 87 }, 88 { 89 "method": "POST", 90 "path": "/get", 91 "handler": "GetDataFromTables" 92 }, 93 { 94 "method": "POST", 95 "path": "/update", 96 "handler": "UpdateDataToTable" 97 }, 98 { 99 "method": "POST", 100 "path": "/insert", 101 "handler": "InsertDataToTable" 102 }, 103 { 104 "method": "POST", 105 "path": "/delete", 106 "handler": "DeleteDataFromTable" 107 } 108 ]}, 109 { 110 "path": "collection", 111 "module": "CollectionController", 112 "endpoints": [ 113 { 114 "method": "POST", 115 "path": "/list", 116 "handler": "GetListofCollectionData" 117 },{ 118 "method": "POST", 119 "path": "/update", 120 "handler": "UpdateCollectionData" 121 },{ 122 "method": "POST", 123 "path": "/detail", 124 "handler": "GetDetailCollectionData" 125 },{ 126 "method": "POST", 127 "path": "/id", 128 "handler": "GetDetailCollectionDatabyID" 129 },{ 130 "method": "POST", 131 "path": "/name", 132 "handler": "GetDetailCollectionDatabyName" 133 },{ 134 "method": "POST", 135 "path": "/delete", 136 "handler": "DeleteCollectionDatabyID" 137 },{ 138 "method": "POST", 139 "path": "/revision", 140 "handler": "CollectionObjectRevision" 141 } 142 143 ]}, 144 { 145 "path": "trancode", 146 "module": "TranCodeController", 147 "endpoints": [ 148 { 149 "method": "POST", 150 "path": "/execute", 151 "handler": "ExecuteTranCode" 152 },{ 153 "method": "GET", 154 "path": "/list", 155 "handler": "GetTranCodeListFromRespository" 156 },{ 157 "method": "POST", 158 "path": "/detail", 159 "handler": "GetTranCodeDetailFromRespository" 160 } 161 ,{ 162 "method": "POST", 163 "path": "/update", 164 "handler": "UpdateTranCodeToRespository" 165 }, 166 { 167 "method": "POST", 168 "path": "/revision", 169 "handler": "TranCodeRevision" 170 }, 171 { 172 "method": "POST", 173 "path": "/unittest", 174 "handler": "UnitTest" 175 }, 176 { 177 "method": "POST", 178 "path": "/test", 179 "handler": "TestbyTestData" 180 }, 181 { 182 "method": "POST", 183 "path": "/uitest", 184 "handler": "TestTranCode" 185 },{ 186 "method": "POST", 187 "path": "/remotetest", 188 "handler": "RemoteTestTranCode" 189 },{ 190 "method": "POST", 191 "path": "/deletets", 192 "handler": "DeleteRemoteTestCache" 193 } 194 ] 195 }, 196 { 197 "path": "health", 198 "module": "HealthController", 199 "endpoints": [ 200 { 201 "method": "GET", 202 "path": "/check", 203 "handler": "CheckHealth" 204 } 205 ] 206 }, 207 { 208 "path": "language", 209 "module": "LCController", 210 "endpoints": [ 211 { 212 "method": "POST", 213 "path": "/translate", 214 "handler": "GetLngCodes" 215 },{ 216 "method": "POST", 217 "path": "/update", 218 "handler": "UpdateLngCode" 219 } 220 ]}, 221 { 222 "path": "notification", 223 "module": "NotificationController", 224 "endpoints": [ 225 { 226 "method": "GET", 227 "path": "/get", 228 "handler": "GetNotificationsbyUser" 229 },{ 230 "method": "POST", 231 "path": "/new", 232 "handler": "CreateNotification" 233 },{ 234 "method": "POST", 235 "path": "/response", 236 "handler": "ResponseNotification" 237 } 238 ]}, 239 { 240 "path": "workflow", 241 "module": "WorkFlowController", 242 "endpoints": [ 243 { 244 "method": "POST", 245 "path": "/tasksbyuser", 246 "handler": "GetTasksbyUser" 247 },{ 248 "method": "POST", 249 "path": "/tasksbyentity", 250 "handler": "GetWorkFlowTasks" 251 },{ 252 "method": "POST", 253 "path": "/uuid", 254 "handler": "GetWorkFlowbyUUID" 255 },{ 256 "method": "POST", 257 "path": "/explode", 258 "handler": "ExplodeWorkFlow" 259 },{ 260 "method": "POST", 261 "path": "/starttask", 262 "handler": "StartTask" 263 },{ 264 "method": "POST", 265 "path": "/updatedatacomplete", 266 "handler": "UpdateProcessDataAndComplete" 267 },{ 268 "method": "POST", 269 "path": "/executecomplete", 270 "handler": "ExecuteTaskTranCodeAndComplete" 271 },{ 272 "method": "POST", 273 "path": "/completetask", 274 "handler": "CompleteTask" 275 },{ 276 "method": "POST", 277 "path": "/pretaskdata", 278 "handler": "GetPreTaskData" 279 } 280 ]} 281 ] 282 }