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