Skip to main content

MirrorConfiguration

Offline serving/resource choices; saving never starts a listener or router.

nameName (string)required

Operator's mirror name.

Possible values: non-empty and <= 200 characters

disk_bytesDisk Bytes (integer)required

Retained/partial/cache disk allowance.

Possible values: >= 268435456 and <= 9007199254740991

ingress_dailyIngress Daily (integer)required

Daily network intake allowance; local retention spends none.

Possible values: >= 1 and <= 9007199254740991

egress_daily objectrequired

Conservatively reserved daily upload allowance; null is no cap (uploads are still counted).

anyOf
integer

Possible values: >= 1 and <= 9007199254740991

egress_monthly objectrequired

Conservatively reserved monthly upload allowance; null is no cap (uploads are still counted).

anyOf
integer

Possible values: >= 1 and <= 9007199254740991

httpHttp (boolean)

Separately select HTTP serving; no listener starts on save.

Default value: false
exposureExposure (string)

Numeric HTTP bind scope, not proof of public routing.

Possible values: [loopback, network]

Default value: loopback
portPort (integer)

HTTP port; zero requests an ephemeral port.

Possible values: >= 0 and <= 65535

Default value: 8080
ipfsIpfs (boolean)

Select separately configured native IPFS sharing.

Default value: false
torrentTorrent (boolean)

Select public BitTorrent sharing; receiving never implies this.

Default value: false
peer_setup_id object

Exact reviewed Core peer settings when selecting IPFS.

anyOf
string

Possible values: Value must match regular expression ^[0-9a-f]{64}$

max_activeMax Active (integer)

Maximum owned native workers, including preparation.

Possible values: >= 1 and <= 4

Default value: 2
session_secondsSession Seconds (integer)

Finite native session duration inside the controller.

Possible values: >= 1 and <= 86400

Default value: 3600
session_bytesSession Bytes (integer)

Upload reservation per native session, spent before startup.

Possible values: >= 1 and <= 9007199254740991

Default value: 67108864
upload_rateUpload Rate (integer)

Native upload rate in bytes per second.

Possible values: >= 1024 and <= 104857600

Default value: 1048576
public_url object

Credential-free HTTP(S) base URL announced in this mirror's signed card. Saving it contacts nothing; an address is public, not anonymous.

anyOf
string

Possible values: >= 8 characters and <= 2048 characters

announce_dhtAnnounce Dht (boolean)

Also announce the public address on the public BitTorrent DHT (plain-HTTP root URLs only).

Default value: false
publish_nostrPublish Nostr (boolean)

Also copy the signed card to third-party Nostr relays.

Default value: false
follow_withdrawalsFollow Withdrawals (boolean)

Operator choice to stop serving a copy a followed catalog withdrew, unless acknowledged. Off by default: a withdrawal is advisory only and no catalog publisher can take a copy down. Part of the reviewed policy; changing it clears restart permission.

Default value: false
announce_disclosure object

Announcement disclosure version shown before consent. Nothing is announced until a recognized version is recorded with this configuration.

anyOf
integer

Possible values: >= 1 and <= 1000

MirrorConfiguration
{
"name": "string",
"disk_bytes": 0,
"ingress_daily": 0,
"egress_daily": 0,
"egress_monthly": 0,
"http": false,
"exposure": "loopback",
"port": 8080,
"ipfs": false,
"torrent": false,
"peer_setup_id": "string",
"max_active": 2,
"session_seconds": 3600,
"session_bytes": 67108864,
"upload_rate": 1048576,
"public_url": "string",
"announce_dht": false,
"publish_nostr": false,
"follow_withdrawals": false,
"announce_disclosure": 0
}