Table of Contents

Class APActorEntity

Namespace
ActivityPub.Types.AS
Assembly
ActivityPub.Types.dll

An object that implements the required properties of an ActivityPub Actor.

public sealed class APActorEntity : ASEntity<APActor, APActorEntity>
Inheritance
APActorEntity
Inherited Members

Remarks

This is a synthetic class included for utility. It does not exist in the ActivityStreams or ActivityPub standards.

Properties

Endpoints

A json object which maps additional (typically server/domain-wide) endpoints which may be useful either for this actor or someone referencing this actor. This mapping may be nested inside the actor document as the value or may be a link to a JSON-LD document with these properties.

[JsonPropertyName("endpoints")]
public Linkable<APActorEndpoints>? Endpoints { get; set; }

Property Value

Linkable<APActorEndpoints>

Remarks

This should technically be a Linkable{ActorEndpoints}, but ActorEndpoints does not extend ASType

Followers

A reference to an ActivityStreams collection of the actors that follow this actor. This is a list of everyone who has sent a Follow activity for the actor, added as a side effect.

[JsonPropertyName("followers")]
public ASLink? Followers { get; set; }

Property Value

ASLink
See Also

Following

A reference to an ActivityStreams collection of the actors that this actor is following. This is a list of everybody that the actor has followed, added as a side effect.

[JsonPropertyName("following")]
public ASLink? Following { get; set; }

Property Value

ASLink
See Also

Inbox

A reference to an ActivityStreams OrderedCollection comprised of all the messages received by the actor. The inbox stream contains all activities received by the actor.

[JsonPropertyName("inbox")]
public ASLink? Inbox { get; set; }

Property Value

ASLink
See Also

Liked

A reference to an ActivityStreams collection of objects this actor has liked. This is a list of every object from all of the actor's Like activities, added as a side effect.

[JsonPropertyName("liked")]
public ASLink? Liked { get; set; }

Property Value

ASLink
See Also

Outbox

A reference to an ActivityStreams OrderedCollection comprised of all the messages produced by the actor. The outbox stream contains activities the user has published, subject to the ability of the requester to retrieve the activity.

[JsonPropertyName("outbox")]
public ASLink? Outbox { get; set; }

Property Value

ASLink
See Also

PreferredUsername

A short username which may be used to refer to the actor, with no uniqueness guarantees.

[JsonPropertyName("preferredUsername")]
public NaturalLanguageString? PreferredUsername { get; set; }

Property Value

NaturalLanguageString

Streams

A list of supplementary Collections which may be of interest.

[JsonPropertyName("streams")]
public ASType? Streams { get; set; }

Property Value

ASType

Remarks

Not sure what type this is. Maybe a link to a collection?

See Also