getCustomContentContentProperties method
Retrieves Content Properties tied to a specified custom content.
Permissions required: Permission to view the custom content.
Implementation
Future<MultiEntityResult<ContentProperty>> getCustomContentContentProperties(
{required int customContentId,
String? key,
String? sort,
String? cursor,
int? limit}) async {
return MultiEntityResult.fromJson(
await _client.send(
'get',
'custom-content/{custom-content-id}/properties',
pathParameters: {
'custom-content-id': '$customContentId',
},
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?>),
);
}