ManagedContentSpaces Class
Namespace
ManagedContentSpaces Methods
getManagedContentSpace(contentSpaceId)
API Version
64.0
Requires Chatter
No
Signature
public static ConnectApi.ManagedContentSpace getManagedContentSpace(String contentSpaceId)
Parameters
- contentSpaceId
- Type: String
- ID of the managed content space.
Return Value
getManagedContentSpaceChannels(contentSpaceId, pageParam, pageSize)
API Version
62.0
Requires Chatter
No
Signature
public static ConnectApi.ManagedContentSpaceChannelsRepresentation getManagedContentSpaceChannels(String contentSpaceId, Integer pageParam, Integer pageSize)
Parameters
- contentSpaceId
- Type: String
- ID of the managed content space.
- 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
- Number of items per page. Valid values are from 1 through 250. If you pass in null, the default size is 25. Items are sorted by the last modified date.
Return Value
getManagedContentSpaces(pageParam, pageSize, nameFragment)
API Version
64.0
Requires Chatter
No
Signature
public static ConnectApi.ManagedContentSpaceCollectionRepresentation getManagedContentSpaces(Integer pageParam, Integer pageSize, String nameFragment)
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.
- nameFragment
- Type: String
- Name fragment to filter spaces that contain the value in the workspace name.
Return Value
Type: ConnectApi.ManagedContentSpaceCollectionRepresentation
patchManagedContentSpace(contentSpaceId, ManagedContentSpaceUpdateInput)
API Version
64.0
Requires Chatter
No
Signature
public static ConnectApi.ManagedContentSpace patchManagedContentSpace(String contentSpaceId, ConnectApi.ManagedContentSpaceUpdateInput ManagedContentSpaceUpdateInput)
Parameters
- contentSpaceId
- Type: String
- ID of the managed content space.
- ManagedContentSpaceUpdateInput
- Type: ConnectApi.ManagedContentSpaceUpdateInput
- ConnectApi.ManagedContentSpaceUpdateInput class with the updated name or description.
Return Value
patchManagedContentSpaceChannels(contentSpaceId, spaceChannels)
API Version
62.0
Requires Chatter
No
Signature
public static ConnectApi.ManagedContentSpaceChannelsRepresentation patchManagedContentSpaceChannels(String contentSpaceId, ConnectApi.ManagedContentSpaceChannelsInputRepresentation spaceChannels)
Parameters
- contentSpaceId
- Type: String
- ID of the managed content space.
- spaceChannels
- Type: ConnectApi.ManagedContentSpaceChannelsInputRepresentation
- ConnectApi.ManagedContentSpaceChannelsInputRepresentation input class with the channels to add or remove from the managed content space.
Return Value
postManagedContentSpace(ManagedContentSpaceInput)
API Version
64.0
Requires Chatter
No
Signature
public static ConnectApi.ManagedContentSpace postManagedContentSpace(ConnectApi.ManagedContentSpaceInput ManagedContentSpaceInput)
Parameters
- ManagedContentSpaceInput
- Type: ConnectApi.ManagedContentSpaceInput
- ConnectApi.ManagedContentSpaceInput class describing the space to create.