IRPCApplicationTaskQueue.UpdateTask

View as Markdown

Server integration API / specialized write session

Reports the progress or the final state of a task.

ServiceApplication task queue MFiles.IRPCApplicationTaskQueue
gRPC method/MFiles.IRPCApplicationTaskQueue/UpdateTask
HTTP (mf-http-grpc)POST /grpc/v1/update-task
RequestUpdateTaskRequest
ResponseUpdateTaskResponse
Book and levelServer integration API, specialized
Kindwrite
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: UpdateTaskRequest

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

FieldTypeDescription
task_idstringThe ID of the task.
stateApplicationTaskStateThe new state of the task.Values: APPLICATION_TASK_STATE_WAITING (0), APPLICATION_TASK_STATE_IN_PROGRESS (1), APPLICATION_TASK_STATE_COMPLETED (2), APPLICATION_TASK_STATE_FAILED (3), APPLICATION_TASK_STATE_CANCELED (4), APPLICATION_TASK_STATE_NONE (5).
progressstringFree-form progress information, at most 1,048,575 characters.

Response: UpdateTaskResponse

No fields.