1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00
David Whetstone ce8146cf60
Mark MediaAttachment.preview_url, blurhash as nullable (#1457)
* Mark MediaAttachment.preview_url as nullable

Had a payload in the wild where preview_url was `null` and the method that generates this value can certainly return `nil` if none of its conditions are met: d326ad0ed9/app/serializers/rest/media_attachment_serializer.rb (L30-L38)

Also both TootSDK and IceCubesApp have this property as nullable.

* Mark MediaAttachment.blurhash as nullable

When the attachment has type `audio`, `blurhash` is `null`.
2024-06-19 10:45:48 +02:00
2023-12-11 22:35:01 +00:00
2022-12-21 06:26:37 +01:00
2018-10-21 04:03:53 +02:00

Mastodon

The documentation currently uses Hugo to generate a static site from Markdown. Use hugo serve to test the site locally.

View the live documentation at https://docs.joinmastodon.org

Contributing

Please read the Contributing to Mastodon guide.

Description
Full documentation repository for Mastodon
Readme 71 MiB
Languages
SCSS 56.2%
HTML 43%
JavaScript 0.8%