getPageContentPropertiesById method
Retrieves a specific Content Property by ID that is attached to a specified page.
Permissions required: Permission to view the page.
Implementation
Future<ContentProperty> getPageContentPropertiesById(
{required int pageId,
required int propertyId,
bool? serializeIdsAsStrings}) async {
return ContentProperty.fromJson(await _client.send(
'get',
'pages/{page-id}/properties/{property-id}',
pathParameters: {
'page-id': '$pageId',
'property-id': '$propertyId',
},
queryParameters: {
if (serializeIdsAsStrings != null)
'serialize-ids-as-strings': '$serializeIdsAsStrings',
},
));
}