Artica Wiki

Create or delete a Syncthing Shared folder

A Syncthing shared folder is a directory on your local filesystem that is synchronized across devices using Syncthing’s peer-to-peer protocol.

A Syncthing shared folder is a directory on your local filesystem that is synchronized across devices using Syncthing’s peer-to-peer protocol.

Create a shared folder using the Artica Web console

Create a shared folder using the Web API

use the

POST http://1.2.3.4:9503/syncthing/instance/[instance ID]/folder/create

Where Instance ID is the numeric instance number and use post field path for the full path of the new created folder.

example: 

curl -X POST http://1.2.3.4:9503/syncthing/instance/1/folder/create -H "Content-Type: application/x-www-form-urlencoded" --data-urlencode "path=/home/david/Shared"

Delete a folder using the Web console

Deleting the shared folder does not delete the files; it simply disconnects the Syncthing synchronization engine from the path.

Delete a folder using the Web API

use the

GET http://1.2.3.4:9503/syncthing/instance/[instance ID]/folder/delete/[ID]

Where ID is the folder unique identifier you see in the ID column.