Skip to content

Add Collection methods documentation#1902

Draft
oneiros wants to merge 1 commit into
mainfrom
collections-methods
Draft

Add Collection methods documentation#1902
oneiros wants to merge 1 commit into
mainfrom
collections-methods

Conversation

@oneiros
Copy link
Copy Markdown
Contributor

@oneiros oneiros commented May 18, 2026

Also includes a previously missing entity.

Opening as draft for now as it might not be 100% what we ship yet.

Also includes a previously missing entity.
Comment on lines +75 to +80
### `collection` {#collection}

**Description:** The actual Collection.\
**Type:** [Collection]({{< relref "entities/Collection" >}})\
**Version history:**\
4.6.0 - added
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be collection_item of type CollectionItem?

**Returns:** [WrappedCollection]({{< relref "entities/Collection#WrappedCollection" >}})\
**OAuth:** User token + `write:collections`\
**Version history:**\
4.6.0 - added
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably reference Mastodon API version 10, but we haven't bumped it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants