taikutaiku
User GuidePluginsAPI Reference
PUT/v1/sessions/{session_id}/storage/{plugin_id}/{filename}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

session_id*string

Current session identifier.

plugin_id*string

Plugin identifier.

filename*string

Validated storage filename.

Request Body

application/octet-stream

Raw file bytes.

TypeScript Definitions

Use the request body type in TypeScript.

body*file
Formatbinary

Response Body

application/json

text/plain

text/plain

text/plain

text/plain

text/plain

curl -X PUT "/api/v1/sessions/string/storage/string/string" \  -H "Content-Type: application/octet-stream" \  -d 'string'
{
  "ok": true,
  "size": 0
}
"Invalid filename."
"Session not found."
"File size or user quota exceeded."
"Write rate limit exceeded."
"Storage backend failure."