strapi-plugin-config-sync/config/routes.json

37 lines
651 B
JSON

{
"routes": [
{
"method": "GET",
"path": "/export",
"handler": "config.exportAll",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/import",
"handler": "config.importAll",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/all/from-files",
"handler": "config.getConfigsFromFiles",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/all/from-database",
"handler": "config.getConfigsFromDatabase",
"config": {
"policies": []
}
}
]
}