pub async fn post_file(
__arg0: State<App>,
tn_id: TnId,
__arg2: Auth,
__arg3: OptionalRequestId,
__arg4: Json<PostFileRequest>,
) -> ClResult<(StatusCode, Json<ApiResponse<Value>>)>Expand description
POST /api/files - File creation for non-blob types (CRDT, RTDB, etc.) Accepts JSON body with metadata: { “fileTp”: “CRDT” | “RTDB” | etc., “createdAt”: optional timestamp, “tags”: optional comma-separated tags }