Skip to main content

MirrorRequest

One permanently identified decision; replay observes the original job.

owner_idOwner Id (string)required

Client namespace, retained across page reload.

Possible values: Value must match regular expression ^[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}$

operation_idOperation Id (string)required

Permanent client operation identity.

Possible values: non-empty and <= 128 characters, Value must match regular expression ^[a-zA-Z0-9._:@-]+$

kindKind (string)required

Exactly one mirror control or byte operation.

Possible values: [configure, retain, run, grant_resume, revoke_resume, model, prune, prepare_kit, recover, intake]

policy_id object

Exact current reviewed policy; absent only at first configuration.

anyOf
string

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

configuration object

Offline policy, required only for configure.

anyOf
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

copy_id object

Already accepted public Library copy, never a host path.

anyOf
string

Possible values: Value must match regular expression ^[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}$

manifest_id object

Exact selected signed model identity.

anyOf
string

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

action object

Explicit pin/block/retry action; deletion is separate.

anyOf
string

Possible values: [pin, unpin, block, unblock, retry, acknowledge, withhold, release]

confirm_redistributionConfirm Redistribution (boolean)

Review redistribution terms for every selected member.

Default value: false
confirm_reintakeConfirm Reintake (boolean)

Deliberately re-admit a removed selection without resetting accounting.

Default value: false
public_participationPublic Participation (boolean)

Separate explicit public serving permission for this run.

Default value: false
modeMode (string)

Finite manual run or separately approved standing grant.

Possible values: [finite, resume]

Default value: finite
secondsSeconds (integer)

Finite manual duration; never a restart grant.

Possible values: >= 1 and <= 86400

Default value: 3600
resume_expires object

Exact separately confirmed standing-grant expiry, Unix seconds.

anyOf
integer

Possible values: >= 1

confirm_resumeConfirm Resume (boolean)

Explicit standing permission, independent of model and transport trust.

Default value: false
confirm_delete_manifest object

Exact operator deletion confirmation; no automatic eviction.

anyOf
string

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

intake object

Standing intake policy for an intake decision; null clears it. Any effective change clears restart permission, except the withheld list, which only narrows.

anyOf
shareShare (string)required

Share every eligible public copy, or only individually chosen ones.

Possible values: [eligible, chosen]

licensesstring[]required

Normalized, unique licence identifiers the owner reviewed.

Possible values: >= 1, <= 128

definitionDefinition (integer)required

Licence-definition version the list was reviewed under.

Possible values: >= 1 and <= 1000

withheldstring[]

Exact copies kept back from serving and standing intake.

Possible values: <= 1000

Default value: []
MirrorRequest
{
"owner_id": "string",
"operation_id": "string",
"kind": "configure",
"policy_id": "string",
"configuration": {
"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
},
"copy_id": "string",
"manifest_id": "string",
"action": "pin",
"confirm_redistribution": false,
"confirm_reintake": false,
"public_participation": false,
"mode": "finite",
"seconds": 3600,
"resume_expires": 0,
"confirm_resume": false,
"confirm_delete_manifest": "string",
"intake": {
"share": "eligible",
"licenses": [
"string"
],
"definition": 0,
"withheld": [
"string"
]
}
}