getContentComments method
Deprecated, use Confluence's v2 API.
Returns the comments on a piece of content.
Permissions required: 'View' permission for the space, and permission to view the content if it is a page.
Implementation
@deprecated
Future<ContentArray> getContentComments(
{required String id,
List<String>? expand,
int? parentVersion,
int? start,
int? limit,
List<String>? location,
String? depth}) async {
return ContentArray.fromJson(await _client.send(
'get',
'wiki/rest/api/content/{id}/child/comment',
pathParameters: {
'id': id,
},
queryParameters: {
if (expand != null) 'expand': expand.map((e) => e).join(','),
if (parentVersion != null) 'parentVersion': '$parentVersion',
if (start != null) 'start': '$start',
if (limit != null) 'limit': '$limit',
if (location != null) 'location': location.map((e) => e).join(','),
if (depth != null) 'depth': depth,
},
));
}