getPageContentProperties method
Retrieves Content Properties tied to a specified page.
Permissions required: Permission to view the page.
Implementation
Future<MultiEntityResult<ContentProperty>> getPageContentProperties(
{required int pageId,
String? key,
String? sort,
String? cursor,
int? limit}) async {
return MultiEntityResult.fromJson(
await _client.send(
'get',
'pages/{page-id}/properties',
pathParameters: {
'page-id': '$pageId',
},
queryParameters: {
if (key != null) 'key': key,
if (sort != null) 'sort': sort,
if (cursor != null) 'cursor': cursor,
if (limit != null) 'limit': '$limit',
},
),
reviver: (v) => ContentProperty.fromJson(v as Map<String, Object?>),
);
}