IRPCObjectOperations.GetTextContentForTemporaryFile
Vault API / core write session or assertion
Gets the plain text content of a file uploaded with UploadTempFile.
| Service | Objects, versions, properties and files MFiles.IRPCObjectOperations |
|---|---|
| gRPC method | /MFiles.IRPCObjectOperations/GetTextContentForTemporaryFile |
| HTTP (mf-http-grpc) | POST /grpc/v1/get-text-content-for-temporary-file |
| Request | GetTextContentForTemporaryFileRequest |
| Response | GetTextContentForTemporaryFileResponse |
| Book and level | Vault API, core |
| Kind | write |
| Session | Required: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata). |
| Idempotent | no |
| Returns metadata structure version | no |
| Streaming | none (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.
| Field | Type | Description |
|---|---|---|
upload_session_id | int32 | The 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.
| Field | Type | Description |
|---|---|---|
text_content | string | Plaintext content. |
Related methods
- UploadTempFileCommit -- Completes an upload made with UploadTempFile.