Decipher

Request: Ping URL on sync

Recommended Posts

Firstly, yay for the API, I've been hanging out for it as I've had an idea in mind for a while.

In general, in happy with what I see, but I do already have a request for an additional method.

Basically I'd like to be able to register a URL for btsync to ping on specific events, primarily when a fold has finished syncing. This will allow my integration to be notified of the changed files and react accordingly.

Otherwise, my web so will have to continuously poll the directories, which doesn't seem very efficient.

Share this post


Link to post
Share on other sites

+1, that would be a huge improvement. Either add the possibility to have scripts/programs executed on certain events, or request an HTTP(S) URL, that would be very nice.

Share this post


Link to post
Share on other sites

In general it would be great to have a 'webhooks' api for a set of btsync events, with ability to add, modify, remove webhooks.

 

For instance, I would like btsync to post to my web-app a json with information about newly synced file. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.