IActivityClient.ListContent

ListContent(string)

This operation lists the content currently available for retrieval for the specified content type. The content is an aggregation of actions and events harvested from multiple servers across multiple datacenters. The content will be listed in the order in which the aggregations become available, but the events and actions within the aggregations are not guaranteed to be sequential. By default, when startTime and endTime are omitted, then the content available in the last 24 hours is returned.

public ContentInfo[] ListContent(string contentType)
ParameterTypeDescription
contentTypeStringIndicates the content type.

Return Value

List of available information about activity

See Also


ListContent(string, DateTime?, DateTime?)

This operation lists the content currently available for retrieval for the specified content type. The content is an aggregation of actions and events harvested from multiple servers across multiple datacenters. The content will be listed in the order in which the aggregations become available, but the events and actions within the aggregations are not guaranteed to be sequential.

public ContentInfo[] ListContent(string contentType, DateTime? startTime, DateTime? endTime)
ParameterTypeDescription
contentTypeStringIndicates the content type.
startTimeNullable`1Optional datetimes (UTC) indicating the time range of content to return, based on when the content became available. The time range is inclusive with respect to startTime (startTime less or equal contentCreated), so that non-overlapping, incrementing time intervals can used to page through available content. Both (startTime and endTime) must be specified (or both omitted). Time range must be no more than 24 hours apart, with the start time no more than 7 days in the past.
endTimeNullable`1Optional datetimes (UTC) indicating the time range of content to return, based on when the content became available. The time range is exclusive with respect to endTime (contentCreated less endTime), so that non-overlapping, incrementing time intervals can used to page through available content. Both (startTime and endTime) must be specified (or both omitted) Time range must be no more than 24 hours apart, with the start time no more than 7 days in the past.

Return Value

List of available information about activity

See Also