Command line to add to resource registry?

Is there a way at the command line to add resources to the resource registry, instead of the web interface?

Use curl and the rest api
https://plonerestapi.readthedocs.io/en/latest/registry.html?

1 Like

To use the command line, follow the official documentation in https://docs.plone.org/develop/plone/misc/commandline.html#running-scripts and specially https://docs.plone.org/develop/plone/misc/commandline.html#spoofing-http-request since it may be needed.

1 Like