-
Notifications
You must be signed in to change notification settings - Fork 647
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
add backup api; closes #865 #895
Conversation
|
easy as that indeed, it would be good to add some simple template with a download button (+menu registration) which triggers this, so people know where to look after installation. |
|
Isnt this something for core :) |
|
@AdSchellevis I don't think we should duplicate core features as you already mentioned in the ticket before. This is just for automation. |
|
I'd prefer this to be API-only, point to the docs in the description and maybe add an XML push as well for symmetry? |
|
@fichtner the ticket said read-only API… Push is IMHO not so easy (XML validation) and may have other issues (new machine ist not yet set up). |
|
ok, fine. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ps, I'd prefer "api-backup" in naming
please wait for @AdSchellevis to ack or to incorporate his feedback
|
@fichtner ack, using api-backup as endpoint name, better to remove the ui/* acl as well then. |
|
@fichtner @AdSchellevis api-backup would move it at the top of the list of available plugins and may lead to a group of If you are talking about the namespace or endpont: they cannot contain dashes. |
|
just the name, we do the same for "theme-" |
|
ok, no problem |
|
We could ultimately work on firmware GUI showing "theme-" and "api-" in different blocks if you worry about ordering :) |
|
@fichtner wait for it when it is needed |
|
@fichtner merge now? |
|
yes 👍 |
|
Hello there. Nice job you've done here. Thank you |
|
@Clement-Ruiz How about this, you clone the docs repo and write it to contribute to all other? :) This is the API call: curl -k -u "key":"secret" https://192.168.0.1/api/backup/backup/download |
|
Hello @mimugmail, thanks for your response. |
|
Thx 👍 |
@fichtner as I told you less than 10 lines of code (7)