mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 08:04:51 +00:00
69 lines
1.3 KiB
JSON
Executable File
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": []
|
|
}
|
|
}
|
|
]
|
|
}
|