IRPCApplicationTaskQueue.GetTaskIdentifiersFromQueue

View as Markdown

Server integration API / specialized write session

Gets the IDs of the tasks of a queue that are in the given states.

ServiceApplication task queue MFiles.IRPCApplicationTaskQueue
gRPC method/MFiles.IRPCApplicationTaskQueue/GetTaskIdentifiersFromQueue
HTTP (mf-http-grpc)POST /grpc/v1/get-task-identifiers-from-queue
RequestGetTaskIdentifiersFromQueueRequest
ResponseGetTaskIdentifiersFromQueueResponse
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: GetTaskIdentifiersFromQueueRequest

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.
included_statesstringThe states to include, as a comma-separated list of ApplicationTaskState numbers, for example 0,1 for waiting and in progress. Must not be empty and must not repeat a state; otherwise the call fails with "The parameter is incorrect.".

Response: GetTaskIdentifiersFromQueueResponse

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

FieldTypeDescription
task_id_collection[]repeated stringThe IDs of the matching tasks.