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

[FR] REST API: endpoint to add module #171

Closed
c8y3 opened this issue Jan 20, 2023 · 1 comment
Closed

[FR] REST API: endpoint to add module #171

c8y3 opened this issue Jan 20, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@c8y3
Copy link
Contributor

c8y3 commented Jan 20, 2023

Is your feature request related to a problem? Please describe.
As a module developer, I'd like to write an automatic end-to-end test that checks that my module hooks were correctly registered. In order to do so, I need to be able to use the POST /manage/modules/add via the REST API.

Describe the solution you'd like
It would be nice to have request POST /manage/modules/add be part of the REST API. If I am not mistaken, for now (v2.0.0-beta-1), this request can only be called by the web interface with its csrf token.

Additional context
If you like, you may want to have a look at the end-to-end tests I started writing and execute as part of a github actions workflow.

@c8y3 c8y3 added the enhancement New feature or request label Jan 20, 2023
@whikernel whikernel self-assigned this Jan 26, 2023
@whikernel whikernel added this to the v2.0.0 milestone Jan 26, 2023
@c8y3
Copy link
Contributor Author

c8y3 commented Mar 10, 2023

Works for me. Thanks 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants