getContentForSpace method
Deprecated, use Confluence's v2 API.
Returns all content in a space. The returned content is grouped by type (pages then blogposts), then ordered by content ID in ascending order.
Permissions required: 'View' permission for the space. Note, the returned list will only contain content that the current user has permission to view.
Implementation
@deprecated
Future<Map<String, dynamic>> getContentForSpace(
{required String spaceKey,
String? depth,
List<String>? expand,
int? start,
int? limit}) async {
return await _client.send(
'get',
'wiki/rest/api/space/{spaceKey}/content',
pathParameters: {
'spaceKey': spaceKey,
},
queryParameters: {
if (depth != null) 'depth': depth,
if (expand != null) 'expand': expand.map((e) => e).join(','),
if (start != null) 'start': '$start',
if (limit != null) 'limit': '$limit',
},
) as Map<String, Object?>;
}