getTaskUpdate method

Future<ContentStateBulkSetTaskUpdate> getTaskUpdate(
  1. String taskId
)

Get Status of long running task that was previously created to set or remove content states from content. User must first create a task by passing in details to /wiki/rest/api/content-states PUT or DELETE endpoints.

Permissions required Must have created long running task

Implementation

Future<ContentStateBulkSetTaskUpdate> getTaskUpdate(String taskId) async {
  return ContentStateBulkSetTaskUpdate.fromJson(await _client.send(
    'get',
    'wiki/rest/api/content-states/task/{taskId}',
    pathParameters: {
      'taskId': taskId,
    },
  ));
}