Skip to content

ActivityStreams Vocabulary Links

Provides classes representing ActivityStreams Vocabulary Link objects.

Bases: as_Base

A Link is an indirect, qualified reference to a resource identified by a URL. The fundamental model for links is established by [RFC5988]. Many of the properties defined by the Activity Vocabulary allow values that are either instances of Object or a Link. When a Link is used, it establishes a qualified relation connecting the subject to the resource identified by the href property. Properties of the Link are properties of the reference as opposed to properties of the resource. Links are disjoint from the Object type. See definition in ActivityStreams Vocabulary https://www.w3.org/TR/activitystreams-vocabulary/#dfn-link

as_Mention

Bases: as_Link

A specialized Link that represents an @mention (AS2 Vocabulary 3.2).

A Link subtype, so a received one keeps its href and needs no id. See definition in ActivityStreams Vocabulary https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mention