social.coves.feed.defs

Repository @coves.social did:web:coves.social namespace authority
Details · defs
Kinddefs
Authorityfeed.coves.social
Commit rev3n2v225fk4c26
Indexed

#clickthroughAuthor

token

User opened the item's author

#clickthroughEmbed

token

User opened the item's embed

#clickthroughItem

token

User opened the item

#clickthroughReposter

token

User opened the account that reposted the item

#feedViewPost

object

A post with optional context about why it appears in a feed

Properties

Opaque context from the feed generator for this item. Clients pass it back unchanged with interactions.

  • maxLength: 2000

post

requiredref

reason

union

Additional context for why this post is in the feed

Reference

#generatorView

object

A feed generator as shown in feed pickers

Properties

Whether the generator accepts interaction events through social.coves.feed.sendInteractions

avatar

string · uri

URL of the feed's avatar image

cid

string · cid

CID of the generator record

What the feed shows

did

requiredstring · did

DID of the service that serves the feed

displayName

requiredstring

Name shown in feed pickers

indexedAt

string · datetime

When the AppView indexed the generator record

kind

requiredstring

Whether the generator orders posts or comments

  • knownValues: posts | comments

scopes

requiredarray

Where the feed can be used

itemsref
Reference

uri

requiredstring · at-uri

AT-URI of the social.coves.feed.generator record

#interaction

object

One interaction event a client reports to a feed generator

Properties

event

string

The kind of interaction

  • maxLength: 128
  • knownValues: social.coves.feed.defs#requestLess | social.coves.feed.defs#requestMore | social.coves.feed.defs#clickthroughItem | social.coves.feed.defs#clickthroughAuthor | social.coves.feed.defs#clickthroughReposter | social.coves.feed.defs#clickthroughEmbed | social.coves.feed.defs#interactionSeen | social.coves.feed.defs#interactionLike | social.coves.feed.defs#interactionRepost | social.coves.feed.defs#interactionReply | social.coves.feed.defs#interactionQuote | social.coves.feed.defs#interactionShare

The feedContext the generator attached to the item, passed back unchanged

  • maxLength: 2000

item

string · at-uri

AT-URI of the post or comment the event is about

reqId

string

The reqId of the feed response the item came from

  • maxLength: 100

#interactionLike

token

User upvoted the item

#interactionQuote

token

User quoted the item

#interactionReply

token

User replied to the item

#interactionRepost

token

User reposted the item

#interactionSeen

token

The item was shown to the user

#interactionShare

token

User shared the item

#postRef

object

Minimal reference to a post

Properties

cid

requiredstring · cid

uri

requiredstring · at-uri

#reasonPin

object

Indicates this post is pinned in a community

#reasonRepost

object

Indicates this post was reposted

Properties

indexedAt

requiredstring · datetime

#replyRef

object

Reference to parent and root posts in a reply thread

Properties

parent

requiredref
Reference

root

requiredref
Reference

#requestLess

token

User asked to see fewer items like this one

#requestMore

token

User asked to see more items like this one

#scope

string

Where a feed generator can be used: the all-communities feed, the home feed, a community feed, or a comment thread.

  • maxLength: 64
  • knownValues: all | home | community | thread

#skeletonComment

object

One comment in a comment skeleton returned by a feed generator

Properties

comment

requiredstring · at-uri

AT-URI of the comment

Opaque context the generator attaches to this item.

  • maxLength: 2000

#skeletonFeedPost

object

One post in a feed skeleton returned by a feed generator

Properties

Opaque context the generator attaches to this item; the AppView passes it through to the client unchanged.

  • maxLength: 2000

post

requiredstring · at-uri

AT-URI of the post

#skeletonReplies

object

The ordered direct replies a feed generator returns for one parent post or comment

Properties

comments

requiredarray

Direct replies to the parent, in the generator's order

itemsref
Reference

cursor

string

Cursor for the next page of replies to this parent

  • maxLength: 500

parent

requiredstring · at-uri

AT-URI of the parent post or comment

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.