Alexandre Bodin 3ce852af61 User :: in policies prefix and update documentation accordingly
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:39 +01:00

69 lines
1.3 KiB
JSON
Executable File

{
"routes": [
{
"method": "GET",
"path": "/",
"handler": "Documentation.index",
"config": {
"policies": ["plugins::documentation.index"]
}
},
{
"method": "GET",
"path": "/v:major(\\d+).:minor(\\d+).:patch(\\d+)",
"handler": "Documentation.index",
"config": {
"policies": ["plugins::documentation.index"]
}
},
{
"method": "GET",
"path": "/login",
"handler": "Documentation.loginView",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/login",
"handler": "Documentation.login",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/getInfos",
"handler": "Documentation.getInfos",
"config": {
"policies": []
}
},
{
"method": "POST",
"path": "/regenerateDoc",
"handler": "Documentation.regenerateDoc",
"config": {
"policies": []
}
},
{
"method": "PUT",
"path": "/updateSettings",
"handler": "Documentation.updateSettings",
"config": {
"policies": []
}
},
{
"method": "DELETE",
"path": "/deleteDoc/:version",
"handler": "Documentation.deleteDoc",
"config":{
"policies": []
}
}
]
}