diff options
author | lain <lain@soykaf.club> | 2024-03-18 14:26:19 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2024-03-18 14:26:19 +0000 |
commit | 0e4e20315bd8bc743f017db462debfd968066c81 (patch) | |
tree | c24048268c9370fb8b4239e709027749b068a280 /docs/development/API/differences_in_mastoapi_responses.md | |
parent | cf0aa1238ccd137219253d76355f2dc0f89679ac (diff) | |
parent | 60c4cb21ea329e7256297242b05b7f1e9d53e314 (diff) | |
download | pleroma-0e4e20315bd8bc743f017db462debfd968066c81.tar.gz pleroma-0e4e20315bd8bc743f017db462debfd968066c81.zip |
Merge branch 'bookmark-folders' into 'develop'
Bookmark folders
See merge request pleroma/pleroma!4080
Diffstat (limited to 'docs/development/API/differences_in_mastoapi_responses.md')
-rw-r--r-- | docs/development/API/differences_in_mastoapi_responses.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/development/API/differences_in_mastoapi_responses.md b/docs/development/API/differences_in_mastoapi_responses.md index afbe51809..e3b6a3c77 100644 --- a/docs/development/API/differences_in_mastoapi_responses.md +++ b/docs/development/API/differences_in_mastoapi_responses.md @@ -41,6 +41,7 @@ Has these additional fields under the `pleroma` object: - `pinned_at`: a datetime (iso8601) when status was pinned, `null` otherwise. - `quotes_count`: the count of status quotes. - `non_anonymous`: true if the source post specifies the poll results are not anonymous. Currently only implemented by Smithereen. +- `bookmark_folder`: the ID of the folder bookmark is stored within (if any). The `GET /api/v1/statuses/:id/source` endpoint additionally has the following attributes: @@ -66,6 +67,12 @@ Some apps operate under the assumption that no more than 4 attachments can be re Pleroma does not process remote images and therefore cannot include fields such as `meta` and `blurhash`. It does not support focal points or aspect ratios. The frontend is expected to handle it. +## Bookmarks + +The `GET /api/v1/bookmarks` endpoint accepts optional parameter `folder_id` for bookmark folder ID. + +The `POST /api/v1/statuses/:id/bookmark` endpoint accepts optional parameter `folder_id` for bookmark folder ID. + ## Accounts 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. |