mirror of
https://github.com/strapi/strapi.git
synced 2026-01-06 04:03:25 +00:00
53 lines
1014 B
JSON
Executable File
53 lines
1014 B
JSON
Executable File
{
|
|
"routes": [
|
|
{
|
|
"method": "GET",
|
|
"path": "/plugins",
|
|
"handler": "Admin.plugins",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/currentEnvironment",
|
|
"handler": "Admin.getCurrentEnvironment",
|
|
"policies": []
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/gaConfig",
|
|
"handler": "Admin.getGaConfig",
|
|
"policies": []
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/strapiVersion",
|
|
"handler": "Admin.getStrapiVersion",
|
|
"policies": []
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/layout",
|
|
"handler": "Admin.getLayout",
|
|
"policies": []
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/plugins/install",
|
|
"handler": "Admin.installPlugin",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/plugins/uninstall/:plugin",
|
|
"handler": "Admin.uninstallPlugin",
|
|
"config": {
|
|
"policies": []
|
|
}
|
|
}
|
|
]
|
|
}
|