IRPCApplicationTaskQueue.AddTask

View as Markdown

Server integration API / specialized write session

Adds a task to a task queue, ready to be reserved at once.

ServiceApplication task queue MFiles.IRPCApplicationTaskQueue
gRPC method/MFiles.IRPCApplicationTaskQueue/AddTask
HTTP (mf-http-grpc)POST /grpc/v1/add-task
RequestAddTaskRequest
ResponseAddTaskResponse
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: AddTaskRequest

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

FieldTypeDescription
queue_idstringThe ID of the queue.
restore_to_waiting_timeout_in_minutesint32How long the task may stay in progress without an UpdateTask call before it goes back to waiting. 0 or less means 5 minutes.
task_typestringA free-form type name that tells the processor how to read task_data.
task_databytesThe payload of the task.

Response: AddTaskResponse

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 new task, a decimal number as a string.