Skip to main content

SharingPolicy

Exact operator-reviewed listener, discovery and session allowances.

public_networkPublic Network (boolean)required

Network binding/public peer discovery; false is loopback only.

listen_portListen Port (integer)required

Requested port, zero for an OS-selected port.

Possible values: >= 0 and <= 65535

duration_secondsDuration Seconds (integer)required

Maximum owned serving-session lifetime.

Possible values: >= 1 and <= 86400

upload_limit_bytesUpload Limit Bytes (integer)required

HTTP response allowance or observed torrent payload/peer wire stop threshold.

Possible values: >= 1 and <= 9007199254740991

upload_rate_bytesUpload Rate Bytes (integer)required

Native BitTorrent payload-rate limit; not HTTP rate shaping.

Possible values: >= 1024 and <= 104857600

advertised_url object

User-supplied mirror hint, not verified reachability.

anyOf
string

Possible values: <= 2048 characters

peer_privatePeer Private (boolean)

Exact reviewed Core peer address scope, separate from HTTP permissions.

Default value: false
SharingPolicy
{
"public_network": true,
"listen_port": 0,
"duration_seconds": 0,
"upload_limit_bytes": 0,
"upload_rate_bytes": 0,
"advertised_url": "string",
"peer_private": false
}