app-operations_manager

On this page:

getTask

Summary

Get a task by ID

Description

Get a task by ID. Include or exclude fields with the 'include' and 'exclude' parameters. Dereference foreign references with the 'dereference' parameter.

Route

GET /operations-manager/tasks/:id

Roles

admin engineering apiread operations

Parameters

DetailsExampleSchema
Name Type Required Description
id string yes ObjectId specifying a task.
queryParameters object yes Optional parameters for projecting fields in the task document.

Return

DetailsExampleSchema
Name Type Description
task object Job document