mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Add keeping up with deprecations to API user guidelines (#1625)
See https://github.com/mastodon/mastodon/pull/34262#event-16973822851
This commit is contained in:
parent
a0310e97ad
commit
937c2b3918
@ -78,6 +78,12 @@ In this case, you may retrieve the `Link` header and parse it for links to the o
|
||||
|
||||
Following the `next` link should show you older results. Following the `prev` link should show you newer results.
|
||||
|
||||
## Deprecations {#deprecations}
|
||||
|
||||
Mastodon rarely removes APIs, but that can still happen from time to time. Therefore, it is recommended to keep up with Mastodon releases and keep an eye out for deprecated APIs.
|
||||
|
||||
Furthermore, to help implementers with spotting use of deprecated APIs, Mastodon 4.4.0 makes use of the `Deprecation` header defined in [RFC9745](https://datatracker.ietf.org/doc/html/rfc9745). It is recommended that library and application developers look for this header and display warnings in their development environments so they can spot these deprecated APIs before they get retired.
|
||||
|
||||
## Formatting {#formatting}
|
||||
|
||||
Plain text is not available for content from remote servers, and plain text syntax rules may vary wildly between Mastodon and other fediverse applications. For certain attributes, such as the content of statuses, **Mastodon provides sanitized HTML**. See [HTML Sanitization]({{< relref "spec/activitypub#sanitization" >}}) for more details. You may expect these tags to appear in the content:
|
||||
|
Loading…
x
Reference in New Issue
Block a user