Переглянути джерело

MastoAPI differences: Document not implemented features

merge-requests/2720/head
Alex Gleason 4 роки тому
джерело
коміт
28d4e60f66
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: 7211D1F99744FBB7
1 змінених файлів з 40 додано та 0 видалено
  1. +40
    -0
      docs/API/differences_in_mastoapi_responses.md

+ 40
- 0
docs/API/differences_in_mastoapi_responses.md Переглянути файл

@@ -234,3 +234,43 @@ Has these additional fields under the `pleroma` object:
## Streaming

There is an additional `user:pleroma_chat` stream. Incoming chat messages will make the current chat be sent to this `user` stream. The `event` of an incoming chat message is `pleroma:chat_update`. The payload is the updated chat with the incoming chat message in the `last_message` field.

## Not implemented

Pleroma is generally compatible with the Mastodon 2.7.2 API, but some newer features and non-essential features are omitted. These features usually return an HTTP 200 status code, but with an empty response. While they may be added in the future, they are considered low priority.

### Suggestions

*Added in Mastodon 2.4.3*

- `GET /api/v1/suggestions`: Returns an empty array, `[]`

### Trends

*Added in Mastodon 3.0.0*

- `GET /api/v1/trends`: Returns an empty array, `[]`

### Identity proofs

*Added in Mastodon 2.8.0*

- `GET /api/v1/identity_proofs`: Returns an empty array, `[]`

### Endorsements

*Added in Mastodon 2.5.0*

- `GET /api/v1/endorsements`: Returns an empty array, `[]`

### Profile directory

*Added in Mastodon 3.0.0*

- `GET /api/v1/directory`: Returns HTTP 404

### Featured tags

*Added in Mastodon 3.0.0*

- `GET /api/v1/featured_tags`: Returns HTTP 404

Завантаження…
Відмінити
Зберегти