Joseph
(GyoneUk Min)
1
Hi, 
I added a ‘A’ directory as a shared folder, and it has sub directories.
Each sub directory has a lots of files.
like blow…
A - AC1 - file1
- file2
- file3 …
When I add / remove files on ‘AC1’ directory, is there way to get sync status of ‘AC1’ in event api or rest api?
such as ‘idle’, ‘syncing’… etc.
I found on rest api and event api I only show for root directory.
thank you.
calmh
(Jakob Borg)
2
The administrative unit is the shared folder, so that’s the minimum unit you get status and such for in the REST API.
Joseph
(GyoneUk Min)
3
Ok… I got this…
Then is there no way to get sync file list before start sync work?
calmh
(Jakob Borg)
4
If you by “sync file list” mean the list of files that need to be synced, then sure: GET /rest/db/need — Syncthing v1 documentation
You can also browse the list of known files regardless of sync status: GET /rest/db/browse — Syncthing v1 documentation
Joseph
(GyoneUk Min)
5
Thank you, I tested GET /rest/db/need, it was what I looking for 
Could I ask one more thing?
does scanning folder job and syncing folder job working asynchronously?
They are exclusive, it either scans or syncs.
system
(system)
Closed
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.