Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Setsettings

Mark Johnson edited this page Sep 15, 2013 · 1 revision

Change Bittorrent Sync's settings

Request Parameters

  • action setsettings
  • token Your current token (see Session Initalisation)
  • t The current timestamp (optional)
  • devicename The new name the device will share with peers
  • dlrate The new download limit in kB/s (0 for no limit)
  • listeningport The new port number to listen for incoming connections
  • portmapping 1 to enable UPnP port mapping, 0 to disable
  • ulrate The new upload limit in kB/s (0 for no limit)

returns

JSON string containing an empty object

example

GET http://localhost:8888/gui/?token=ToKeNStRinG&action=setsettings&listeningport=30710&dlrate=0&ulrate=0&portmapping=1&devicename=newname

Clone this wiki locally