taikutaiku
User GuidePluginsAPI Reference
POST/v1/sessions/{session_id}/storage/{plugin_id}/upload

Account-owned route. Requires account authentication via the taiku_session browser cookie, Authorization: Bearer <api_key>, or X-Taiku-Token: <api_key>, and the authenticated account must own the session.

taiku_session<token>

Authenticated browser session cookie for account-owned routes.

In: cookie

Path Parameters

session_id*string

Current session identifier.

plugin_id*string

Plugin identifier.

Request Body

multipart/form-data

Multipart upload body.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

text/plain

text/plain

text/plain

text/plain

text/plain

text/plain

text/plain

curl -X POST "/api/v1/sessions/string/storage/string/upload"
{
  "ok": true,
  "filename": "string",
  "size": 0
}
"Invalid upload request."
"missing authentication"

"Not the session owner"

"Session not found."
"File size or user quota exceeded."
"Rate limit exceeded"
"Storage backend failure."