GET /rest/system/config

Deprecated since version v1.12.0: This endpoint still works as before but is deprecated. Use /rest/config instead.

Returns the current configuration.

  1. {
  2. "version": 30,
  3. "folders": [
  4. {
  5. "id": "GXWxf-3zgnU",
  6. "label": "MyFolder",
  7. "filesystemType": "basic",
  8. "path": "...",
  9. "type": "sendreceive",
  10. "devices": [
  11. {
  12. "deviceID": "...",
  13. "introducedBy": ""
  14. }
  15. ],
  16. "rescanIntervalS": 60,
  17. "fsWatcherEnabled": false,
  18. "fsWatcherDelayS": 10,
  19. "ignorePerms": false,
  20. "autoNormalize": true,
  21. "minDiskFree": {
  22. "value": 1,
  23. "unit": "%"
  24. },
  25. "versioning": {
  26. "type": "simple",
  27. "params": {
  28. "keep": "5"
  29. }
  30. },
  31. "copiers": 0,
  32. "pullerMaxPendingKiB": 0,
  33. "hashers": 0,
  34. "order": "random",
  35. "ignoreDelete": false,
  36. "scanProgressIntervalS": 0,
  37. "pullerPauseS": 0,
  38. "maxConflicts": 10,
  39. "disableSparseFiles": false,
  40. "disableTempIndexes": false,
  41. "paused": false,
  42. "weakHashThresholdPct": 25,
  43. "markerName": ".stfolder",
  44. "copyOwnershipFromParent": false,
  45. "modTimeWindowS": 0
  46. }
  47. ],
  48. "devices": [
  49. {
  50. "deviceID": "...",
  51. "name": "Laptop",
  52. "addresses": [
  53. "dynamic",
  54. "tcp://192.168.1.2:22000"
  55. ],
  56. "compression": "metadata",
  57. "certName": "",
  58. "introducer": false,
  59. "skipIntroductionRemovals": false,
  60. "introducedBy": "",
  61. "paused": false,
  62. "allowedNetworks": [],
  63. "autoAcceptFolders": false,
  64. "maxSendKbps": 0,
  65. "maxRecvKbps": 0,
  66. "ignoredFolders": [],
  67. "maxRequestKiB": 0
  68. }
  69. ],
  70. "gui": {
  71. "enabled": true,
  72. "address": "127.0.0.1:8384",
  73. "user": "Username",
  74. "password": "$2a$10$ZFws69T4FlvWwsqeIwL.TOo5zOYqsa/.TxlUnsGYS.j3JvjFTmxo6",
  75. "authMode": "static",
  76. "useTLS": false,
  77. "apiKey": "pGahcht56664QU5eoFQW6szbEG6Ec2Cr",
  78. "insecureAdminAccess": false,
  79. "theme": "default",
  80. "debugging": false,
  81. "insecureSkipHostcheck": false,
  82. "insecureAllowFrameLoading": false
  83. },
  84. "ldap": {
  85. "address": "",
  86. "bindDN": "",
  87. "transport": "plain",
  88. "insecureSkipVerify": false
  89. },
  90. "options": {
  91. "listenAddresses": [
  92. "default"
  93. ],
  94. "globalAnnounceServers": [
  95. "default"
  96. ],
  97. "globalAnnounceEnabled": true,
  98. "localAnnounceEnabled": true,
  99. "localAnnouncePort": 21027,
  100. "localAnnounceMCAddr": "[ff12::8384]:21027",
  101. "maxSendKbps": 0,
  102. "maxRecvKbps": 0,
  103. "reconnectionIntervalS": 60,
  104. "relaysEnabled": true,
  105. "relayReconnectIntervalM": 10,
  106. "startBrowser": false,
  107. "natEnabled": true,
  108. "natLeaseMinutes": 60,
  109. "natRenewalMinutes": 30,
  110. "natTimeoutSeconds": 10,
  111. "urAccepted": -1,
  112. "urSeen": 2,
  113. "urUniqueId": "",
  114. "urURL": "https://data.syncthing.net/newdata",
  115. "urPostInsecurely": false,
  116. "urInitialDelayS": 1800,
  117. "restartOnWakeup": true,
  118. "autoUpgradeIntervalH": 12,
  119. "upgradeToPreReleases": false,
  120. "keepTemporariesH": 24,
  121. "cacheIgnoredFiles": false,
  122. "progressUpdateIntervalS": 5,
  123. "limitBandwidthInLan": false,
  124. "minHomeDiskFree": {
  125. "value": 1,
  126. "unit": "%"
  127. },
  128. "releasesURL": "https://upgrades.syncthing.net/meta.json",
  129. "alwaysLocalNets": [],
  130. "overwriteRemoteDeviceNamesOnConnect": false,
  131. "tempIndexMinBlocks": 10,
  132. "unackedNotificationIDs": [],
  133. "trafficClass": 0,
  134. "defaultFolderPath": "~",
  135. "setLowPriority": true,
  136. "maxFolderConcurrency": 0,
  137. "crURL": "https://crash.syncthing.net/newcrash",
  138. "crashReportingEnabled": true,
  139. "stunKeepaliveStartS": 180,
  140. "stunKeepaliveMinS": 20,
  141. "stunServers": [
  142. "default"
  143. ],
  144. "databaseTuning": "auto",
  145. "maxConcurrentIncomingRequestKiB": 0
  146. },
  147. "remoteIgnoredDevices": []
  148. }