sualko / version
Makes version of Neos.Neos and Neos.Flow available via REST API.
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:neos-package
Requires
- neos/flow: *
This package is not auto-updated.
Last update: 2024-11-19 14:36:32 UTC
README
This package makes the version of Neos.Neos
and Neos.Flow
available as public REST API.
Installation
Download and copy this package to Packages/Application/
inside your flow installation and add the following to your Routs.yaml
.
- name: 'Version Route'
uriPattern: 'version'
defaults:
'@format': 'json'
'@package': 'Sualko.Version'
'@controller': 'Standard'
You should now be able to get the versions as JSON string from https://YOUR_DOMAIN/version
. If you like to change the path, just change the uriPattern
above.
Security consideration
Some people are believing that hiding versions is improving security, but security through obscurity is never a good idea. For example Alfred Charles Hobbs showed this already in 1851. If you still don't want to make this information public, just choose a long random string as uriPattern
.
Contributing
Just open a issue or pull request. We welcome every contribution.