mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 10:59:16 +01:00
feat: ✨ Add collections field to Notes
This commit is contained in:
parent
b59b6b8ebb
commit
e97b86f983
9 changed files with 95 additions and 38 deletions
|
|
@ -46,6 +46,23 @@ When a user shares a note, the note's original author **must** receive the entit
|
|||
</Col>
|
||||
</Row>
|
||||
|
||||
## Note Collections
|
||||
|
||||
The Share extension adds the following collections to the [Note](/entities/note) entity:
|
||||
|
||||
- `shares`: A [URI Collection](/structures/collection#uri-collection) of all the shares of the note.
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"type": "Note",
|
||||
...
|
||||
"collections": {
|
||||
...
|
||||
"pub.versia:share/Shares": "https://example.com/notes/fmKZ763jzIU8/shares"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Interaction Types
|
||||
|
||||
<Note>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue