Skip to main content
POST
/
session
/
files
/
write
Write Files
curl --request POST \
  --url https://api.ara.so/session/files/write \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "writes": [
    {}
  ],
  "restart": true
}
'
{
  "success": true,
  "changes": [],
  "gateway_token": "<string>",
  "restarted": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
writes
Writes · object[]
required
restart
boolean | null

Response

Successful Response

success
boolean
required
changes
Changes · object[]
gateway_token
string | null
restarted
boolean | null