Skip to main content
POST
Write at file offset
Write bytes at the specified file offset.
See error examples and recovery steps. The complete OpenAPI contract includes every response schema.

Authorizations

Authorization
string
header
required

The server's token (MIRAGE_AUTH_TOKEN) or a JWT. A daemon in the default local mode with no token accepts requests without one.

Path Parameters

workspace_id
string
required

Workspace ID.

Query Parameters

session_id
string

Session ID to use. If omitted, the default session is used.

explain
boolean
default:false

Return what the call would do without running it.

Body

application/json
path
string
required
data
string
required

The bytes, base64-encoded.

offset
integer
required

Byte offset to start writing at.

Response

200 - application/json

An empty object when the call succeeds. With explain=true, explanation says what the call would do; nothing runs.

An empty object.