docs/app/entities/follow-accept/page.mdx
2025-05-13 15:04:30 +02:00

42 lines
1.3 KiB
Plaintext

export const metadata = {
title: 'FollowAccept',
description: 'FollowAccept lets users accept follow requests',
}
# FollowAccept
<Note>
Refer to the [Follow](/entities/follow) entity for information on how follow relationships work.
</Note>
## Entity Definition
<Warning>
This entity is a [**Transient Entity**](/entities#transient-entities).
</Warning>
<Row>
<Col>
<Properties name="FollowAccept">
<Property name="author" type="Reference" required={true} typeLink="/types#reference">
[Reference](/types#reference) to the `User` considered the 'followee', i.e. the user who is being followed.
</Property>
<Property name="follower" type="Reference" required={true} typeLink="/types#reference">
[Reference](/types#reference) to the `User` considered the 'follower', i.e. the user who is trying to follow the author.
</Property>
</Properties>
</Col>
<Col sticky>
```jsonc {{ title: 'Example FollowAccept' }}
{
"type": "FollowAccept",
"author": "6e0204a2-746c-4972-8602-c4f37fc63bbe",
"created_at": "2021-01-01T00:00:00.000Z",
"follower": "example.com:02e1e3b2-cb1f-4e4a-b82e-98866bee5de7"
}
```
</Col>
</Row>