getSpaceProperties method

  1. @deprecated
Future<SpacePropertyArray> getSpaceProperties({
  1. required String spaceKey,
  2. List<String>? expand,
  3. int? start,
  4. int? limit,
})

Deprecated, use Confluence's v2 API.

Returns all properties for the given space. Space properties are a key-value storage associated with a space.

Permissions required: ‘View’ permission for the space.

Implementation

@deprecated
Future<SpacePropertyArray> getSpaceProperties(
    {required String spaceKey,
    List<String>? expand,
    int? start,
    int? limit}) async {
  return SpacePropertyArray.fromJson(await _client.send(
    'get',
    'wiki/rest/api/space/{spaceKey}/property',
    pathParameters: {
      'spaceKey': spaceKey,
    },
    queryParameters: {
      if (expand != null) 'expand': expand.map((e) => e).join(','),
      if (start != null) 'start': '$start',
      if (limit != null) 'limit': '$limit',
    },
  ));
}