ManagedContentChannels Class

Get managed content channels. Create, get, update, or delete a managed content channel.

Namespace

ConnectApi

ManagedContentChannels Methods

These methods are for ManagedContentChannels. All methods are static.

deleteManagedContentChannel(channelId)

Delete a managed content channel.

API Version

62.0

Requires Chatter

No

Signature

public static Void deleteManagedContentChannel(String channelId)

Parameters

channelId
Type: String
ID of the managed content channel to delete.

Return Value

Type: Void

getManagedContentChannel(channelId)

Get a managed content channel.

API Version

62.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedContentChannel getManagedContentChannel(String channelId)

Parameters

channelId
Type: String
ID of the managed content channel.

getManagedContentChannels(pageParam, pageSize, showDetails)

Get managed content channels.

API Version

62.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedContentChannelsRepresentation getManagedContentChannels(Integer pageParam, Integer pageSize, Boolean showDetails)

Parameters

pageParam
Type: Integer
Number of the page you want returned. Starts at 0. If you pass in null or 0, the first page is returned.
pageSize
Type: Integer
Specifies the number of items per page. Valid values are from 1 through 250. If you pass in null, the default size is 25.
showDetails
Type: Boolean
Specifies whether to show the channels’ detailed information (true) or summary information only (false). If you pass in null, the default is false.

patchManagedContentChannel(channelId, ManagedContentChannelInput)

Update a managed content channel.

API Version

62.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedContentChannel patchManagedContentChannel(String channelId, ConnectApi.ManagedContentChannelUpdateRepresentation ManagedContentChannelInput)

Parameters

channelId
Type: String
ID of the managed content channel to update.
ManagedContentChannelInput
Type: ConnectApi.ManagedContentChannelUpdateRepresentation
ConnectApi.ManagedContentChannelUpdateRepresentation input class with the updates.

postManagedContentChannel(ManagedContentCreateInputParam)

Create a managed content channel.

API Version

62.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedContentChannel postManagedContentChannel(ConnectApi.ManagedContentChannelCreateRepresentation ManagedContentCreateInputParam)

Parameters

ManagedContentCreateInputParam
Type: ConnectApi.ManagedContentChannelCreateRepresentation
ConnectApi.ManagedContentChannelCreateRepresentation input class describing the managed content channel.