瀏覽代碼

MastoAPI differences: Document not implemented features

merge-requests/2720/head
Alex Gleason 4 年之前
父節點
當前提交
28d4e60f66
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 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

Loading…
取消
儲存