IRPCObjectOperations.GetTextContentForTemporaryFile

View as Markdown

Vault API / core write session or assertion

Gets the plain text content of a file uploaded with UploadTempFile.

ServiceObjects, versions, properties and files MFiles.IRPCObjectOperations
gRPC method/MFiles.IRPCObjectOperations/GetTextContentForTemporaryFile
HTTP (mf-http-grpc)POST /grpc/v1/get-text-content-for-temporary-file
RequestGetTextContentForTemporaryFileRequest
ResponseGetTextContentForTemporaryFileResponse
Book and levelVault API, core
Kindwrite
SessionRequired: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

The upload must be committed with UploadTempFileCommit first, and it must belong to the calling login session.

Request: GetTextContentForTemporaryFileRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
upload_session_idint32The upload_id from UploadTempFile.

Response: GetTextContentForTemporaryFileResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
text_contentstringPlaintext content.