getContentProperties method

  1. @deprecated
Future<ContentPropertyArray> getContentProperties({
  1. required String id,
  2. List<String>? key,
  3. List<String>? expand,
  4. int? start,
  5. int? limit,
})

Returns the properties for a piece of content. For more information about content properties, see Confluence entity properties.

Permissions required: 'View' permission for the space, and permission to view the content if it is a page.

Implementation

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