app-configuration_manager

On this page:

createTaskInstance

Summary

Create a task instance.

Description

Create an instance of a task and save it to the database.

Route

POST /configuration_manager/tasks/instance

Roles

admin apiwrite

Parameters

DetailsExampleSchema
Name Type Required Description
instanceName string yes Name of the task instance.
origin string yes Which adapter origin the task comes from.
taskName string yes Name of the task/method.
treeId string yes ID of the tree which the task instance belongs to.
taskParams object yes The parameters to be passed into the task/method call.
options object yes Additional options.

Return

DetailsExampleSchema
Name Type Description
response object Response of whether the insertion operation failed or succeeded.