pl-api: Update Mastodon API basing on mastodon/documentation
Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -585,6 +585,11 @@ const getFeatures = (instance: Instance) => {
|
||||
*/
|
||||
deleteAccountWithoutPassword: v.software === MITRA && gte(v.version, '2.14.0'),
|
||||
|
||||
/**
|
||||
* @see DELETE /api/v1/media/:id
|
||||
*/
|
||||
deleteMedia: instance.api_versions.mastodon >= 4,
|
||||
|
||||
/**
|
||||
* Allow to register on a given domain
|
||||
* @see GET /api/v1/pleroma/admin/domains
|
||||
|
||||
Reference in New Issue
Block a user