Skip to content

API endpoint for extensions and modules#330

Merged
thmarx merged 13 commits intoCondationCMS:mainfrom
thmarx:http_api
Nov 28, 2024
Merged

API endpoint for extensions and modules#330
thmarx merged 13 commits intoCondationCMS:mainfrom
thmarx:http_api

Conversation

@thmarx
Copy link
Copy Markdown
Collaborator

@thmarx thmarx commented Nov 17, 2024

This PR introduces a /api endpoint for extensions and modules.
The old endpoints will be deprecated.

@thmarx
Copy link
Copy Markdown
Collaborator Author

thmarx commented Nov 17, 2024

currently forms and downloads module use the "legacy" module-endpoint.

@thmarx
Copy link
Copy Markdown
Collaborator Author

thmarx commented Nov 18, 2024

At least the /module endpoint should not be deprecated because it is used to provide ja and css files from modules. These cases should not be in the /API endpoint.

@thmarx
Copy link
Copy Markdown
Collaborator Author

thmarx commented Nov 20, 2024

I think, the api should be an experimental featurea at first and deactivated by default. Activation should be possible per site.

Thorsten Marx added 3 commits November 20, 2024 16:38
endpoint for navigation tree
deactivate api by default and make it activatable for site
add links to content and frontend
@thmarx
Copy link
Copy Markdown
Collaborator Author

thmarx commented Nov 28, 2024

For security reasons content and navigation endpoints should not be public

@thmarx thmarx merged commit 868bdeb into CondationCMS:main Nov 28, 2024
@thmarx thmarx deleted the http_api branch November 28, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant