aboutsummaryrefslogtreecommitdiff
path: root/docs/Differences-in-MastodonAPI-Responses.md
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-03-11 15:18:32 +0100
committerlain <lain@soykaf.club>2019-03-11 15:18:32 +0100
commit3474066f6dc98003583dcd8537028b515be0e126 (patch)
tree92000dca3b13571cd76aed35534fec6ca48401db /docs/Differences-in-MastodonAPI-Responses.md
parent2c8deecdd2f75c6cdf1089e4266bedb8be55539c (diff)
downloadpleroma-3474066f6dc98003583dcd8537028b515be0e126.tar.gz
MastoAPI Accounts: Add fetching by nickname.
This is to make it easier for the frontends to handle domain.com/users/nickname urls.
Diffstat (limited to 'docs/Differences-in-MastodonAPI-Responses.md')
-rw-r--r--docs/Differences-in-MastodonAPI-Responses.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/Differences-in-MastodonAPI-Responses.md b/docs/Differences-in-MastodonAPI-Responses.md
index 667664f4e..7b11fe90f 100644
--- a/docs/Differences-in-MastodonAPI-Responses.md
+++ b/docs/Differences-in-MastodonAPI-Responses.md
@@ -19,3 +19,7 @@ Adding the parameter `with_muted=true` to the timeline queries will also return
Has these additional fields under the `pleroma` object:
- `local`: true if the post was made on the local instance.
+
+## 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.