strapi-plugin-content-manager
Version:
A powerful UI to easily manage your data.
84 lines (83 loc) • 1.72 kB
JSON
{
"routes": [
{
"method": "GET",
"path": "/layout",
"handler": "ContentManager.layout",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/models",
"handler": "ContentManager.models",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/explorer/:model",
"handler": "ContentManager.find",
"config": {
"policies": ["routing"]
}
},
{
"method": "GET",
"path": "/explorer/:model/count",
"handler": "ContentManager.count",
"config": {
"policies": ["routing"]
}
},
{
"method": "PUT",
"path": "/models",
"handler": "ContentManager.updateSettings",
"config": {
"policies": ["routing"]
}
},
{
"method": "GET",
"path": "/explorer/:model/:id",
"handler": "ContentManager.findOne",
"config": {
"policies": ["routing"]
}
},{
"method": "POST",
"path": "/explorer/:model",
"handler": "ContentManager.create",
"config": {
"policies": ["routing"]
}
},
{
"method": "PUT",
"path": "/explorer/:model/:id",
"handler": "ContentManager.update",
"config": {
"policies": ["routing"]
}
},
{
"method": "DELETE",
"path": "/explorer/deleteAll/:model",
"handler": "ContentManager.deleteAll",
"config": {
"policies": ["routing"]
}
},
{
"method": "DELETE",
"path": "/explorer/:model/:id",
"handler": "ContentManager.delete",
"config": {
"policies": ["routing"]
}
}
]
}