getCustomContentContentPropertiesById method

Future<ContentProperty> getCustomContentContentPropertiesById({
  1. required int customContentId,
  2. required int propertyId,
})

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

Permissions required: Permission to view the page.

Implementation

Future<ContentProperty> getCustomContentContentPropertiesById(
    {required int customContentId, required int propertyId}) async {
  return ContentProperty.fromJson(await _client.send(
    'get',
    'custom-content/{custom-content-id}/properties/{property-id}',
    pathParameters: {
      'custom-content-id': '$customContentId',
      'property-id': '$propertyId',
    },
  ));
}