upassist / nodeapi
A node API package
Requires
- neos/content-repository: ^8.3
- neos/flow: ^8.3
- neos/fluid-adaptor: ^8.3
- neos/media: ^8.3
- neos/neos: ^8.3
- neos/utility-arrays: ^8.3
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Read and write services for Neos nodes (UpAssist\NodeApi\Services\Node\ReadService and WriteService), a ContentContextService, a Fluid ViewHelper and an optional nodeapi/ route.
Compatibility
| Version | Neos | Status |
|---|---|---|
| 8.x | 8.3, 8.4 | maintained |
Neos 9 is not supported: the services are built on the Neos 8 Content Repository (NodeDataRepository, ContentContextFactory, NodeTemplate), which no longer exists in Neos 9.
Installation
The package is not on Packagist. Add the repository to your project's composer.json:
"repositories": [ {"type": "vcs", "url": "https://github.com/UpAssist/node-api.git"} ]
composer require upassist/nodeapi:^8.0
The nodeapi/ route
Configuration/Routes.yaml is not included automatically. To use nodeapi/node/new and nodeapi/node/create, include the routes in your Settings.yaml and make sure an authentication provider covers UpAssist\NodeApi\Controller\.* (for example a requestPatterns entry on Neos.Neos:Backend or your frontend login provider):
Neos: Flow: mvc: routes: 'UpAssist.NodeApi': position: 'before Neos.Neos'