getTaskById method

  1. @deprecated
Future<Task> getTaskById(
  1. String inlineTaskId
)

Deprecated, use Confluence's v2 API.

Returns inline task based on the global ID.

Permissions required: Permission to view the content associated with the task.

Implementation

@deprecated
Future<Task> getTaskById(String inlineTaskId) async {
  return Task.fromJson(await _client.send(
    'get',
    'wiki/rest/api/inlinetasks/{inlineTaskId}',
    pathParameters: {
      'inlineTaskId': inlineTaskId,
    },
  ));
}