The Development Tools module provides a basis for creating plugins to interact with a running Magnolia instance. Using the endpoints provided by this module you can create interactive IDEs with intellisense features to help facilitate the development process.
Installing
Module not completed yet. Proposed API shown below.
<dependency> <groupId>info.magnolia.development</groupId> <artifactId>magnolia-development-tools</artifactId> <version>${notYetReleased}</version> </dependency>
Usage
This module comes with a REST endpoint for querying the different definition registries.
Registry Endpoint
Returns registry data in the form of a JSON object.
Request URL
/.rest/registry/v1/{registry}
Parameter | Description | Parameter type | Data type |
| required The name of the registry to access. Example: |
|
|
| optional, default is Used together with a |
|
|
Example
Get all the modules from the ModuleRegistry
(except the language modules).
curl -X GET 'http://localhost:8080/magnoliaAuthor/.rest/registry/v1/modules' \ -u superuser:superuser
Source Code
The source for this module can be found here: https://git.magnolia-cms.com/projects/FORGE/repos/development-tools/browse
Issues, Bugs, Improvements
Either comment on this page or open a ticket here: DEVTOOLS