fleet

Fleet Propagate

Write one file into many of the caller's agents; optionally restart them.

Reuses the single-agent file-write route per target, so the /data scope guard, ownership check, wake-on-write, and size cap all apply unchanged. Restarts are queued to a background task (a container restart takes seconds each, and 50 of them can't run inside one request).

post/api/fleet/propagate

Request

  • Base URL
    https://api.maritime.sh (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maritime.sh/api/fleet/propagate
  • Auth
    HTTP bearer

Request body

pathstring required
contentstring required
agentIdsstring[] required
restartboolean

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.