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

external API for the uploader to scan for changes in the filesystem #130

Closed
vu3rdd opened this issue May 20, 2020 · 3 comments
Closed

external API for the uploader to scan for changes in the filesystem #130

vu3rdd opened this issue May 20, 2020 · 3 comments

Comments

@vu3rdd
Copy link
Member

vu3rdd commented May 20, 2020

@meejah and I were chatting about Uploader and were thinking that uploader could benefit from having an explicit API to scan the filesystem for changes which could be useful for testing and for external applications like Gridsync to use.

@meejah
Copy link
Collaborator

meejah commented Jun 23, 2020

Further discussion about existing user-research indicates we might also want a mode where the only way new snapshots appear is via API requests (which would be triggered by a UI/UX tool probably via user action). That could be this API. So maybe we want the API to be "check for changes to: [file0, file1]" so that a frontend tool can offer the user the chance to make new snapshots for just a single file. If the file-list is empty we could scan everything.

@meejah
Copy link
Collaborator

meejah commented Apr 30, 2021

Note that the latter API exists ("make a Snapshot for this one file") and there's a PR for a CLI command to trigger it (#309)

@meejah meejah added this to the private-storage milestone Apr 30, 2021
@meejah
Copy link
Collaborator

meejah commented Jan 18, 2022

There is an HTTP API to do both a local scan or a remote poll

@meejah meejah closed this as completed Jan 18, 2022
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

No branches or pull requests

2 participants