Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API endpoint for extensions and modules #330

Merged
merged 13 commits into from
Nov 28, 2024
Merged

Conversation

thmarx
Copy link
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
Collaborator Author

thmarx commented Nov 17, 2024

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

@thmarx
Copy link
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
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
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
1 check passed
@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