This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IContentPresence>()
and is defined in Telligent.Evolution.Platform.dll
Events
Events.AfterCreate
Handler
void EventHandler<ContentPresenceAfterCreateEventArgs>(Object sender, ContentPresenceAfterCreateEventArgs e);
Events.AfterDelete
Handler
void EventHandler<ContentPresenceAfterDeleteEventArgs>(Object sender, ContentPresenceAfterDeleteEventArgs e);
Methods
ContentPresence Create(string contentUrl, Guid oauthClientId, ContentPresenceCreateOptions options = null);
Creates a presence mapping for a user to a piece of content
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentUrl | string | Content url | Required | ||
oauthClientId | Guid | OAuthClientId | Required | ||
options | ContentPresenceCreateOptions | Options include: TypeId | Optional |
Return Type
ContentPresence Create(Guid contentId, Guid contentTypeId, ContentPresenceCreateOptions options = null);
Creates a presence mapping for a user to a piece of content
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required | ||
options | ContentPresenceCreateOptions | Options include: TypeId | Optional |
Return Type
AdditionalInfo Delete(Guid contentId, ContentPresenceDeleteOptions options = null);
Removes a presence mapping for a user to a piece of content
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
options | ContentPresenceDeleteOptions | Options include: TypeId | Optional |
Return Type
AdditionalInfo Delete(string contentUrl, Guid oauthClientId, ContentPresenceDeleteOptions options = null);
Removes a presence mapping for a user to a piece of content
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentUrl | string | Content url | Required | ||
oauthClientId | Guid | OAuthClientId | Required | ||
options | ContentPresenceDeleteOptions | Options include: TypeId | Optional |
Return Type
ContentPresenceSummary GetSummary(Guid contentId, Guid contentTypeId, ContentPresenceSummaryGetOptions options = null);
Gets a presence summary for content
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required | ||
options | ContentPresenceSummaryGetOptions | Options include: TypeId | Optional |
Return Type
ContentPresenceSummary GetSummary(string contentUrl, Guid oauthClientId, ContentPresenceSummaryGetOptions options = null);
Gets a presence summary for content
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentUrl | string | Content url | Required | ||
oauthClientId | Guid | OAuthClientId | Required | ||
options | ContentPresenceSummaryGetOptions | Options include: TypeId | Optional |