fix: 🐛 Fix outdated Collection example
Some checks failed
Check Types / tests (push) Failing after 0s
CodeQL / Analyze (javascript) (push) Failing after 0s
Lint & Format / tests (push) Failing after 0s
Mirror to Codeberg / Mirror (push) Failing after 0s

This commit is contained in:
Jesse Wierzbinski 2026-02-25 02:17:21 +01:00
parent 2f0e447f78
commit 46ebbc866e
No known key found for this signature in database

View file

@ -32,19 +32,14 @@ Collections are a way to represent paginated groups of entities. They are used e
```jsonc {{ 'title': 'Example Collection' }} ```jsonc {{ 'title': 'Example Collection' }}
{ {
"author": "https://versia.social/users/018ec082-0ae1-761c-b2c5-22275a611771", "author": "018ec082-0ae1-761c-b2c5-22275a611771",
"total": 46, "total": 46,
"items": [ "items": [
{ {
"id": "456df8ed-daf1-4062-abab-491071c7b8dd", "id": "456df8ed-daf1-4062-abab-491071c7b8dd",
"type": "Note", "type": "Note",
"uri": "https://versia.social/notes/456df8ed-daf1-4062-abab-491071c7b8dd",
"created_at": "2024-04-09T01:38:51.743Z", "created_at": "2024-04-09T01:38:51.743Z",
... ...
"collections": {
"replies": "https://versia.social/notes/456df8ed-daf1-4062-abab-491071c7b8dd/replies",
"quotes": "https://versia.social/notes/456df8ed-daf1-4062-abab-491071c7b8dd/quotes"
},
"content": { "content": {
"text/plain": { "text/plain": {
"content": "Hello, world!" "content": "Hello, world!"