Skip to content

Feature: user configurable mascot

Ref #841 (closed)

Adds pleroma-specific endpoints to set a mascot. Endpoint behaves exactly as POST /api/v1/upload, but will only accept image files.

My thought was to keep the entire mastodon attachment entity as the :mascot field, since it won't change and potentially allows for alt-text descriptions to be added to mascots in the future. The default entity tries to use only the fields specified as non-nullable in the mastodon API docs.

Merge request reports