GetAtmosphereTimelineV2ActivityItem

data class GetAtmosphereTimelineV2ActivityItem(val ref: StrongRef, val collection: Nsid, val indexedAt: Timestamp, val actor: Did, val subject: GetAtmosphereTimelineV2ActivitySubject, val relatedActivity: List<GetAtmosphereTimelineV2ActivityItemRelatedActivity>? = null)

A single activity with its hydrated subject. An activity that creates content, such as publishing an article, is always a standalone item when other activities on the same page target that content; those activities are attached as relatedActivity. Activities whose subject is unavailable to the viewer are omitted from the timeline.

Parameters

collection

The collection of the activity record. Ex: site.standard.graph.recommend.

indexedAt

When the activity was indexed. Determines the item's position in the feed, even when relatedActivity contains newer activities.

relatedActivity

All available activities on the same page that target content created by this activity, newest first. Ex: recommendations of a newly published article. Only present on activities that create content. Activities targeting content created on an earlier page appear as their own feed entries instead.

Constructors

Link copied to clipboard
constructor(ref: StrongRef, collection: Nsid, indexedAt: Timestamp, actor: Did, subject: GetAtmosphereTimelineV2ActivitySubject, relatedActivity: List<GetAtmosphereTimelineV2ActivityItemRelatedActivity>? = null)

Properties

Link copied to clipboard
val actor: Did
Link copied to clipboard

The collection of the activity record. Ex: site.standard.graph.recommend.

Link copied to clipboard

When the activity was indexed. Determines the item's position in the feed, even when relatedActivity contains newer activities.

Link copied to clipboard
Link copied to clipboard

All available activities on the same page that target content created by this activity, newest first. Ex: recommendations of a newly published article. Only present on activities that create content. Activities targeting content created on an earlier page appear as their own feed entries instead.