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

[RFC - not to directly merge] First try on commands from API #1128

Closed
wants to merge 1 commit into from

Conversation

paurullan
Copy link

In the mailing list we discussed on launching some of the manage.py maintenance commands from the REST API. This schema has come to light in order to be able to deploy weblate on a cluster where we can only have a single writer worker.

This is a first quick approach and I would love feedback to know if I should go on this way. I will obviously do the tests and documentation but first I wanted some kind of feedback.

There is a missing feature of enabling tokenized auth on the /api/maintenance/x methods.

@nijel
Copy link
Member

nijel commented May 23, 2016

The authentication is there, all you need to do is check permissions.

Also I think these operations should use POST request rather than GET...

@stale
Copy link

stale bot commented Jun 13, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix Nobody will work on this.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants