浏览代码

Update docs to reflect we accept nickname for id for both of these endpoints

tags/v1.1.4
Mark Felder 5 年前
父节点
当前提交
e912f81c82
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      docs/api/differences_in_mastoapi_responses.md

+ 4
- 1
docs/api/differences_in_mastoapi_responses.md 查看文件

@@ -32,7 +32,10 @@ Has these additional fields under the `pleroma` object:

## Accounts

- `/api/v1/accounts/:id`: The `id` parameter can also be the `nickname` of the user. This only works in this endpoint, not the deeper nested ones for following etc.
The `id` parameter can also be the `nickname` of the user. This only works in these endpoints, not the deeper nested ones for following etc.

- `/api/v1/accounts/:id`
- `/api/v1/accounts/:id/statuses`

Has these additional fields under the `pleroma` object:



正在加载...
取消
保存