getCommentContentPropertiesById method

Future<ContentProperty> getCommentContentPropertiesById({
  1. required int commentId,
  2. required int propertyId,
})

Retrieves a specific Content Property by ID that is attached to a specified comment.

Permissions required: Permission to view the comment.

Implementation

Future<ContentProperty> getCommentContentPropertiesById(
    {required int commentId, required int propertyId}) async {
  return ContentProperty.fromJson(await _client.send(
    'get',
    'comments/{comment-id}/properties/{property-id}',
    pathParameters: {
      'comment-id': '$commentId',
      'property-id': '$propertyId',
    },
  ));
}