{ "port": 8200, "rewrite": [ { "from": "/be5/*", "to": "/$1" } ], "mocks": [ { "route": "/api/languageSelector", "response": { "type": "application/json", "body": { "languages": [ "RU" ], "messages": { "no": "нет", "yes": "да", "assignmentRules__All_records": "Жизненные ситуации", "fio": "Ф.И.О." }, "selected": "RU" } } }, { "route": "/api/roleSelector", "response": { "type": "application/json", "body": {"availableRoles":["Administrator"],"currentRoles":["Administrator"]} } }, { "route": "/api/menu", "response": { "type": "application/json", "body": {"loggedIn":true,"root":[ {"title":"Main page","default":true,"action":{"name":"call","arg":"static/welcome.be"}}, {"id":{"_en_":"testtable"},"title":"testtable","default":false,"children":[ {"title":"Test 1D","action":{"name":"call","arg":"table/testtable/Test 1D"},"default":false}, {"title":"Test 1D unknown","action":{"name":"call","arg":"table/testtable/Test 1D unknown"},"default":false} ]}, {"title":"Logout","default":false,"action":{"name":"call","arg":"logout"}}, {"id":{"_en_":"_system_"},"title":"System","default":false,"children":[{"title":"Pool","action":{"name":"call","arg":"pool"},"default":false}]}, {"title":"users","default":false,"action":{"name":"call","arg":"table/users/All records"}}]} } }, { "route": "/api/appInfo", "response": { "type": "application/json", "body": {"title":"BeanExplorer 5 application","url":"http://127.0.0.1:8200/"} } }, { "route": "/api/menu/defaultAction", "response": { "type": "application/json", "body": {"name":"call","arg":"static/welcome.be"} } }, { "route": "/api/static/welcome.be", "response": { "type": "application/json", "body": { "data": { "attributes": { "content": "