瀏覽代碼

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:



Loading…
取消
儲存