Walkthrough
Last updated on
30 May 2022
- Install the module.
> A couple of view modes named _Decoupled_ will be created on every compatible fieldable content entity type. - (optional but recommended) enable Restful Web services modules, then the decoupled toolbox endpoints. If you don't enable rest you will be restricted on route features (permissions, authentification, formats etc...)
- Go to the view display edit of the fieldable content entity type of your choice, e.g. node, taxonomy terms.
- Go to the _Decoupled_ view mode.
- Select the fields you want to appear in the JSON output.
- Configure the formatters to suit your needs. Multiple formatters may be available on a same field type.
- Configure permissions to enable access to the decoupled route (**Access decoupled API**) and the entities.
- Access your decoupled data on this path (replace the placeholders):
/decoupled-api/{entity_type}/{bundle}/collection?offset=0&limit=10
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion