nextcloud-route-extractor

Crates.ionextcloud-route-extractor
lib.rsnextcloud-route-extractor
version0.1.2
created_at2025-08-18 18:25:28.875195+00
updated_at2025-08-23 21:32:54.017328+00
descriptionExtract routes from nextcloud apps
homepage
repositoryhttps://codeberg.org/icewind/nextcloud-route-extractor
max_upload_size
id1800857
size50,979
Robin Appelman (icewind1991)

documentation

README

nextcloud-route-extractor

Extract routes from nextcloud apps

Usage

nextcloud-route-extractor /path/to/nextcloud/apps/myapp

Output

{
  "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.

Commit count: 0

cargo fmt