expires_in in scheduled status params

This commit is contained in:
Alexander Strizhakov 2021-02-11 13:01:48 +03:00
commit 1e6c27181e
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
6 changed files with 40 additions and 4 deletions

View file

@ -39,6 +39,12 @@ Has these additional fields under the `pleroma` object:
- `emoji_reactions`: A list with emoji / reaction maps. The format is `{name: "☕", count: 1, me: true}`. Contains no information about the reacting users, for that use the `/statuses/:id/reactions` endpoint.
- `parent_visible`: If the parent of this post is visible to the user or not.
## Scheduled statuses
Has these additional fields in `params`:
- `expires_in`: the number of seconds the posted activity should expire in.
## Media Attachments
Has these additional fields under the `pleroma` object: