FileService gRPC API

FileService provides file access for gRPC plugins. Plugins use this to read files stored on the core server's filesystem.

Proto file: plugin/grpc/protocol/fileservice.proto

Service Methods

MethodRequestResponseStreaming
ReadFileBase64ReadFileRequestReadFileResponseNo

ReadFileBase64

ReadFileBase64 reads a stored file and returns its MIME type and base64-encoded content.


Message Types

ReadFileRequest

FieldTypeDescription
auth_tokenstring-
file_idstring-

ReadFileResponse

FieldTypeDescription
successbool-
errorstring-
mime_typestring-
base64_datastring-

← Back to API Index