nextcloud-route-extractor
Extract routes from nextcloud apps
Usage
Output
See the Nextcloud documentation for the meaning of the various route parameters.
Extract routes from nextcloud apps
nextcloud-route-extractor /path/to/nextcloud/apps/myapp
{
"routes": [
{
"root": "",
"url": "/config",
"name": "settings#getConfig",
"verb": "GET",
"requirements": {},
"postfix": null,
"defaults": {}
},
...
],
"ocs": [
{
"root": "",
"url": "/api/v1/foo/{id}",
"name": "Foo#get",
"verb": "GET",
"requirements": {},
"postfix": null,
"defaults": {}
},
...
]
}
See the Nextcloud documentation for the meaning of the various route parameters.